Guitarix
fastmeter.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GXWMM_FASTMETER_H
4 #define _GXWMM_FASTMETER_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 
30 
31 #ifndef DOXYGEN_SHOULD_SKIP_THIS
32 typedef struct _GxFastMeter GxFastMeter;
33 typedef struct _GxFastMeterClass GxFastMeterClass;
34 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
35 
36 
37 namespace Gxw
38 { class FastMeter_Class; } // namespace Gxw
39 namespace Gxw {
40 
41 
42 class FastMeter: public Gtk::DrawingArea {
43  public:
44 #ifndef DOXYGEN_SHOULD_SKIP_THIS
49 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
50 
51  virtual ~FastMeter();
52 
53 #ifndef DOXYGEN_SHOULD_SKIP_THIS
54 
55 private:
56  friend class FastMeter_Class;
57  static CppClassType fastmeter_class_;
58 
59  // noncopyable
60  FastMeter(const FastMeter&);
61  FastMeter& operator=(const FastMeter&);
62 
63 protected:
64  explicit FastMeter(const Glib::ConstructParams& construct_params);
65  explicit FastMeter(GxFastMeter* 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  GxFastMeter* gobj() { return reinterpret_cast<GxFastMeter*>(gobject_); }
79 
81  const GxFastMeter* gobj() const { return reinterpret_cast<GxFastMeter*>(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::
91 
92 
93 private:
94 
95  public:
96  FastMeter();
97 
98  void set(double lvl);
99 
100  void set_by_power(double lvl);
101 
102  void set_c_level(double lvl);
103 
104  void clear();
105 
106  void set_hold_count(int val);
107  #ifdef GLIBMM_PROPERTIES_ENABLED
108 
114  Glib::PropertyProxy< int > property_hold() ;
115 #endif //#GLIBMM_PROPERTIES_ENABLED
116 
117 #ifdef GLIBMM_PROPERTIES_ENABLED
118 
124  Glib::PropertyProxy_ReadOnly< int > property_hold() const;
125 #endif //#GLIBMM_PROPERTIES_ENABLED
126 
127  #ifdef GLIBMM_PROPERTIES_ENABLED
128 
134  Glib::PropertyProxy< int > property_dimen() ;
135 #endif //#GLIBMM_PROPERTIES_ENABLED
136 
137 #ifdef GLIBMM_PROPERTIES_ENABLED
138 
144  Glib::PropertyProxy_ReadOnly< int > property_dimen() const;
145 #endif //#GLIBMM_PROPERTIES_ENABLED
146 
147 #ifdef GLIBMM_PROPERTIES_ENABLED
148 
154  Glib::PropertyProxy< Glib::ustring > property_var_id() ;
155 #endif //#GLIBMM_PROPERTIES_ENABLED
156 
157 #ifdef GLIBMM_PROPERTIES_ENABLED
158 
164  Glib::PropertyProxy_ReadOnly< Glib::ustring > property_var_id() const;
165 #endif //#GLIBMM_PROPERTIES_ENABLED
166 
167 };
168 
169 } // namespace Gxw
170 
171 
172 namespace Glib
173 {
182  Gxw::FastMeter* wrap(GxFastMeter* object, bool take_copy = false);
183 } //namespace Glib
184 
185 
186 #endif /* _GXWMM_FASTMETER_H */
187 
Glib
Definition: bigknob.cc:41
Gxw::FastMeter::gobj
const GxFastMeter * gobj() const
Provides access to the underlying C GtkObject.
Definition: fastmeter.h:81
GxFastMeter
struct _GxFastMeter GxFastMeter
Definition: fastmeter.h:32
Gxw::FastMeter::FastMeter
FastMeter()
Definition: fastmeter.cc:122
Gxw::FastMeter::set
void set(double lvl)
Definition: fastmeter.cc:132
GxFastMeterClass
struct _GxFastMeterClass GxFastMeterClass
Definition: fastmeter.h:33
Gxw::FastMeter::BaseObjectType
GxFastMeter BaseObjectType
Definition: fastmeter.h:47
Gxw::FastMeter::gobj
GxFastMeter * gobj()
Provides access to the underlying C GtkObject.
Definition: fastmeter.h:78
Gxw
Definition: bigknob.cc:51
Gxw::FastMeter::get_base_type
static GType get_base_type() G_GNUC_CONST
Definition: fastmeter.cc:116
Glib::wrap
Gxw::BigKnob * wrap(GxBigKnob *object, bool take_copy)
Definition: bigknob.cc:44
Gxw::FastMeter::~FastMeter
virtual ~FastMeter()
Definition: fastmeter.cc:103
Gxw::FastMeter::set_hold_count
void set_hold_count(int val)
Definition: fastmeter.cc:152
Gxw::FastMeter::CppClassType
FastMeter_Class CppClassType
Definition: fastmeter.h:46
Gxw::FastMeter::set_by_power
void set_by_power(double lvl)
Definition: fastmeter.cc:137
Gxw::FastMeter::set_c_level
void set_c_level(double lvl)
Definition: fastmeter.cc:142
Gxw::FastMeter_Class
Definition: wrap_init.cc:88
Gxw::FastMeter
Definition: fastmeter.h:42
G_GNUC_CONST
#define G_GNUC_CONST
Definition: wrap_init.cc:8
Gxw::FastMeter::CppObjectType
FastMeter CppObjectType
Definition: fastmeter.h:45
Gxw::FastMeter::clear
void clear()
Definition: fastmeter.cc:147
Gxw::FastMeter::BaseClassType
GxFastMeterClass BaseClassType
Definition: fastmeter.h:48
Gxw::FastMeter::get_type
static GType get_type() G_GNUC_CONST
Definition: fastmeter.cc:110