|
JUCE
|
Helper class for constructing a packet for sending to a BLOCKS device. More...
Public Member Functions | |
| HostPacketBuilder () noexcept | |
| HostPacketBuilder (const HostPacketBuilder &)=delete | |
| HostPacketBuilder (HostPacketBuilder &&)=default | |
| const void * | getData () const noexcept |
| int | size () const noexcept |
| void | writePacketSysexHeaderBytes (TopologyIndex deviceIndex) noexcept |
| void | writePacketSysexFooter () noexcept |
| bool | deviceControlMessage (DeviceCommand command) noexcept |
| bool | beginDataChanges (PacketIndex packetIndex) noexcept |
| bool | endDataChanges (bool isLastChange) noexcept |
| bool | skipBytes (int numToSkip) noexcept |
| bool | setMultipleBytes (const uint8 *values, int num) noexcept |
| bool | setMultipleBytes (uint8 value, uint8 lastValue, int num) noexcept |
| bool | addProgramEventMessage (const int32 *messageData) |
| bool | addFirmwareUpdatePacket (const uint8 *packetData, uint8 size) |
| bool | addConfigSetMessage (int32 item, int32 value) |
| bool | addRequestMessage (int32 item) |
| bool | addRequestFactorySyncMessage () |
| bool | addRequestUserSyncMessage () |
| bool | addFactoryReset () |
| bool | addBlockReset () |
| bool | addSetBlockName (const juce::String &name) |
Helper class for constructing a packet for sending to a BLOCKS device.
|
noexcept |
|
delete |
|
default |
|
noexcept |
|
noexcept |
References BlocksProtocol::Packed7BitArrayBuilder< allocatedBytes >::size().
Referenced by BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addFirmwareUpdatePacket(), BlockConfigManager::requestBlockConfig(), BlockConfigManager::requestFactoryConfigSync(), BlockConfigManager::requestUserConfigSync(), and BlockConfigManager::setBlockConfig().
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
References BlocksProtocol::IntegerWithBitSize< numBits >::bits, BlocksProtocol::IntegerWithBitSize< 8 >::bits, BlocksProtocol::Packed7BitArrayBuilder< allocatedBytes >::getState(), BlocksProtocol::Packed7BitArrayBuilder< allocatedBytes >::hasCapacity(), BlocksProtocol::IntegerWithBitSize< numBits >::maxValue, BlocksProtocol::IntegerWithBitSize< 8 >::maxValue, BlocksProtocol::Packed7BitArrayBuilder< allocatedBytes >::restore(), BlocksProtocol::skipBytesFew, and BlocksProtocol::skipBytesMany.
|
noexcept |
References BlocksProtocol::IntegerWithBitSize< numBits >::bits, BlocksProtocol::IntegerWithBitSize< 8 >::bits, BlocksProtocol::Packed7BitArrayBuilder< allocatedBytes >::hasCapacity(), and BlocksProtocol::setSequenceOfBytes.
Referenced by BlocksProtocol::HostPacketBuilder< maxPacketBytes >::setMultipleBytes().
|
noexcept |
References BlocksProtocol::IntegerWithBitSize< numBits >::bits, BlocksProtocol::IntegerWithBitSize< 8 >::bits, BlocksProtocol::Packed7BitArrayBuilder< allocatedBytes >::getState(), BlocksProtocol::Packed7BitArrayBuilder< allocatedBytes >::hasCapacity(), BlocksProtocol::IntegerWithBitSize< numBits >::maxValue, BlocksProtocol::IntegerWithBitSize< 8 >::maxValue, BlocksProtocol::Packed7BitArrayBuilder< allocatedBytes >::restore(), BlocksProtocol::setFewBytesWithLastValue, BlocksProtocol::setFewBytesWithValue, BlocksProtocol::setManyBytesWithValue, and BlocksProtocol::HostPacketBuilder< maxPacketBytes >::setMultipleBytes().
| bool BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addProgramEventMessage | ( | const int32 * | messageData | ) |
| bool BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addFirmwareUpdatePacket | ( | const uint8 * | packetData, |
| uint8 | size | ||
| ) |
| bool BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addConfigSetMessage | ( | int32 | item, |
| int32 | value | ||
| ) |
| bool BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addRequestMessage | ( | int32 | item | ) |
| bool BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addRequestFactorySyncMessage | ( | ) |
| bool BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addRequestUserSyncMessage | ( | ) |
| bool BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addFactoryReset | ( | ) |
| bool BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addBlockReset | ( | ) |
| bool BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addSetBlockName | ( | const juce::String & | name | ) |
1.8.13