The BLOCKS SDK
TopologySource::Listener Struct Reference

Description

Used to receive callbacks for topology changes.

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...
 

Constructor & Destructor Documentation

◆ ~Listener()

virtual TopologySource::Listener::~Listener ( )
virtualdefault

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: