22 inline bool operator() (
const char* lhs,
const char* rhs)
const {
23 return strcmp(lhs, rhs) < 0;
82 friend void printlist(
const char *title,
const list<Plugin*>& modules,
bool header);
102 const char*
id,
const char* name,
const char* tp,
103 const char* tooltip,
float* var,
float val,
104 float low,
float up,
float step,
const value_pair* values=0);
106 const char*
id,
const char* name,
const char* tp,
107 const char* tooltip,
int* var,
int val,
110 const char*
id,
const char* name,
const char* tp,
111 const char* tooltip,
bool* var,
bool val);
150 pluginmap::iterator
end() {
return pmap.end(); }
181 void ordered_list(list<Plugin*>& l,
bool stereo,
int flagmask,
int flagvalue);
189void printlist(
const char *title,
const list<Plugin*>& modules,
bool header=
true);
191inline void printlist(
const char *,
const list<Plugin*>&,
bool=
true) {}
static float * registerFloatVar_(const char *id, const char *name, const char *tp, const char *tooltip, float *var, float val, float low, float up, float step, const value_pair *values=0)
static int * registerIntVar_(const char *id, const char *name, const char *tp, const char *tooltip, int *var, int val, int low, int up, const value_pair *values=0)
ParamRegImpl(ParamMap *pm)
static bool * registerBoolVar_(const char *id, const char *name, const char *tp, const char *tooltip, bool *var, bool val)
const string & id() const
const std::string & id_box_visible() const
void set_plug_visible(bool v) const
bool get_box_visible() const
const std::string & id_effect_post_pre() const
IntParameter * p_position
Position in Rack / Audio Processing Chain.
const std::string & id_position() const
const std::string & id_plug_visible() const
BoolParameter * p_plug_visible
minibox visible (false: full box)
IntParameter * p_effect_post_pre
pre/post amp position (post = 0)
Plugin(gx_system::JsonParser &jp, ParamMap &pmap)
bool get_plug_visible() const
BoolParameter * p_on_off
Audio Processing.
void set_midi_on_off_blocked(bool v)
void set_on_off(bool v) const
void register_vars(ParamMap ¶m, EngineControl &seq)
void set_pdef(PluginDef *p)
void set_effect_post_pre(int v) const
friend void printlist(const char *title, const list< Plugin * > &modules, bool header)
void set_position(int v) const
const std::string & id_on_off() const
void copy_position(const Plugin &plugin)
void writeJSON(gx_system::JsonWriter &jw)
BoolParameter * p_box_visible
In Rack: UI Interface Box visible.
int get_effect_post_pre() const
void set_box_visible(bool v) const
map< const std::string, Plugin * > pluginmap
void update_plugin(Plugin *pvars)
Plugin * find_plugin(const std::string &id) const
int insert_plugin(Plugin *pvars)
void delete_module(Plugin *pl)
void append_rack(UiBuilderBase &ui)
pluginmap::iterator begin()
pair< const std::string, Plugin * > map_pair
void readJSON(gx_system::JsonParser &jp, ParamMap &pmap)
sigc::signal< void, const char *, bool > insert_remove
Plugin * lookup_plugin(const std::string &id) const
void writeJSON(gx_system::JsonWriter &jw)
pluginmap::iterator end()
void ordered_list(list< Plugin * > &l, bool stereo, int flagmask, int flagvalue)
void registerPlugin(Plugin *pl, ParamMap ¶m, ParameterGroups &groups)
void registerParameter(Plugin *pl, ParamMap ¶m, ParamRegImpl &preg)
void ordered_stereo_list(list< Plugin * > &stereo, int mode)
int check_version(PluginDef *p)
void ordered_mono_list(list< Plugin * > &mono, int mode)
int load_library(const string &path, PluginPos pos=PLUGIN_POS_RACK)
sigc::signal< void, const char *, bool > & signal_insert_remove()
int plugin_pos[PLUGIN_POS_COUNT]
int add(PluginDef **p, PluginPos pos=PLUGIN_POS_RACK, int flags=0)
void set_samplerate(int samplerate)
Plugin * add(PluginDef *p, PluginPos pos=PLUGIN_POS_RACK, int flags=0)
void unregisterParameter(Plugin *pl, ParamMap ¶m)
void unregisterGroup(PluginDef *pd, ParameterGroups &groups)
int add(plugindef_creator *p, PluginPos pos=PLUGIN_POS_RACK, int flags=0)
void registerAllPlugins(ParamMap ¶m, ParameterGroups &groups)
int load_from_path(const string &path, PluginPos pos=PLUGIN_POS_RACK)
int add_module(Plugin *pl, PluginPos pos, int flags)
void rescueParameter(Plugin *pl, ParamMap ¶m)
void printlist(bool ordered=true)
int add(Plugin *pl, PluginPos pos, int flags)
void registerGroup(PluginDef *pd, ParameterGroups &groups)
PluginList(EngineControl &seq)
void unregisterPlugin(Plugin *pl, ParamMap ¶m, ParameterGroups &groups)
virtual bool load(Plugin *p)=0
void printlist(const char *title, const list< Plugin * > &modules, bool header=true)
PluginDef *(* plugindef_creator)()
Parameter registration function pointers.
bool operator()(const char *lhs, const char *rhs) const