Guitarix
Gxw::ControlParameter Class Reference

#include <controlparameter.h>

Inheritance diagram for Gxw::ControlParameter:
Collaboration diagram for Gxw::ControlParameter:

Public Types

typedef ControlParameter CppObjectType
 
typedef ControlParameter_Class CppClassType
 
typedef GxControlParameter BaseObjectType
 
typedef GxControlParameterIface BaseClassType
 

Public Member Functions

 ControlParameter (GxControlParameter *castitem)
 
virtual ~ControlParameter ()
 
GxControlParametergobj ()
 Provides access to the underlying C GObject. More...
 
const GxControlParametergobj () 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::ControlParameterwrap (GxControlParameter *object, bool take_copy=false)
 A Glib::wrap() method for this object. More...
 

Detailed Description

Definition at line 48 of file controlparameter.h.

Member Typedef Documentation

◆ BaseClassType

◆ BaseObjectType

◆ CppClassType

◆ CppObjectType

Constructor & Destructor Documentation

◆ ControlParameter() [1/3]

Gxw::ControlParameter::ControlParameter ( )
protected

You should derive from this class to use it.

Definition at line 88 of file controlparameter.cc.

◆ ControlParameter() [2/3]

Gxw::ControlParameter::ControlParameter ( const Glib::Interface_Class &  interface_class)
explicitprotected

Called by constructors of derived classes.

Provide the result of the Class init() function to ensure that it is properly initialized.

Parameters
interface_classThe Class object for the derived type.

Definition at line 98 of file controlparameter.cc.

◆ ControlParameter() [3/3]

Gxw::ControlParameter::ControlParameter ( GxControlParameter castitem)
explicit

Definition at line 93 of file controlparameter.cc.

◆ ~ControlParameter()

Gxw::ControlParameter::~ControlParameter ( )
virtual

Definition at line 103 of file controlparameter.cc.

Member Function Documentation

◆ add_interface()

void Gxw::ControlParameter::add_interface ( GType  gtype_implementer)
static

Definition at line 107 of file controlparameter.cc.

Referenced by Glib::wrap().

◆ cp_configure()

void Gxw::ControlParameter::cp_configure ( Glib::ustring  group,
Glib::ustring  name,
double  lower,
double  upper,
double  step 
)

◆ cp_get_int_value()

int Gxw::ControlParameter::cp_get_int_value ( )

Definition at line 141 of file controlparameter.cc.

Referenced by gx_jconv::IRWindow::create(), and gobj().

◆ cp_get_value()

double Gxw::ControlParameter::cp_get_value ( )

Definition at line 136 of file controlparameter.cc.

Referenced by gobj(), and gx_gui::CpBase::on_cp_value_changed().

◆ cp_get_var()

Glib::ustring Gxw::ControlParameter::cp_get_var ( )

Definition at line 146 of file controlparameter.cc.

Referenced by gobj().

◆ cp_set_value()

◆ cp_set_var()

void Gxw::ControlParameter::cp_set_var ( Glib::ustring  p1)

◆ get_base_type()

GType Gxw::ControlParameter::get_base_type ( )
static

Definition at line 120 of file controlparameter.cc.

◆ get_type()

GType Gxw::ControlParameter::get_type ( )
static

Definition at line 114 of file controlparameter.cc.

◆ gobj() [1/2]

GxControlParameter* Gxw::ControlParameter::gobj ( )
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().

◆ gobj() [2/2]

const GxControlParameter* Gxw::ControlParameter::gobj ( ) const
inline

Provides access to the underlying C GObject.

Definition at line 106 of file controlparameter.h.

Friends And Related Function Documentation

◆ ControlParameter_Class

friend class ControlParameter_Class
friend

Definition at line 60 of file controlparameter.h.

◆ wrap()

Glib::RefPtr< Gxw::ControlParameter > wrap ( GxControlParameter object,
bool  take_copy = false 
)
related

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns
A C++ instance that wraps this C instance.

Definition at line 38 of file controlparameter.cc.

Referenced by gobj().


The documentation for this class was generated from the following files: