JUCE
|
Manages the configuration of blocks. More...
Classes | |
struct | ConfigDescription |
Structure describing a configuration. More... | |
Public Attributes | |
ConfigDescription | configList [numConfigItems] |
Static Public Attributes | |
static constexpr uint32 | numConfigItems = 69 |
static constexpr const char * | midiSettingsGroup = "MIDI Settings" |
static constexpr const char * | pitchGroup = "Pitch" |
static constexpr const char * | playGroup = "Play mode" |
static constexpr const char * | sensitivityGroup = "Sensitivity" |
static constexpr const char * | rhythmGroup = "Rhythm" |
static constexpr const char * | coloursGroup = "Colors" |
Manages the configuration of blocks.
BlockConfigManager::BlockConfigManager | ( | Array< ConfigDescription > | defaultConfig | ) |
void BlockConfigManager::setDeviceIndex | ( | TopologyIndex | newDeviceIndex | ) |
void BlockConfigManager::setDeviceComms | ( | PhysicalTopologySource::DeviceConnection * | newConn | ) |
int32 BlockConfigManager::getItemValue | ( | ConfigItemId | item | ) |
References BlockConfigManager::ConfigDescription::value.
void BlockConfigManager::setItemValue | ( | ConfigItemId | item, |
int32 | value | ||
) |
References BlockConfigManager::ConfigDescription::value.
int32 BlockConfigManager::getItemMin | ( | ConfigItemId | item | ) |
References BlockConfigManager::ConfigDescription::min.
void BlockConfigManager::setItemMin | ( | ConfigItemId | item, |
int32 | min | ||
) |
References BlockConfigManager::ConfigDescription::min, and min().
int32 BlockConfigManager::getItemMax | ( | ConfigItemId | item | ) |
References BlockConfigManager::ConfigDescription::max.
void BlockConfigManager::setItemMax | ( | ConfigItemId | item, |
int32 | max | ||
) |
References BlockConfigManager::ConfigDescription::max, and max().
bool BlockConfigManager::getItemActive | ( | ConfigItemId | item | ) |
References BlockConfigManager::ConfigDescription::isActive.
void BlockConfigManager::setItemActive | ( | ConfigItemId | item, |
bool | isActive | ||
) |
References BlockConfigManager::ConfigDescription::isActive.
String BlockConfigManager::getOptionName | ( | ConfigItemId | item, |
uint8 | optionIndex | ||
) |
Block::ConfigMetaData BlockConfigManager::getMetaData | ( | ConfigItemId | item | ) |
void BlockConfigManager::resetConfigListActiveStatus | ( | ) |
void BlockConfigManager::setBlockConfig | ( | ConfigItemId | item, |
int32 | value | ||
) |
void BlockConfigManager::requestBlockConfig | ( | ConfigItemId | item | ) |
void BlockConfigManager::requestFactoryConfigSync | ( | ) |
void BlockConfigManager::requestUserConfigSync | ( | ) |
References BlocksProtocol::HostPacketBuilder< maxPacketBytes >::getData(), BlocksProtocol::HostPacketBuilder< maxPacketBytes >::size(), BlockConfigManager::ConfigDescription::value, BlocksProtocol::HostPacketBuilder< maxPacketBytes >::writePacketSysexFooter(), and BlocksProtocol::HostPacketBuilder< maxPacketBytes >::writePacketSysexHeaderBytes().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
ConfigDescription BlockConfigManager::configList[numConfigItems] |