Logo Search packages:      
Sourcecode: calf version File versions  Download package

calf_plugins::plugin_ctl_iface Struct Reference

#include <giface.h>

Inheritance diagram for calf_plugins::plugin_ctl_iface:


List of all members.

Detailed Description

Interface for host-GUI-plugin interaction (should be really split in two, but ... meh).

Definition at line 285 of file giface.h.

Public Member Functions

virtual bool activate_preset (int bank, int program)=0
 Load preset with given number.
virtual void clear_preset ()
 Restore all state (parameters and configure vars) to default values - implemented in giface.cpp.
virtual char * configure (const char *key, const char *value)
 Set a configure variable on a plugin.
virtual void execute (int cmd_no)=0
 Execute menu command with given number.
virtual plugin_command_infoget_commands ()
virtual const char * get_gui_xml ()=0
 Return custom XML.
virtual const char * get_id ()=0
virtual int get_input_count ()=0
virtual const char * get_label ()=0
virtual float get_level (unsigned int port)=0
virtual line_graph_ifaceget_line_graph_iface ()=0
virtual void get_message_context_parameters (std::vector< int > &ports)=0
 add all message context parameter numbers to the ports vector
virtual bool get_midi ()=0
virtual const char * get_name ()=0
virtual int get_output_count ()=0
virtual int get_param_count ()=0
virtual int get_param_port_offset ()=0
virtual parameter_propertiesget_param_props (int param_no)=0
virtual float get_param_value (int param_no)=0
virtual const ladspa_plugin_infoget_plugin_info ()=0
virtual const char ** get_port_names ()=0
virtual bool is_cv (int param_no)=0
 is a given parameter a control voltage?
virtual bool is_noisy (int param_no)=0
 is the given parameter non-interpolated?
virtual bool is_rt_capable ()=0
virtual bool requires_message_context ()=0
 does the plugin require message context? (or DSSI configure) may be slow
virtual bool requires_midi ()=0
virtual bool requires_string_ports ()=0
 does the plugin require string port extension? (or DSSI configure) may be slow
virtual void send_configures (send_configure_iface *)=0
 Send all configure variables set within a plugin to given destination (which may be limited to only those that plugin understands).
virtual void set_param_value (int param_no, float value)=0
 Set value of given parameter.
virtual ~plugin_ctl_iface ()
 Do-nothing destructor to silence compiler warning.

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

Generated by  Doxygen 1.6.0   Back to index