TopologySource::Listener Struct Reference
juce_blocks_basics » topology

Used to receive callbacks for topology changes. More...

## Public Member Functions

virtual | ~Listener ()=default
virtual void | topologyChanged ()
| Called for any change in topology - devices changed, connections changed, etc. More...
virtual void | blockAdded (const Block::Ptr)
| Called when a new block is added to the topology. More...
virtual void | blockRemoved (const Block::Ptr)
| Called when a block is removed from the topology. More...
virtual void | blockUpdated (const Block::Ptr)
| Called when a known block is updated. More...

## Detailed Description

Used to receive callbacks for topology changes.

## Constructor & Destructor Documentation

## ~Listener()

virtual TopologySource::Listener::~Listener | ( |  | ) |

virtual default

## Member Function Documentation

## topologyChanged()

virtual void TopologySource::Listener::topologyChanged | ( |  | ) |

virtual

Called for any change in topology - devices changed, connections changed, etc.

## blockAdded()

virtual void TopologySource::Listener::blockAdded | ( | const Block::Ptr |  | ) |

virtual

Called when a new block is added to the topology.

## blockRemoved()

virtual void TopologySource::Listener::blockRemoved | ( | const Block::Ptr |  | ) |

virtual

Called when a block is removed from the topology.

## blockUpdated()

virtual void TopologySource::Listener::blockUpdated | ( | const Block::Ptr |  | ) |

virtual

Called when a known block is updated.

This could be because details have been received asynchronously. E.g. Block name.

The documentation for this struct was generated from the following file:

- juce_TopologySource.h