JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::BlockConfigManager Struct Reference

Manages the configuration of blocks. More...

#include <juce_BlockConfigManager.h>

Collaboration diagram for juce::BlockConfigManager:

Classes

struct  ConfigDescription
 Structure describing a configuration. More...
 

Public Member Functions

bool getItemActive (ConfigItemId item)
 
int32 getItemMax (ConfigItemId item)
 
int32 getItemMin (ConfigItemId item)
 
int32 getItemValue (ConfigItemId item)
 
Block::ConfigMetaData getMetaData (ConfigItemId item)
 
juce::String getOptionName (ConfigItemId item, uint8 optionIndex)
 
void handleConfigSetMessage (int32 item, int32 value)
 
void handleConfigUpdateMessage (int32 item, int32 value, int32 min, int32 max)
 
void requestBlockConfig (ConfigItemId item)
 
void requestFactoryConfigSync ()
 
void requestUserConfigSync ()
 
void resetConfigListActiveStatus ()
 
void setBlockConfig (ConfigItemId item, int32 value)
 
void setDeviceComms (PhysicalTopologySource::DeviceConnection *newConn)
 
void setDeviceIndex (TopologyIndex newDeviceIndex)
 
void setItemActive (ConfigItemId item, bool isActive)
 
void setItemMax (ConfigItemId item, int32 max)
 
void setItemMin (ConfigItemId item, int32 min)
 
void setItemValue (ConfigItemId item, int32 value)
 

Public Attributes

ConfigDescription configList [numConfigItems]
 

Static Public Attributes

static constexpr uint32 numConfigItems = 64
 

Private Member Functions

template<typename PacketBuildFn >
void buildAndSendPacket (PacketBuildFn buildFn)
 
bool getIndexForItem (ConfigItemId item, uint32 &index)
 

Private Attributes

PhysicalTopologySource::DeviceConnectiondeviceConnection {}
 
TopologyIndex deviceIndex {}
 

Detailed Description

Manages the configuration of blocks.

{Blocks}

Member Function Documentation

◆ buildAndSendPacket()

◆ getIndexForItem()

bool juce::BlockConfigManager::getIndexForItem ( ConfigItemId  item,
uint32 index 
)
inlineprivate

◆ getItemActive()

bool juce::BlockConfigManager::getItemActive ( ConfigItemId  item)
inline

◆ getItemMax()

int32 juce::BlockConfigManager::getItemMax ( ConfigItemId  item)
inline

◆ getItemMin()

int32 juce::BlockConfigManager::getItemMin ( ConfigItemId  item)
inline

◆ getItemValue()

int32 juce::BlockConfigManager::getItemValue ( ConfigItemId  item)
inline

◆ getMetaData()

Block::ConfigMetaData juce::BlockConfigManager::getMetaData ( ConfigItemId  item)
inline

◆ getOptionName()

juce::String juce::BlockConfigManager::getOptionName ( ConfigItemId  item,
uint8  optionIndex 
)
inline

◆ handleConfigSetMessage()

void juce::BlockConfigManager::handleConfigSetMessage ( int32  item,
int32  value 
)
inline

◆ handleConfigUpdateMessage()

◆ requestBlockConfig()

void juce::BlockConfigManager::requestBlockConfig ( ConfigItemId  item)
inline

◆ requestFactoryConfigSync()

void juce::BlockConfigManager::requestFactoryConfigSync ( )
inline

◆ requestUserConfigSync()

void juce::BlockConfigManager::requestUserConfigSync ( )
inline

◆ resetConfigListActiveStatus()

void juce::BlockConfigManager::resetConfigListActiveStatus ( )
inline

◆ setBlockConfig()

void juce::BlockConfigManager::setBlockConfig ( ConfigItemId  item,
int32  value 
)
inline

◆ setDeviceComms()

void juce::BlockConfigManager::setDeviceComms ( PhysicalTopologySource::DeviceConnection newConn)
inline

◆ setDeviceIndex()

void juce::BlockConfigManager::setDeviceIndex ( TopologyIndex  newDeviceIndex)
inline

◆ setItemActive()

void juce::BlockConfigManager::setItemActive ( ConfigItemId  item,
bool  isActive 
)
inline

◆ setItemMax()

void juce::BlockConfigManager::setItemMax ( ConfigItemId  item,
int32  max 
)
inline

◆ setItemMin()

void juce::BlockConfigManager::setItemMin ( ConfigItemId  item,
int32  min 
)
inline

◆ setItemValue()

void juce::BlockConfigManager::setItemValue ( ConfigItemId  item,
int32  value 
)
inline

Member Data Documentation

◆ configList

ConfigDescription juce::BlockConfigManager::configList[numConfigItems]

◆ deviceConnection

PhysicalTopologySource::DeviceConnection* juce::BlockConfigManager::deviceConnection {}
private

◆ deviceIndex

TopologyIndex juce::BlockConfigManager::deviceIndex {}
private

◆ numConfigItems

constexpr uint32 juce::BlockConfigManager::numConfigItems = 64
static

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