Manages the configuration of blocks. More...
#include <juce_BlockConfigManager.h>
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::DeviceConnection * | deviceConnection {} |
TopologyIndex | deviceIndex {} |
Manages the configuration of blocks.
{Blocks}
|
inlineprivate |
References juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::getData(), juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::size(), juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::writePacketSysexFooter(), and juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::writePacketSysexHeaderBytes().
|
inlineprivate |
|
inline |
|
inline |
References juce::BlockConfigManager::ConfigDescription::max.
|
inline |
References juce::BlockConfigManager::ConfigDescription::min.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References juce::BlockConfigManager::ConfigDescription::max.
|
inline |
References juce::BlockConfigManager::ConfigDescription::min.
|
inline |
ConfigDescription juce::BlockConfigManager::configList[numConfigItems] |
|
private |
|
private |
|
static |