42 #ifndef rrp_parameter_apiH
43 #define rrp_parameter_apiH
48 #if defined(__cplusplus)
49 namespace rrp {
extern "C" {
276 #if defined(__cplusplus)
char * getParameterValueAsString(RRParameterHandle handle)
Get a parameters value as char*.
Definition: rrp_parameter_api.cpp:311
bool setParameterHint(RRParameterHandle handle, const char *value)
Set a parameters hint.
Definition: rrp_parameter_api.cpp:180
char * getNamesFromParameterList(RRParametersHandle handle)
Get a list of names for a plugins parameters.
Definition: rrp_parameter_api.cpp:392
void * RRParametersHandle
Void pointer to a RRParameters instance (Container for parameters)
Definition: rrp_types.h:66
Plugins API Types Header.
bool getBoolParameter(RRParameterHandle handle, bool *value)
Get a boolean parameter.
Definition: rrp_parameter_api.cpp:207
libRoadRunner Plugins C API 2012-2013
void * getParameterValueHandle(RRParameterHandle handle)
Get a handle to a parameters value.
Definition: rrp_parameter_api.cpp:320
bool getIntParameter(RRParameterHandle handle, int *value)
Get the value of an int parameter.
Definition: rrp_parameter_api.cpp:226
bool setRoadRunnerDataParameter(RRParameterHandle handle, void *value)
Set a roadRunnerDataParameter parameter.
Definition: rrp_parameter_api.cpp:292
bool setListParameter(RRParameterHandle handle, void *(value))
Set a listOfParameters (Parameters) parameter.
bool setIntParameter(RRParameterHandle handle, int value)
Set an int parameter.
Definition: rrp_parameter_api.cpp:217
bool clearParameterList(RRParametersHandle handle)
Clear a list of parameters.
Definition: rrp_parameter_api.cpp:384
bool addParameterToList(RRParametersHandle handle, RRParameterHandle para)
Add a parameter to a parameters container, from a parameter pointer.
Definition: rrp_parameter_api.cpp:151
bool setParameterByString(RRParameterHandle handle, const char *value)
Set a parameter by a string.
Definition: rrp_parameter_api.cpp:189
void * RRParameterHandle
Void pointer to a Parameter instance.
Definition: rrp_types.h:63
bool getRoadRunnerDataParameter(RRParameterHandle handle, void *value)
Get the value of a roadRunnerDataParameter parameter.
Definition: rrp_parameter_api.cpp:301
bool getStringParameter(RRParameterHandle handle, const char *(*value))
Get the value of a string (char*) parameter.
Definition: rrp_parameter_api.cpp:262
bool getDoubleParameter(RRParameterHandle handle, double *value)
Get the value of a double parameter.
Definition: rrp_parameter_api.cpp:244
bool setParameterDescription(RRParameterHandle handle, const char *value)
Set a parameters Description.
Definition: rrp_parameter_api.cpp:171
char * getParameterType(RRParameterHandle handle)
Get a parameters type.
Definition: rrp_parameter_api.cpp:344
bool freeParameter(RRParameterHandle para)
Free the memory created by a parameter.
Definition: rrp_parameter_api.cpp:142
bool getListParameter(RRParameterHandle handle, void *(value))
Get the value of a listOfParameters (Parameters) parameter.
Definition: rrp_parameter_api.cpp:281
char * getParameterHint(RRParameterHandle handle)
Get a parameters hint.
Definition: rrp_parameter_api.cpp:336
bool setBoolParameter(RRParameterHandle handle, bool value)
Set a boolean parameter.
Definition: rrp_parameter_api.cpp:198
char * getParameterDescription(RRParameterHandle handle)
Get a parameters description.
char * getParameterName(RRParameterHandle handle)
Get a parameters name.
Definition: rrp_parameter_api.cpp:328
char * getParameterInfo(RRParameterHandle handle)
Get a parameters info.
Definition: rrp_parameter_api.cpp:161
bool setDoubleParameter(RRParameterHandle handle, double value)
Set a double parameter.
Definition: rrp_parameter_api.cpp:235
bool setStringParameter(RRParameterHandle handle, char *value)
Set a string (char*) parameter.
Definition: rrp_parameter_api.cpp:253
RRParameterHandle createParameter(const char *label, const char *type, const char *hint, void *value)
Create a parameter of type "type".
Definition: rrp_parameter_api.cpp:21