Guitarix
|
#include <controlparameter.h>
Public Types | |
typedef ControlParameter | CppObjectType |
typedef ControlParameter_Class | CppClassType |
typedef GxControlParameter | BaseObjectType |
typedef GxControlParameterIface | BaseClassType |
Public Member Functions | |
ControlParameter (GxControlParameter *castitem) | |
virtual | ~ControlParameter () |
GxControlParameter * | gobj () |
Provides access to the underlying C GObject. More... | |
const GxControlParameter * | gobj () const |
Provides access to the underlying C GObject. More... | |
void | cp_configure (Glib::ustring group, Glib::ustring name, double lower, double upper, double step) |
void | cp_set_value (double value) |
double | cp_get_value () |
int | cp_get_int_value () |
Glib::ustring | cp_get_var () |
void | cp_set_var (Glib::ustring p1) |
Static Public Member Functions | |
static void | add_interface (GType gtype_implementer) |
static GType | get_type () G_GNUC_CONST |
static GType | get_base_type () G_GNUC_CONST |
Protected Member Functions | |
ControlParameter () | |
You should derive from this class to use it. More... | |
ControlParameter (const Glib::Interface_Class &interface_class) | |
Called by constructors of derived classes. More... | |
Friends | |
class | ControlParameter_Class |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Gxw::ControlParameter > | wrap (GxControlParameter *object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
Definition at line 48 of file controlparameter.h.
Definition at line 57 of file controlparameter.h.
Definition at line 56 of file controlparameter.h.
Definition at line 55 of file controlparameter.h.
Definition at line 54 of file controlparameter.h.
|
protected |
You should derive from this class to use it.
Definition at line 88 of file controlparameter.cc.
|
explicitprotected |
Called by constructors of derived classes.
Provide the result of the Class init() function to ensure that it is properly initialized.
interface_class | The Class object for the derived type. |
Definition at line 98 of file controlparameter.cc.
|
explicit |
Definition at line 93 of file controlparameter.cc.
|
virtual |
Definition at line 103 of file controlparameter.cc.
|
static |
Definition at line 107 of file controlparameter.cc.
void Gxw::ControlParameter::cp_configure | ( | Glib::ustring | group, |
Glib::ustring | name, | ||
double | lower, | ||
double | upper, | ||
double | step | ||
) |
Definition at line 126 of file controlparameter.cc.
Referenced by gx_gui::CpBase::init(), and gx_gui::UiSelector< T >::UiSelector().
int Gxw::ControlParameter::cp_get_int_value | ( | ) |
Definition at line 141 of file controlparameter.cc.
double Gxw::ControlParameter::cp_get_value | ( | ) |
Definition at line 136 of file controlparameter.cc.
Referenced by gx_gui::CpBase::on_cp_value_changed().
Glib::ustring Gxw::ControlParameter::cp_get_var | ( | ) |
Definition at line 146 of file controlparameter.cc.
void Gxw::ControlParameter::cp_set_value | ( | double | value | ) |
Definition at line 131 of file controlparameter.cc.
Referenced by gx_gui::CpBase::set_cp_value(), and gx_gui::UiSelector< T >::UiSelector().
void Gxw::ControlParameter::cp_set_var | ( | Glib::ustring | p1 | ) |
Definition at line 151 of file controlparameter.cc.
Referenced by gx_gui::CpSelectorBase::CpSelectorBase(), gx_gui::CpBase::init(), gx_gui::UiSwitchBool::UiSwitchBool(), and gx_gui::UiSwitchFloat::UiSwitchFloat().
|
static |
Definition at line 120 of file controlparameter.cc.
|
static |
Definition at line 114 of file controlparameter.cc.
|
inline |
Provides access to the underlying C GObject.
Definition at line 103 of file controlparameter.h.
Referenced by cp_configure(), cp_get_int_value(), cp_get_value(), cp_get_var(), cp_set_value(), and cp_set_var().
|
inline |
Provides access to the underlying C GObject.
Definition at line 106 of file controlparameter.h.
|
friend |
Definition at line 60 of file controlparameter.h.
|
related |
A Glib::wrap() method for this object.
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
Definition at line 38 of file controlparameter.cc.