Guitarix
|
#include <gx_parameter.h>
Public Member Functions | |
virtual void | writeJSON (gx_system::JsonWriter &jw) const |
virtual void | readJSON_value (gx_system::JsonParser &jp) |
virtual const value_pair * | getValueNames () const |
FloatEnumParameter (const string &id, const string &name, const value_pair *vn, bool preset, float *v, int sv, int low, bool ctrl, bool no_init) | |
virtual void | serializeJSON (gx_system::JsonWriter &jw) |
virtual float | idx_from_id (string v_id) |
![]() | |
bool | set (float val) const |
float | get_value () const |
void | convert_from_range (float low, float up) |
virtual void | stdJSON_value () |
virtual bool | on_off_value () |
virtual bool | compareJSON_value () |
virtual void | setJSON_value () |
virtual bool | hasRange () const |
virtual float | getLowerAsFloat () const |
virtual float | getUpperAsFloat () const |
virtual float | getStepAsFloat () const |
ParameterV (const string &id, const string &name, ctrl_type ctp, bool preset, float *v, float sv, float lv, float uv, float tv, bool ctrl, bool no_init) | |
~ParameterV () | |
ParameterV (gx_system::JsonParser &jp) | |
sigc::signal< void, float > & | signal_changed () |
![]() | |
std::string | group_id () const |
Parameter (const string &id, const string &name, value_type vtp, ctrl_type ctp, bool preset, bool ctrl) | |
Parameter (gx_system::JsonParser &jp) | |
virtual | ~Parameter () |
bool | isUsed () const |
void | setUsed () |
void | dump (gx_system::JsonWriter *jw) |
const char * | get_typename () const |
bool | isFloat () const |
bool | isInt () const |
bool | isBool () const |
bool | isFile () const |
bool | isString () const |
ctrl_type | getControlType () const |
bool | isControllable () const |
bool | isInPreset () const |
bool | isSavable () const |
void | setSavable (bool v) |
const string & | id () const |
const string & | group () const |
string | l_group () const |
const string & | name () const |
string | l_name () const |
const string & | desc () const |
void | set_desc (const string &desc) |
string | l_desc () const |
void | set_log_display () |
bool | is_log_display () |
void | set_blocked (bool v) |
bool | get_blocked () |
void | set_midi_blocked (bool v) |
bool | get_midi_blocked () |
bool | operator== (const Parameter &p) const |
FloatParameter & | getFloat () |
IntParameter & | getInt () |
EnumParameter & | getEnum () |
BoolParameter & | getBool () |
FileParameter & | getFile () |
StringParameter & | getString () |
sigc::signal< void, float > & | signal_changed_float () |
sigc::signal< void, int > & | signal_changed_int () |
sigc::signal< void, bool > & | signal_changed_bool () |
sigc::signal< void, const Glib::ustring & > & | signal_changed_string () |
Protected Member Functions | |
FloatEnumParameter (gx_system::JsonParser &jp) | |
![]() | |
void | range_warning (float value, float lower, float upper) |
Protected Attributes | |
const value_pair * | value_names |
![]() | |
float | json_value |
float * | value |
float | std_value |
float | lower |
float | upper |
float | step |
sigc::signal< void, float > | changed |
float | value_storage |
![]() | |
string | _id |
string | _name |
string | _group |
string | _desc |
enum value_type | v_type: 3 |
enum ctrl_type | c_type: 3 |
unsigned int | d_flags: 2 |
bool | save_in_preset: 1 |
bool | controllable: 1 |
bool | do_not_save: 1 |
bool | blocked: 1 |
bool | midi_blocked: 1 |
bool | used: 1 |
Additional Inherited Members | |
![]() | |
enum | ctrl_type { None, Continuous, Switch, Enum } |
enum | toggle_type { OnOff = 0, Constant = 1, _Count = 2 } |
![]() | |
static const char * | value_label (const value_pair &vp) |
![]() | |
enum | value_type { tp_float, tp_int, tp_bool, tp_file, tp_string, tp_special } |
enum | display_flags { dtp_normal, dtp_log = 1 } |
![]() | |
static gx_system::JsonParser & | jp_next (gx_system::JsonParser &jp, const char *key) |
Definition at line 276 of file gx_parameter.h.
|
inlineprotected |
Definition at line 279 of file gx_parameter.h.
Referenced by serializeJSON().
gx_engine::FloatEnumParameter::FloatEnumParameter | ( | const string & | id, |
const string & | name, | ||
const value_pair * | vn, | ||
bool | preset, | ||
float * | v, | ||
int | sv, | ||
int | low, | ||
bool | ctrl, | ||
bool | no_init | ||
) |
|
virtual |
Reimplemented from gx_engine::Parameter.
Definition at line 1300 of file gx_paramtable.cpp.
|
virtual |
Reimplemented from gx_engine::ParameterV< float >.
Definition at line 1309 of file gx_paramtable.cpp.
|
virtual |
Reimplemented from gx_engine::ParameterV< float >.
Definition at line 1321 of file gx_paramtable.cpp.
|
virtual |
Reimplemented from gx_engine::ParameterV< float >.
Definition at line 1288 of file gx_paramtable.cpp.
|
virtual |
Reimplemented from gx_engine::ParameterV< float >.
Definition at line 1304 of file gx_paramtable.cpp.
|
protected |
Definition at line 278 of file gx_parameter.h.
Referenced by gx_engine::FloatEnumParameterD::FloatEnumParameterD(), and gx_engine::FloatEnumParameterD::~FloatEnumParameterD().