Guitarix
iredit.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GXWMM_IREDIT_H
4 #define _GXWMM_IREDIT_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 <gtkmm/drawingarea.h>
29 #include <gxwmm/gainline.h>
30 #include <vector>
31 
32 
33 #ifndef DOXYGEN_SHOULD_SKIP_THIS
34 typedef struct _GxIREdit GxIREdit;
35 typedef struct _GxIREditClass GxIREditClass;
36 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
37 
38 
39 namespace Gxw
40 { class IREdit_Class; } // namespace Gxw
41 namespace Gxw {
42 
43 
44 class IREdit: public Gtk::DrawingArea {
45  public:
46 #ifndef DOXYGEN_SHOULD_SKIP_THIS
51 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
52 
53  virtual ~IREdit();
54 
55 #ifndef DOXYGEN_SHOULD_SKIP_THIS
56 
57 private:
58  friend class IREdit_Class;
59  static CppClassType iredit_class_;
60 
61  // noncopyable
62  IREdit(const IREdit&);
63  IREdit& operator=(const IREdit&);
64 
65 protected:
66  explicit IREdit(const Glib::ConstructParams& construct_params);
67  explicit IREdit(GxIREdit* castitem);
68 
69 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
70 
71 public:
72 #ifndef DOXYGEN_SHOULD_SKIP_THIS
73  static GType get_type() G_GNUC_CONST;
74 
75 
76  static GType get_base_type() G_GNUC_CONST;
77 #endif
78 
80  GxIREdit* gobj() { return reinterpret_cast<GxIREdit*>(gobject_); }
81 
83  const GxIREdit* gobj() const { return reinterpret_cast<GxIREdit*>(gobject_); }
84 
85 
86 public:
87  //C++ methods used to invoke GTK+ virtual functions:
88 
89 protected:
90  //GTK+ Virtual Functions (override these to change behaviour):
91 
92  //Default Signal Handlers::
93 
94 
95 private:
96 
97  public:
98  void set_state(float *data, int chan, int data_len, int samplerate, int cutoff_low, int cutoff_high, int offset, const Gainline& gain);
99  Gainline get_gain();
100  void set_gain(const Gainline& gain);
101 
102  IREdit();
103 
104  void set_ir_data(float* p1, int p2, int p3, int p4);
105 
106  void home();
107 
108  void jump_zoom_mark();
109 
110  void set_channel(int p1);
111 
112  void incr_scale(double p1);
113 
114  void decr_scale(double p1);
115 
116  void set_log(bool p1);
117 
118  int get_delay();
119 
120  void set_delay(int p1);
121 
122  int get_offset();
123 
124  void set_offset(int p1);
125 
126  int get_length();
127 
128  void set_length(int p1);
129 
136  Glib::SignalProxy2< void,int,int > signal_delay_changed();
137 
138 
145  Glib::SignalProxy2< void,int,int > signal_offset_changed();
146 
147 
154  Glib::SignalProxy2< void,int,int > signal_length_changed();
155 
156 
163  Glib::SignalProxy1< void,bool > signal_scale_max_reached();
164 
165 
172  Glib::SignalProxy1< void,bool > signal_scale_min_reached();
173 
174  #ifdef GLIBMM_PROPERTIES_ENABLED
175 
181  Glib::PropertyProxy< int > property_y_border_top() ;
182 #endif //#GLIBMM_PROPERTIES_ENABLED
183 
184 #ifdef GLIBMM_PROPERTIES_ENABLED
185 
191  Glib::PropertyProxy_ReadOnly< int > property_y_border_top() const;
192 #endif //#GLIBMM_PROPERTIES_ENABLED
193 
194  #ifdef GLIBMM_PROPERTIES_ENABLED
195 
201  Glib::PropertyProxy< int > property_y_border_bottom() ;
202 #endif //#GLIBMM_PROPERTIES_ENABLED
203 
204 #ifdef GLIBMM_PROPERTIES_ENABLED
205 
211  Glib::PropertyProxy_ReadOnly< int > property_y_border_bottom() const;
212 #endif //#GLIBMM_PROPERTIES_ENABLED
213 
214  #ifdef GLIBMM_PROPERTIES_ENABLED
215 
221  Glib::PropertyProxy< int > property_x_border() ;
222 #endif //#GLIBMM_PROPERTIES_ENABLED
223 
224 #ifdef GLIBMM_PROPERTIES_ENABLED
225 
231  Glib::PropertyProxy_ReadOnly< int > property_x_border() const;
232 #endif //#GLIBMM_PROPERTIES_ENABLED
233 
234  #ifdef GLIBMM_PROPERTIES_ENABLED
235 
241  Glib::PropertyProxy< int > property_label_sep() ;
242 #endif //#GLIBMM_PROPERTIES_ENABLED
243 
244 #ifdef GLIBMM_PROPERTIES_ENABLED
245 
251  Glib::PropertyProxy_ReadOnly< int > property_label_sep() const;
252 #endif //#GLIBMM_PROPERTIES_ENABLED
253 
254  #ifdef GLIBMM_PROPERTIES_ENABLED
255 
261  Glib::PropertyProxy< double > property_dot_diameter() ;
262 #endif //#GLIBMM_PROPERTIES_ENABLED
263 
264 #ifdef GLIBMM_PROPERTIES_ENABLED
265 
271  Glib::PropertyProxy_ReadOnly< double > property_dot_diameter() const;
272 #endif //#GLIBMM_PROPERTIES_ENABLED
273 
274  #ifdef GLIBMM_PROPERTIES_ENABLED
275 
281  Glib::PropertyProxy< double > property_segment_distance() ;
282 #endif //#GLIBMM_PROPERTIES_ENABLED
283 
284 #ifdef GLIBMM_PROPERTIES_ENABLED
285 
291  Glib::PropertyProxy_ReadOnly< double > property_segment_distance() const;
292 #endif //#GLIBMM_PROPERTIES_ENABLED
293 
294  #ifdef GLIBMM_PROPERTIES_ENABLED
295 
301  Glib::PropertyProxy< double > property_limit() ;
302 #endif //#GLIBMM_PROPERTIES_ENABLED
303 
304 #ifdef GLIBMM_PROPERTIES_ENABLED
305 
311  Glib::PropertyProxy_ReadOnly< double > property_limit() const;
312 #endif //#GLIBMM_PROPERTIES_ENABLED
313 
314  #ifdef GLIBMM_PROPERTIES_ENABLED
315 
321  Glib::PropertyProxy_ReadOnly< int > property_fs() const;
322 #endif //#GLIBMM_PROPERTIES_ENABLED
323 
324 
325  #ifdef GLIBMM_PROPERTIES_ENABLED
326 
332  Glib::PropertyProxy< double > property_max_scale_fact() ;
333 #endif //#GLIBMM_PROPERTIES_ENABLED
334 
335 #ifdef GLIBMM_PROPERTIES_ENABLED
336 
342  Glib::PropertyProxy_ReadOnly< double > property_max_scale_fact() const;
343 #endif //#GLIBMM_PROPERTIES_ENABLED
344 
345  #ifdef GLIBMM_PROPERTIES_ENABLED
346 
352  Glib::PropertyProxy< double > property_min_scale() ;
353 #endif //#GLIBMM_PROPERTIES_ENABLED
354 
355 #ifdef GLIBMM_PROPERTIES_ENABLED
356 
362  Glib::PropertyProxy_ReadOnly< double > property_min_scale() const;
363 #endif //#GLIBMM_PROPERTIES_ENABLED
364 
365  #ifdef GLIBMM_PROPERTIES_ENABLED
366 
372  Glib::PropertyProxy< double > property_scale() ;
373 #endif //#GLIBMM_PROPERTIES_ENABLED
374 
375 #ifdef GLIBMM_PROPERTIES_ENABLED
376 
382  Glib::PropertyProxy_ReadOnly< double > property_scale() const;
383 #endif //#GLIBMM_PROPERTIES_ENABLED
384 
385  #ifdef GLIBMM_PROPERTIES_ENABLED
386 
392  Glib::PropertyProxy< Glib::ustring > property_no_data_text() ;
393 #endif //#GLIBMM_PROPERTIES_ENABLED
394 
395 #ifdef GLIBMM_PROPERTIES_ENABLED
396 
402  Glib::PropertyProxy_ReadOnly< Glib::ustring > property_no_data_text() const;
403 #endif //#GLIBMM_PROPERTIES_ENABLED
404 
405 
406 };
407 
408 } // namespace Gxw
409 
410 
411 namespace Glib
412 {
421  Gxw::IREdit* wrap(GxIREdit* object, bool take_copy = false);
422 } //namespace Glib
423 
424 
425 #endif /* _GXWMM_IREDIT_H */
426 
Glib
Definition: bigknob.cc:41
Gxw::IREdit::set_length
void set_length(int p1)
Definition: iredit.cc:389
Gxw::IREdit::gobj
GxIREdit * gobj()
Provides access to the underlying C GtkObject.
Definition: iredit.h:80
Gxw::IREdit
Definition: iredit.h:44
Gxw::IREdit::CppObjectType
IREdit CppObjectType
Definition: iredit.h:47
Gxw::IREdit::IREdit
IREdit()
Definition: iredit.cc:319
Gxw::IREdit::home
void home()
Definition: iredit.cc:334
Gxw::IREdit::signal_length_changed
Glib::SignalProxy2< void, int, int > signal_length_changed()
Definition: iredit.cc:407
Gxw::IREdit::get_type
static GType get_type() G_GNUC_CONST
Definition: iredit.cc:307
Gxw::IREdit::signal_scale_min_reached
Glib::SignalProxy1< void, bool > signal_scale_min_reached()
Definition: iredit.cc:419
Gxw::IREdit::get_base_type
static GType get_base_type() G_GNUC_CONST
Definition: iredit.cc:313
Gxw::IREdit::set_ir_data
void set_ir_data(float *p1, int p2, int p3, int p4)
Definition: iredit.cc:329
Gxw::IREdit::signal_offset_changed
Glib::SignalProxy2< void, int, int > signal_offset_changed()
Definition: iredit.cc:401
Gxw::IREdit_Class
Definition: wrap_init.cc:90
Gxw::IREdit::set_log
void set_log(bool p1)
Definition: iredit.cc:359
Gxw::IREdit::BaseClassType
GxIREditClass BaseClassType
Definition: iredit.h:50
Gxw::IREdit::get_offset
int get_offset()
Definition: iredit.cc:374
Gxw::IREdit::set_channel
void set_channel(int p1)
Definition: iredit.cc:344
Gxw::IREdit::decr_scale
void decr_scale(double p1)
Definition: iredit.cc:354
Gxw
Definition: bigknob.cc:51
Gxw::IREdit::set_delay
void set_delay(int p1)
Definition: iredit.cc:369
GxIREdit
struct _GxIREdit GxIREdit
Definition: iredit.h:34
Glib::wrap
Gxw::BigKnob * wrap(GxBigKnob *object, bool take_copy)
Definition: bigknob.cc:44
Gxw::IREdit::BaseObjectType
GxIREdit BaseObjectType
Definition: iredit.h:49
Gxw::IREdit::jump_zoom_mark
void jump_zoom_mark()
Definition: iredit.cc:339
GxIREditClass
struct _GxIREditClass GxIREditClass
Definition: iredit.h:35
Gxw::IREdit::signal_delay_changed
Glib::SignalProxy2< void, int, int > signal_delay_changed()
Definition: iredit.cc:395
Gxw::IREdit::signal_scale_max_reached
Glib::SignalProxy1< void, bool > signal_scale_max_reached()
Definition: iredit.cc:413
Gxw::IREdit::get_delay
int get_delay()
Definition: iredit.cc:364
Gxw::IREdit::get_length
int get_length()
Definition: iredit.cc:384
Gxw::IREdit::~IREdit
virtual ~IREdit()
Definition: iredit.cc:300
G_GNUC_CONST
#define G_GNUC_CONST
Definition: wrap_init.cc:8
Gxw::IREdit::set_offset
void set_offset(int p1)
Definition: iredit.cc:379
Gxw::IREdit::set_state
void set_state(float *data, int chan, int data_len, int samplerate, int cutoff_low, int cutoff_high, int offset, const Gainline &gain)
Definition: iredit.cc:33
Gxw::IREdit::CppClassType
IREdit_Class CppClassType
Definition: iredit.h:48
Gxw::IREdit::set_gain
void set_gain(const Gainline &gain)
Definition: iredit.cc:50
Gxw::IREdit::get_gain
Gainline get_gain()
Definition: iredit.cc:42
Gxw::IREdit::gobj
const GxIREdit * gobj() const
Provides access to the underlying C GtkObject.
Definition: iredit.h:83
Gxw::IREdit::incr_scale
void incr_scale(double p1)
Definition: iredit.cc:349