Guitarix
|
#include <ladspaback.h>
Public Member Functions | |
void | set_range_default (const LADSPA_PortRangeHint &h, ChangeableValues &store) |
void | set_default_value (const LADSPA_PortRangeHint &h, ChangeableValues &store) |
void | set_tp_default (const LADSPA_PortRangeHint &h, ChangeableValues &store) |
float | calc_step () |
void | set_default (float value, Glib::ustring label) |
void | output (gx_system::JsonWriter &jw) |
PortDesc (int idx_, int pos_, bool is_output_, Glib::ustring name, const LADSPA_PortRangeHint &hint) | |
PortDesc (gx_system::JsonParser &jp) | |
void | serializeJSON (gx_system::JsonWriter &jw) |
void | reset () |
void | fixup (bool newrow) |
bool | check_changed (const PortDesc &vp) const |
Glib::ustring | get_enum (int idx) |
DisplayType | get_tp () |
float | get_low () |
float | get_up () |
float | get_dflt () |
bool | get_newrow () |
const Glib::ustring & | get_name () |
int | get_pos () |
void | set_low (float v) |
void | set_up (float v) |
void | set_dflt (float v) |
void | set_tp (DisplayType v) |
void | set_newrow (bool v) |
bool | has_settings () |
bool | enumkey_changed (int k) |
bool | is_set (int f) |
void | set_state (gx_system::JsonParser &jp, int version) |
Public Attributes | |
int | idx |
int | pos |
bool | is_output |
LADSPA_PortRangeHintDescriptor | hint_desc |
bool | fake_low |
bool | fake_up |
bool | fake_dflt |
step_mode | step |
bool | use_sr |
bool | has_sr |
bool | has_caption |
ChangeableValues | factory |
ChangeableValues | user |
Static Public Attributes | |
static const int | SR = 44100 |
Friends | |
bool | cmp_ctrl_ports (const PortDesc *a, const PortDesc *b) |
Definition at line 77 of file ladspaback.h.
ladspa::PortDesc::PortDesc | ( | int | idx_, |
int | pos_, | ||
bool | is_output_, | ||
Glib::ustring | name, | ||
const LADSPA_PortRangeHint & | hint | ||
) |
ladspa::PortDesc::PortDesc | ( | gx_system::JsonParser & | jp | ) |
Definition at line 209 of file ladspaback.cpp.
float ladspa::PortDesc::calc_step | ( | ) |
Definition at line 531 of file ladspaback.cpp.
Referenced by output().
bool ladspa::PortDesc::check_changed | ( | const PortDesc & | vp | ) | const |
Definition at line 382 of file ladspaback.cpp.
|
inline |
Definition at line 123 of file ladspaback.h.
void ladspa::PortDesc::fixup | ( | bool | newrow | ) |
Definition at line 420 of file ladspaback.cpp.
|
inline |
Definition at line 113 of file ladspaback.h.
Referenced by output().
ustring ladspa::PortDesc::get_enum | ( | int | idx | ) |
Definition at line 369 of file ladspaback.cpp.
Referenced by output().
|
inline |
Definition at line 111 of file ladspaback.h.
Referenced by calc_step(), output(), and set_default_value().
|
inline |
Definition at line 115 of file ladspaback.h.
Referenced by set_tp_default().
|
inline |
Definition at line 114 of file ladspaback.h.
Referenced by output().
|
inline |
Definition at line 116 of file ladspaback.h.
|
inline |
Definition at line 110 of file ladspaback.h.
Referenced by calc_step(), has_settings(), and output().
|
inline |
Definition at line 112 of file ladspaback.h.
Referenced by calc_step(), output(), and set_default_value().
bool ladspa::PortDesc::has_settings | ( | ) |
Definition at line 416 of file ladspaback.cpp.
|
inline |
Definition at line 124 of file ladspaback.h.
void ladspa::PortDesc::output | ( | gx_system::JsonWriter & | jw | ) |
Definition at line 593 of file ladspaback.cpp.
void ladspa::PortDesc::reset | ( | void | ) |
Definition at line 321 of file ladspaback.cpp.
void ladspa::PortDesc::serializeJSON | ( | gx_system::JsonWriter & | jw | ) |
Definition at line 241 of file ladspaback.cpp.
void ladspa::PortDesc::set_default | ( | float | value, |
Glib::ustring | label | ||
) |
Definition at line 587 of file ladspaback.cpp.
void ladspa::PortDesc::set_default_value | ( | const LADSPA_PortRangeHint & | h, |
ChangeableValues & | store | ||
) |
Definition at line 259 of file ladspaback.cpp.
void ladspa::PortDesc::set_dflt | ( | float | v | ) |
Definition at line 345 of file ladspaback.cpp.
void ladspa::PortDesc::set_low | ( | float | v | ) |
Definition at line 329 of file ladspaback.cpp.
void ladspa::PortDesc::set_newrow | ( | bool | v | ) |
Definition at line 361 of file ladspaback.cpp.
void ladspa::PortDesc::set_range_default | ( | const LADSPA_PortRangeHint & | h, |
ChangeableValues & | store | ||
) |
Definition at line 303 of file ladspaback.cpp.
void ladspa::PortDesc::set_state | ( | gx_system::JsonParser & | jp, |
int | version | ||
) |
Definition at line 635 of file ladspaback.cpp.
void ladspa::PortDesc::set_tp | ( | DisplayType | v | ) |
Definition at line 353 of file ladspaback.cpp.
void ladspa::PortDesc::set_tp_default | ( | const LADSPA_PortRangeHint & | h, |
ChangeableValues & | store | ||
) |
Definition at line 567 of file ladspaback.cpp.
void ladspa::PortDesc::set_up | ( | float | v | ) |
Definition at line 337 of file ladspaback.cpp.
Definition at line 865 of file ladspaback.cpp.
ChangeableValues ladspa::PortDesc::factory |
Definition at line 91 of file ladspaback.h.
Referenced by check_changed(), fixup(), get_dflt(), get_enum(), get_low(), get_name(), get_newrow(), get_pos(), get_up(), output(), PortDesc(), serializeJSON(), set_default(), set_default_value(), set_dflt(), set_low(), set_newrow(), set_state(), set_tp(), and set_up().
bool ladspa::PortDesc::fake_dflt |
Definition at line 86 of file ladspaback.h.
Referenced by check_changed(), fixup(), PortDesc(), serializeJSON(), and set_dflt().
bool ladspa::PortDesc::fake_low |
Definition at line 84 of file ladspaback.h.
Referenced by check_changed(), fixup(), PortDesc(), serializeJSON(), and set_low().
bool ladspa::PortDesc::fake_up |
Definition at line 85 of file ladspaback.h.
Referenced by check_changed(), fixup(), PortDesc(), serializeJSON(), and set_up().
bool ladspa::PortDesc::has_caption |
Definition at line 90 of file ladspaback.h.
Referenced by check_changed(), has_settings(), output(), PortDesc(), reset(), serializeJSON(), and set_state().
bool ladspa::PortDesc::has_sr |
Definition at line 89 of file ladspaback.h.
Referenced by calc_step(), check_changed(), output(), PortDesc(), reset(), serializeJSON(), and set_state().
LADSPA_PortRangeHintDescriptor ladspa::PortDesc::hint_desc |
Definition at line 83 of file ladspaback.h.
Referenced by fixup(), PortDesc(), reset(), serializeJSON(), set_default_value(), and set_tp_default().
int ladspa::PortDesc::idx |
Definition at line 80 of file ladspaback.h.
Referenced by get_enum(), output(), PortDesc(), and serializeJSON().
bool ladspa::PortDesc::is_output |
Definition at line 82 of file ladspaback.h.
Referenced by PortDesc(), serializeJSON(), and set_tp_default().
int ladspa::PortDesc::pos |
Definition at line 81 of file ladspaback.h.
Referenced by check_changed(), ladspa::cmp_ctrl_ports(), PortDesc(), and serializeJSON().
|
static |
Definition at line 93 of file ladspaback.h.
Referenced by calc_step(), output(), and set_state().
step_mode ladspa::PortDesc::step |
Definition at line 87 of file ladspaback.h.
Referenced by calc_step(), check_changed(), has_settings(), output(), PortDesc(), reset(), serializeJSON(), and set_state().
bool ladspa::PortDesc::use_sr |
Definition at line 88 of file ladspaback.h.
Referenced by calc_step(), check_changed(), has_settings(), output(), PortDesc(), reset(), serializeJSON(), and set_state().
ChangeableValues ladspa::PortDesc::user |
Definition at line 92 of file ladspaback.h.
Referenced by check_changed(), get_dflt(), get_enum(), get_low(), get_name(), get_newrow(), get_pos(), get_up(), has_settings(), is_set(), output(), PortDesc(), reset(), serializeJSON(), set_dflt(), set_low(), set_newrow(), set_state(), set_tp(), and set_up().