C++ API Reference RNBO: RNBO::PatcherInterface Class Reference

RNBO: RNBO::PatcherInterface Class Reference

Inheritance diagram for RNBO::PatcherInterface:
patcher_interface RNBO::ProcessInterface RNBO::BaseInterface RNBO::ParameterInterface RNBO::PatcherInterfaceImpl

Public Member Functions

virtual void destroy ()=0
 
virtual void dump ()
 
virtual void extractState (PatcherStateInterface &state)
 
void initialize () override
 
virtual void initialize (PatcherStateInterface &state)
 
virtual void getPreset (PatcherStateInterface &)
 
virtual void setPreset (MillisecondTime, PatcherStateInterface &)
 
virtual DataRefIndex getNumDataRefs () const =0
 
virtual DataRef * getDataRef (DataRefIndex index)=0
 
virtual ParameterIndex getNumSignalInParameters () const =0
 
virtual ParameterIndex getNumSignalOutParameters () const =0
 
virtual MessageTagInfo resolveTag (MessageTag tag) const =0
 
virtual MessageIndex getNumMessages () const
 
virtual const MessageInfogetMessageInfo (MessageIndex) const
 
virtual Index getMaxBlockSize () const =0
 
virtual number getSampleRate () const =0
 
virtual bool hasFixedVectorSize () const =0
 
virtual MillisecondTime getPatcherTime () const =0
 
- Public Member Functions inherited from RNBO::ProcessInterface
virtual void prepareToProcess (number sampleRate, Index maxBlockSize, bool force=false)=0
 Set the sample rate and vector size before doing any processing. More...
 
virtual void process (const SampleValue *const *audioInputs, Index numInputs, SampleValue *const *audioOutputs, Index numOutputs, Index sampleFrames)=0
 Process non-interleaved SampleValue* audio buffers with optional MIDI I/O. More...
 
- Public Member Functions inherited from RNBO::BaseInterface
virtual Index getNumMidiInputPorts () const =0
 
virtual Index getNumMidiOutputPorts () const =0
 
virtual Index getNumInputChannels () const =0
 
virtual Index getNumOutputChannels () const =0
 
- Public Member Functions inherited from RNBO::ParameterInterface
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...
 

Protected Member Functions

virtual void sendParameter (ParameterIndex, bool)
 

Member Function Documentation

◆ initialize()

void RNBO::PatcherInterface::initialize ( )
inlineoverridevirtual

Initialize data after construction of the BaseInterface

Reimplemented from RNBO::BaseInterface.


The documentation for this class was generated from the following file: