C++ API Reference RNBO: src/RNBO_Presets.h File Reference

RNBO: src/RNBO_Presets.h File Reference

RNBO_Presets. More...

#include "RNBO_Std.h"
#include "RNBO_PatcherState.h"
#include "3rdparty/json/json.hpp"
#include "RNBO_Utils.h"
#include "RNBO_Debug.h"

Go to the source code of this file.

Data Structures

struct  RNBO::NamedPresetEntry
 Associates a PresetPtr and its name. More...
 
class  RNBO::DummyPreset
 

Typedefs

using RNBO::PresetMap = StateMap
 
using RNBO::Preset = PatcherState
 a preset is a saved patcher state
 
using RNBO::PresetPtr = std::shared_ptr< Preset >
 an shared pointer to a Preset More...
 
using RNBO::PresetCallback = std::function< void(std::shared_ptr< const Preset >)>
 a function to execute when a preset is made available
 
using RNBO::ConstPresetPtr = std::shared_ptr< const Preset >
 an shared pointer to a const Preset More...
 
using RNBO::UniquePresetPtr = std::unique_ptr< Preset >
 a unique pointer to a Preset More...
 
using RNBO::Json = nlohmann::json
 

Detailed Description

RNBO_Presets.

Typedef Documentation

◆ ConstPresetPtr

typedef std::shared_ptr< const Preset > RNBO::ConstPresetPtr

an shared pointer to a const Preset

Used for read-only access to a Preset

◆ PresetPtr

typedef std::shared_ptr< Preset > RNBO::PresetPtr

an shared pointer to a Preset

A reference-counted pointer to a Preset

◆ UniquePresetPtr

typedef std::unique_ptr< Preset > RNBO::UniquePresetPtr

a unique pointer to a Preset

An owning pointer to a Preset