RNBO: RNBO::BaseInterface Class Reference
#include <RNBO_BaseInterface.h>
Inheritance diagram for RNBO::BaseInterface:

Public Member Functions | |
virtual void | initialize () |
virtual Index | getNumMidiInputPorts () const =0 |
virtual Index | getNumMidiOutputPorts () const =0 |
virtual Index | getNumInputChannels () const =0 |
virtual Index | getNumOutputChannels () const =0 |
![]() | |
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... | |
Detailed Description
Base class for objects which, like CoreObject, expose an interface to exported RNBO code.
Member Function Documentation
◆ getNumInputChannels()
|
pure virtual |
- Returns
- the number of audio input channels processed by the current patcher
Implemented in RNBO::CoreObject.
◆ getNumMidiInputPorts()
|
pure virtual |
- Returns
- the number of MIDI inputs
Implemented in RNBO::CoreObject.
◆ getNumMidiOutputPorts()
|
pure virtual |
- Returns
- the number of MIDI outputs
Implemented in RNBO::CoreObject.
◆ getNumOutputChannels()
|
pure virtual |
- Returns
- the number of audio output channels processed by the current patcher
Implemented in RNBO::CoreObject.
◆ initialize()
|
inlinevirtual |
Initialize data after construction of the BaseInterface
Reimplemented in RNBO::PatcherInterface.
The documentation for this class was generated from the following file:
- common/RNBO_BaseInterface.h