C++ API Reference RNBO: RNBO::PatcherState Class Reference

RNBO: RNBO::PatcherState Class Reference

A representation of the RNBO patcher graph. More...

#include <RNBO_PatcherState.h>

Inheritance diagram for RNBO::PatcherState:
patcher_state RNBO::DummyPreset

Public Types

using Iterator = typename StateMap::iterator
 
using ConstIterator = typename StateMap::const_iterator
 

Public Member Functions

Iterator begin ()
 
Iterator end ()
 
ConstIterator begin () const
 
ConstIterator end () const
 
PatcherStategetSubState (const char *key) override
 Get a substate (e.g. a subpatcher) More...
 
PatcherStategetSubStateAt (const char *key, Index i) override
 Get a substate (e.g. a subpatcher) from an array of multiple substates. More...
 
StateHelper< PatcherStateoperator[] (const char *key)
 
virtual bool isDummy () const
 

Friends

class StateHelper< PatcherState >
 

Detailed Description

A representation of the RNBO patcher graph.

Member Function Documentation

◆ getSubState()

PatcherState& RNBO::PatcherState::getSubState ( const char *  key)
override

Get a substate (e.g. a subpatcher)

Parameters
keythe substate name
Returns
PatcherState&

◆ getSubStateAt()

PatcherState& RNBO::PatcherState::getSubStateAt ( const char *  key,
Index  i 
)
override

Get a substate (e.g. a subpatcher) from an array of multiple substates.

Parameters
keythe substate name
ithe index of the substate in the array
Returns
PatcherState&

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