|
JUCE
|
Represents traversal paths from master blocks and any connected blocks. More...
Public Types | |
| using | BlockTraversalPaths = Array< Block::Array, CriticalSection > |
Public Member Functions | |
| BlockGraph (const BlockTopology topology, std::function< bool(Block::Ptr block)> filter=nullptr) | |
| Creates a BlockGraph object from a BlockTopology with an optional filter function. More... | |
| BlockGraph (BlockGraph &&) | |
| BlockTraversalPaths | getTraversalPaths () const |
| Get traversal paths for each master block in a topology. More... | |
| Block::Array | getTraversalPathFromMaster (Block::Ptr masterBlock) const |
| Get traversal path for a specific master block in a topology. More... | |
| String | asString () const |
| Gets a string representation of all traversal paths. More... | |
Represents traversal paths from master blocks and any connected blocks.
| BlockGraph::BlockGraph | ( | const BlockTopology | topology, |
| std::function< bool(Block::Ptr block)> | filter = nullptr |
||
| ) |
Creates a BlockGraph object from a BlockTopology with an optional filter function.
This will build a block graph of traversal paths for each master.
| BlockGraph::BlockGraph | ( | BlockGraph && | ) |
| BlockTraversalPaths BlockGraph::getTraversalPaths | ( | ) | const |
Get traversal paths for each master block in a topology.
| Block::Array BlockGraph::getTraversalPathFromMaster | ( | Block::Ptr | masterBlock | ) | const |
Get traversal path for a specific master block in a topology.
| String BlockGraph::asString | ( | ) | const |
Gets a string representation of all traversal paths.
1.8.13