Guitarix
racktuner.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GXWMM_RACKTUNER_H
4 #define _GXWMM_RACKTUNER_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /*
11  * Copyright (C) 2009, 2010 Hermann Meyer, James Warden, Andreas Degert
12  *
13  * This program is free software; you can redistribute it and/or modify
14  * it under the terms of the GNU General Public License as published by
15  * the Free Software Foundation; either version 2 of the License, or
16  * (at your option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with this program; if not, write to the Free Software
25  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26  */
27 
28 #include <gxwmm/tuner.h>
29 
30 
31 #ifndef DOXYGEN_SHOULD_SKIP_THIS
32 typedef struct _GxRackTuner GxRackTuner;
33 typedef struct _GxRackTunerClass GxRackTunerClass;
34 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
35 
36 
37 namespace Gxw
38 { class RackTuner_Class; } // namespace Gxw
39 namespace Gxw {
40 
41 
42 class RackTuner: public Gxw::Tuner {
43  public:
44 #ifndef DOXYGEN_SHOULD_SKIP_THIS
49 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
50 
51  virtual ~RackTuner();
52 
53 #ifndef DOXYGEN_SHOULD_SKIP_THIS
54 
55 private:
56  friend class RackTuner_Class;
57  static CppClassType racktuner_class_;
58 
59  // noncopyable
60  RackTuner(const RackTuner&);
61  RackTuner& operator=(const RackTuner&);
62 
63 protected:
64  explicit RackTuner(const Glib::ConstructParams& construct_params);
65  explicit RackTuner(GxRackTuner* castitem);
66 
67 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
68 
69 public:
70 #ifndef DOXYGEN_SHOULD_SKIP_THIS
71  static GType get_type() G_GNUC_CONST;
72 
73 
74  static GType get_base_type() G_GNUC_CONST;
75 #endif
76 
78  GxRackTuner* gobj() { return reinterpret_cast<GxRackTuner*>(gobject_); }
79 
81  const GxRackTuner* gobj() const { return reinterpret_cast<GxRackTuner*>(gobject_); }
82 
83 
84 public:
85  //C++ methods used to invoke GTK+ virtual functions:
86 
87 protected:
88  //GTK+ Virtual Functions (override these to change behaviour):
89 
90  //Default Signal Handlers::
92  virtual void on_frequency_poll();
94  virtual void on_poll_status_changed(bool p1);
95 
96 
97 private:
98 
99  public:
100  RackTuner();
101 
102  bool get_poll_status();
103 
104  void set_freq(double p1);
105 
106  void set_scale_lim(double p1);
107 
108  double get_scale_lim();
109 
110  void set_speed(double p1);
111 
112  double get_speed();
113 
114  void set_streaming(bool p1);
115 
116  bool get_streaming();
117 
118  void set_display_flat(bool p1);
119 
120  bool get_display_flat();
121 
122  void set_timestep(int p1);
123 
124  int get_timestep();
125 
126  void set_limit_timestep(int p1);
127 
128  int get_limit_timestep();
129 
130  void set_temperament(int p1);
131 
132  int get_temperament();
133 
134  void clear_notes();
135 
136  void push_note(int p1, int p2, int p3);
137 
144  Glib::SignalProxy0< void > signal_frequency_poll();
145 
146 
153  Glib::SignalProxy1< void,bool > signal_poll_status_changed();
154 
155  #ifdef GLIBMM_PROPERTIES_ENABLED
156 
162  Glib::PropertyProxy< double > property_freq() ;
163 #endif //#GLIBMM_PROPERTIES_ENABLED
164 
165 #ifdef GLIBMM_PROPERTIES_ENABLED
166 
172  Glib::PropertyProxy_ReadOnly< double > property_freq() const;
173 #endif //#GLIBMM_PROPERTIES_ENABLED
174 
175  #ifdef GLIBMM_PROPERTIES_ENABLED
176 
182  Glib::PropertyProxy< double > property_scale_lim() ;
183 #endif //#GLIBMM_PROPERTIES_ENABLED
184 
185 #ifdef GLIBMM_PROPERTIES_ENABLED
186 
192  Glib::PropertyProxy_ReadOnly< double > property_scale_lim() const;
193 #endif //#GLIBMM_PROPERTIES_ENABLED
194 
195  #ifdef GLIBMM_PROPERTIES_ENABLED
196 
202  Glib::PropertyProxy< double > property_speed() ;
203 #endif //#GLIBMM_PROPERTIES_ENABLED
204 
205 #ifdef GLIBMM_PROPERTIES_ENABLED
206 
212  Glib::PropertyProxy_ReadOnly< double > property_speed() const;
213 #endif //#GLIBMM_PROPERTIES_ENABLED
214 
215  #ifdef GLIBMM_PROPERTIES_ENABLED
216 
222  Glib::PropertyProxy< bool > property_display_flat() ;
223 #endif //#GLIBMM_PROPERTIES_ENABLED
224 
225 #ifdef GLIBMM_PROPERTIES_ENABLED
226 
232  Glib::PropertyProxy_ReadOnly< bool > property_display_flat() const;
233 #endif //#GLIBMM_PROPERTIES_ENABLED
234 
235  #ifdef GLIBMM_PROPERTIES_ENABLED
236 
242  Glib::PropertyProxy< bool > property_streaming() ;
243 #endif //#GLIBMM_PROPERTIES_ENABLED
244 
245 #ifdef GLIBMM_PROPERTIES_ENABLED
246 
252  Glib::PropertyProxy_ReadOnly< bool > property_streaming() const;
253 #endif //#GLIBMM_PROPERTIES_ENABLED
254 
255  #ifdef GLIBMM_PROPERTIES_ENABLED
256 
262  Glib::PropertyProxy< int > property_timestep() ;
263 #endif //#GLIBMM_PROPERTIES_ENABLED
264 
265 #ifdef GLIBMM_PROPERTIES_ENABLED
266 
272  Glib::PropertyProxy_ReadOnly< int > property_timestep() const;
273 #endif //#GLIBMM_PROPERTIES_ENABLED
274 
275  #ifdef GLIBMM_PROPERTIES_ENABLED
276 
282  Glib::PropertyProxy< int > property_limit_timestep() ;
283 #endif //#GLIBMM_PROPERTIES_ENABLED
284 
285 #ifdef GLIBMM_PROPERTIES_ENABLED
286 
292  Glib::PropertyProxy_ReadOnly< int > property_limit_timestep() const;
293 #endif //#GLIBMM_PROPERTIES_ENABLED
294 
295  #ifdef GLIBMM_PROPERTIES_ENABLED
296 
302  Glib::PropertyProxy< int > property_temperament() ;
303 #endif //#GLIBMM_PROPERTIES_ENABLED
304 
305 #ifdef GLIBMM_PROPERTIES_ENABLED
306 
312  Glib::PropertyProxy_ReadOnly< int > property_temperament() const;
313 #endif //#GLIBMM_PROPERTIES_ENABLED
314 
315 };
316 
317 } // namespace Gxw
318 
319 
320 namespace Glib
321 {
330  Gxw::RackTuner* wrap(GxRackTuner* object, bool take_copy = false);
331 } //namespace Glib
332 
333 
334 #endif /* _GXWMM_RACKTUNER_H */
335 
int get_temperament()
Definition: racktuner.cc:335
void set_streaming(bool p1)
Definition: racktuner.cc:290
void set_display_flat(bool p1)
Definition: racktuner.cc:300
RackTuner_Class CppClassType
Definition: racktuner.h:46
void set_temperament(int p1)
Definition: racktuner.cc:330
void set_scale_lim(double p1)
Definition: racktuner.cc:270
void set_speed(double p1)
Definition: racktuner.cc:280
bool get_poll_status()
Definition: racktuner.cc:260
int get_limit_timestep()
Definition: racktuner.cc:325
void set_freq(double p1)
Definition: racktuner.cc:265
int get_timestep()
Definition: racktuner.cc:315
double get_scale_lim()
Definition: racktuner.cc:275
struct _GxRackTunerClass GxRackTunerClass
Definition: racktuner.h:33
Glib::SignalProxy1< void, bool > signal_poll_status_changed()
Definition: racktuner.cc:357
bool get_streaming()
Definition: racktuner.cc:295
Glib::SignalProxy0< void > signal_frequency_poll()
Definition: racktuner.cc:351
RackTuner CppObjectType
Definition: racktuner.h:45
void clear_notes()
Definition: racktuner.cc:340
const GxRackTuner * gobj() const
Provides access to the underlying C GtkObject.
Definition: racktuner.h:81
Definition: bigknob.cc:51
struct _GxRackTuner GxRackTuner
Definition: racktuner.h:32
virtual ~RackTuner()
Definition: racktuner.cc:231
void set_limit_timestep(int p1)
Definition: racktuner.cc:320
Gxw::RackTuner * wrap(GxRackTuner *object, bool take_copy=false)
A Glib::wrap() method for this object.
Definition: racktuner.cc:81
void set_timestep(int p1)
Definition: racktuner.cc:310
GxRackTuner BaseObjectType
Definition: racktuner.h:47
double get_speed()
Definition: racktuner.cc:285
virtual void on_frequency_poll()
This is a default handler for the signal signal_frequency_poll().
Definition: racktuner.cc:476
void push_note(int p1, int p2, int p3)
Definition: racktuner.cc:345
Definition: bigknob.cc:41
static GType get_base_type() G_GNUC_CONST
Definition: racktuner.cc:244
GxRackTuner * gobj()
Provides access to the underlying C GtkObject.
Definition: racktuner.h:78
static GType get_type() G_GNUC_CONST
Definition: racktuner.cc:238
#define G_GNUC_CONST
Definition: wrap_init.cc:8
bool get_display_flat()
Definition: racktuner.cc:305
GxRackTunerClass BaseClassType
Definition: racktuner.h:48
virtual void on_poll_status_changed(bool p1)
This is a default handler for the signal signal_poll_status_changed().
Definition: racktuner.cc:485