The BLOCKS SDK
PhysicalTopologySource Class Reference

Description

This topology source manages the topology of the physical Blocks devices that are currently connected.

It maintains a list of them and tells listeners when physical devices are added or removed.

+ Inheritance diagram for PhysicalTopologySource:

Public Member Functions

 PhysicalTopologySource ()
 Constructor. More...
 
 ~PhysicalTopologySource ()
 Destructor. More...
 
BlockTopology getCurrentTopology () const override
 Returns the current physical topology. More...
 
void cancelAllActiveTouches () noexcept override
 Reset all touches. More...
 
 PhysicalTopologySource (DeviceDetector &detectorToUse)
 Constructor for custom transport systems. More...
 
- Public Member Functions inherited from TopologySource
virtual ~TopologySource ()
 Destructor. More...
 
void addListener (Listener *l)
 
void removeListener (Listener *l)
 

Static Public Member Functions

static const char *const * getStandardLittleFootFunctions () noexcept
 

Protected Member Functions

virtual bool hasOwnServiceTimer () const
 
virtual void handleTimerTick ()
 

Classes

struct  DeviceConnection
 For custom transport systems, this represents a connected device. More...
 
struct  DeviceDetector
 For custom transport systems, this represents a connected device. More...
 

Additional Inherited Members

- Protected Attributes inherited from TopologySource
juce::ListenerList< Listenerlisteners
 

Constructor & Destructor Documentation

§ PhysicalTopologySource() [1/2]

PhysicalTopologySource::PhysicalTopologySource ( )

Constructor.

§ ~PhysicalTopologySource()

PhysicalTopologySource::~PhysicalTopologySource ( )

Destructor.

§ PhysicalTopologySource() [2/2]

PhysicalTopologySource::PhysicalTopologySource ( DeviceDetector detectorToUse)

Constructor for custom transport systems.

Member Function Documentation

§ getCurrentTopology()

BlockTopology PhysicalTopologySource::getCurrentTopology ( ) const
overridevirtual

Returns the current physical topology.

Implements TopologySource.

§ cancelAllActiveTouches()

void PhysicalTopologySource::cancelAllActiveTouches ( )
overridevirtualnoexcept

Reset all touches.

Reimplemented from TopologySource.

§ getStandardLittleFootFunctions()

static const char* const* PhysicalTopologySource::getStandardLittleFootFunctions ( )
staticnoexcept

§ hasOwnServiceTimer()

virtual bool PhysicalTopologySource::hasOwnServiceTimer ( ) const
protectedvirtual

§ handleTimerTick()

virtual void PhysicalTopologySource::handleTimerTick ( )
protectedvirtual

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