Describes a set of blocks and the connections between them.
Public Member Functions | |
bool | operator== (const BlockTopology &) const noexcept |
bool | operator!= (const BlockTopology &) const noexcept |
Block::Ptr | getBlockWithUID (Block::UID deviceID) |
const Block::Ptr | getBlockWithUID (Block::UID deviceID) const |
Block::Array | getDirectlyConnectedBlocks (Block::UID blockUID) const |
juce::Array< BlockDeviceConnection > | getConnectionsBetweenBlocks (Block::UID uid1, Block::UID uid2) const |
int | getNumberOfConnectionsToBlock (Block::UID uid) const |
Public Attributes | |
Block::Array | blocks |
juce::Array< BlockDeviceConnection > | connections |
|
noexcept |
|
noexcept |
Block::Ptr BlockTopology::getBlockWithUID | ( | Block::UID | deviceID | ) |
References blocks.
Referenced by TopologySource::getBlockWithUID(), and getDirectlyConnectedBlocks().
const Block::Ptr BlockTopology::getBlockWithUID | ( | Block::UID | deviceID | ) | const |
References blocks.
Block::Array BlockTopology::getDirectlyConnectedBlocks | ( | Block::UID | blockUID | ) | const |
References connections, and getBlockWithUID().
juce::Array<BlockDeviceConnection> BlockTopology::getConnectionsBetweenBlocks | ( | Block::UID | uid1, |
Block::UID | uid2 | ||
) | const |
References connections.
int BlockTopology::getNumberOfConnectionsToBlock | ( | Block::UID | uid | ) | const |
References connections.
Block::Array BlockTopology::blocks |
Referenced by TopologySource::getBlocks(), and getBlockWithUID().
juce::Array<BlockDeviceConnection> BlockTopology::connections |
Referenced by getConnectionsBetweenBlocks(), getDirectlyConnectedBlocks(), and getNumberOfConnectionsToBlock().