Guitarix
Gxw::Tuner Class Reference

#include <tuner.h>

Inheritance diagram for Gxw::Tuner:
Collaboration diagram for Gxw::Tuner:

Public Types

typedef Tuner CppObjectType
 
typedef Tuner_Class CppClassType
 
typedef GxTuner BaseObjectType
 
typedef GxTunerClass BaseClassType
 

Public Member Functions

virtual ~Tuner ()
 
GxTunergobj ()
 Provides access to the underlying C GtkObject. More...
 
const GxTunergobj () const
 Provides access to the underlying C GtkObject. More...
 
 Tuner ()
 
void set_freq (double p1)
 
void set_reference_pitch (double p1)
 
double get_reference_pitch ()
 
void set_scale (double p1)
 
double get_scale ()
 

Static Public Member Functions

static GType get_type () G_GNUC_CONST
 
static GType get_base_type () G_GNUC_CONST
 

Protected Member Functions

 Tuner (const Glib::ConstructParams &construct_params)
 
 Tuner (GxTuner *castitem)
 

Friends

class Tuner_Class
 

Related Functions

(Note that these are not member functions.)

Gxw::Tunerwrap (GxTuner *object, bool take_copy=false)
 A Glib::wrap() method for this object. More...
 

Detailed Description

Definition at line 42 of file tuner.h.

Member Typedef Documentation

◆ BaseClassType

Definition at line 48 of file tuner.h.

◆ BaseObjectType

Definition at line 47 of file tuner.h.

◆ CppClassType

Definition at line 46 of file tuner.h.

◆ CppObjectType

Definition at line 45 of file tuner.h.

Constructor & Destructor Documentation

◆ ~Tuner()

Gxw::Tuner::~Tuner ( )
virtual

Definition at line 103 of file tuner.cc.

◆ Tuner() [1/3]

Gxw::Tuner::Tuner ( const Glib::ConstructParams &  construct_params)
explicitprotected

Definition at line 91 of file tuner.cc.

◆ Tuner() [2/3]

Gxw::Tuner::Tuner ( GxTuner castitem)
explicitprotected

Definition at line 97 of file tuner.cc.

◆ Tuner() [3/3]

Gxw::Tuner::Tuner ( )

Definition at line 122 of file tuner.cc.

Referenced by gobj().

Member Function Documentation

◆ get_base_type()

GType Gxw::Tuner::get_base_type ( )
static

Definition at line 116 of file tuner.cc.

◆ get_reference_pitch()

double Gxw::Tuner::get_reference_pitch ( )

Definition at line 142 of file tuner.cc.

Referenced by gobj().

◆ get_scale()

double Gxw::Tuner::get_scale ( )

Definition at line 152 of file tuner.cc.

Referenced by gobj().

◆ get_type()

GType Gxw::Tuner::get_type ( )
static

Definition at line 110 of file tuner.cc.

Referenced by Gxw::wrap_init().

◆ gobj() [1/2]

GxTuner* Gxw::Tuner::gobj ( )
inline

Provides access to the underlying C GtkObject.

Definition at line 78 of file tuner.h.

Referenced by get_reference_pitch(), get_scale(), set_freq(), set_reference_pitch(), and set_scale().

◆ gobj() [2/2]

const GxTuner* Gxw::Tuner::gobj ( ) const
inline

Provides access to the underlying C GtkObject.

Definition at line 81 of file tuner.h.

◆ set_freq()

void Gxw::Tuner::set_freq ( double  p1)

Definition at line 132 of file tuner.cc.

Referenced by gobj().

◆ set_reference_pitch()

void Gxw::Tuner::set_reference_pitch ( double  p1)

Definition at line 137 of file tuner.cc.

Referenced by gobj(), and PluginDesc::PluginDesc().

◆ set_scale()

void Gxw::Tuner::set_scale ( double  p1)

Definition at line 147 of file tuner.cc.

Referenced by gobj().

Friends And Related Function Documentation

◆ Tuner_Class

friend class Tuner_Class
friend

Definition at line 56 of file tuner.h.

◆ wrap()

Gxw::Tuner * wrap ( GxTuner 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 tuner.cc.

Referenced by gobj().


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