37 #ifndef _VAMP_SDK_PLUGIN_BASE_H_ 38 #define _VAMP_SDK_PLUGIN_BASE_H_ 83 virtual std::string getIdentifier()
const = 0;
93 virtual std::string getName()
const = 0;
103 virtual std::string getDescription()
const = 0;
111 virtual std::string getMaker()
const = 0;
118 virtual std::string getCopyright()
const = 0;
123 virtual int getPluginVersion()
const = 0;
209 return ParameterList();
255 virtual std::string getType()
const = 0;
virtual void setParameter(std::string, float)
Set a named parameter.
Chris@6:
virtual float getParameter(std::string) const
Get the value of a named parameter.
Chris@6:
Chris@6:
virtual void selectProgram(std::string)
Select a program.
Chris@6:
std::string identifier
The name of the parameter, in computer-usable form.
Chris@6:
Chris@6:
std::vector< std::string > valueNames
Names for the quantized values.
Chris@6:
virtual unsigned int getVampApiVersion() const
Get the Vamp API compatibility level of the plugin.
Chris@6:
std::string name
The human-readable name of the parameter.
Chris@6:
virtual std::string getCurrentProgram() const
Get the current program.
Chris@6:
float minValue
The minimum value of the parameter.
Chris@6:
virtual ProgramList getPrograms() const
Get the program settings available in this plugin.
Chris@6:
std::string unit
The unit of the parameter, in human-readable form.
Chris@6:
#define _VAMP_SDK_PLUGSPACE_BEGIN(h)
Chris@6:
std::string description
A human-readable short text describing the parameter.
Chris@6:
Chris@6:
float maxValue
The maximum value of the parameter.
Chris@6:
std::vector< std::string > ProgramList
Chris@6:
#define _VAMP_SDK_PLUGSPACE_END(h)
Chris@6:
Chris@6:
virtual ParameterList getParameterDescriptors() const
Get the controllable parameters of this plugin.
Chris@6:
A base class for plugins with optional configurable parameters, programs, etc.
Chris@6:
float defaultValue
The default value of the parameter.
Chris@6:
float quantizeStep
Quantization resolution of the parameter values (e.g.
Chris@6:
bool isQuantized
True if the parameter values are quantized to a particular resolution.
Chris@6:
Chris@6:
std::vector< ParameterDescriptor > ParameterList
Chris@6: