Base class for an entity that provides access to a blocks topology. More...
#include <juce_TopologySource.h>


Classes | |
| struct | Listener |
| Used to receive callbacks for topology changes. More... | |
Public Member Functions | |
| virtual | ~TopologySource () |
| Destructor. More... | |
| void | addListener (Listener *l) |
| virtual void | cancelAllActiveTouches () noexcept |
| Invoke this to force touches-off on all physical devices. More... | |
| virtual BlockTopology | getCurrentTopology () const =0 |
| Returns the current topology that this object manages. More... | |
| virtual bool | isActive () const =0 |
| Returns true, if the TopologySource is currently trying to connect the block devices. More... | |
| void | removeListener (Listener *l) |
| virtual void | setActive (bool shouldBeActive)=0 |
| Sets the TopologySource as active, occupying the midi port and trying to connect to the block devices. More... | |
Protected Attributes | |
| juce::ListenerList< Listener > | listeners |
Base class for an entity that provides access to a blocks topology.
{Blocks}
|
inlinevirtual |
Destructor.
References getCurrentTopology(), isActive(), and setActive().
|
inlinevirtualnoexcept |
Invoke this to force touches-off on all physical devices.
Reimplemented in juce::PhysicalTopologySource.
|
pure virtual |
Returns the current topology that this object manages.
Implemented in juce::RuleBasedTopologySource, and juce::PhysicalTopologySource.
Referenced by ~TopologySource().
|
pure virtual |
Returns true, if the TopologySource is currently trying to connect the block devices.
Implemented in juce::RuleBasedTopologySource, and juce::PhysicalTopologySource.
Referenced by ~TopologySource().
|
pure virtual |
Sets the TopologySource as active, occupying the midi port and trying to connect to the block devices.
Implemented in juce::RuleBasedTopologySource, and juce::PhysicalTopologySource.
Referenced by ~TopologySource().
|
protected |
Referenced by addListener(), and removeListener().