RNBO: RNBO::ParameterEventInterface Class Reference
#include <RNBO_ParameterEventInterface.h>
Inheritance diagram for RNBO::ParameterEventInterface:

Public Types | |
enum | Type { SingleProducer, MultiProducer, NotThreadSafe, Trigger } |
Public Member Functions | |
virtual void | scheduleEvent (EventVariant event)=0 |
void | sendMessage (MessageTag tag, number payload, MessageTag objectId=0, MillisecondTime eventTime=RNBOTimeNow) |
void | sendMessage (MessageTag tag, UniqueListPtr payload, MessageTag objectId=0, MillisecondTime eventTime=RNBOTimeNow) |
void | sendMessage (MessageTag tag, MessageTag objectId=0, MillisecondTime eventTime=RNBOTimeNow) |
virtual void | setScheduleCallback (ScheduleCallback callback) |
![]() | |
virtual ParameterIndex | getNumParameters () const =0 |
Get the number of visible parameters. More... | |
virtual ConstCharPointer | getParameterName (ParameterIndex index) const =0 |
Get the parameter name (may not be unique) More... | |
virtual ConstCharPointer | getParameterId (ParameterIndex index) const =0 |
Get the unique ID of a parameter. More... | |
virtual void | getParameterInfo (ParameterIndex index, ParameterInfo *info) const =0 |
Get detailed information about a parameter. More... | |
virtual ParameterValue | getParameterValue (ParameterIndex index)=0 |
virtual void | setParameterValue (ParameterIndex index, ParameterValue value, MillisecondTime time=RNBOTimeNow)=0 |
Set a parameter's normalized [0..1] value. More... | |
virtual ParameterValue | getParameterNormalized (ParameterIndex index) |
Get a parameter's normalized [0..1] value. More... | |
virtual void | setParameterValueNormalized (ParameterIndex index, ParameterValue normalizedValue, MillisecondTime time=RNBOTimeNow) |
Set a parameter's normalized [0..1] value. More... | |
virtual ParameterValue | convertToNormalizedParameterValue (ParameterIndex index, ParameterValue value) const =0 |
Convert a parameter value from its real value to a normalized representation [0..1]. More... | |
virtual ParameterValue | convertFromNormalizedParameterValue (ParameterIndex index, ParameterValue normalizedValue) const =0 |
Convert a parameter value from a normalized representation [0..1] to its real value. More... | |
virtual ParameterValue | constrainParameterValue (ParameterIndex, ParameterValue value) const |
Apply and get the constrained parameter value. More... | |
Friends | |
class | EventHandler |
Detailed Description
The ParameterEventInterface is a lightweight interface class that can be handed around to send and receive parameter values and events. It could be used, for example, by a secondary UI or by a class that controls an external MIDI controller.
Member Enumeration Documentation
◆ Type
The documentation for this class was generated from the following file: