SPAOP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
wonder::SourceController::Listener Class Referenceabstract

An interface for a listener that listens to various callbacks triggered by incoming messages or connection timeout alerts. More...

#include <SourceController.h>

Inheritance diagram for wonder::SourceController::Listener:
Inheritance graph
[legend]

Public Member Functions

virtual ~Listener ()
 Destructor. More...
 
virtual void incomingParameterChange (Source::AutomatedParameters index, float newValue)=0
 Called when one of the sources automatable parameters is changed by an incoming message. More...
 
virtual void incomingMaxNoSources (const int maxSources)
 Called when the maximum number of sources allowed by the WONDER system has been received via the /global/maxNoSources message. More...
 
virtual void connectionLost ()
 Called when the (incoming data) connection is lost. More...
 

Detailed Description

An interface for a listener that listens to various callbacks triggered by incoming messages or connection timeout alerts.

Constructor & Destructor Documentation

virtual wonder::SourceController::Listener::~Listener ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual void wonder::SourceController::Listener::connectionLost ( )
inlinevirtual

Called when the (incoming data) connection is lost.

virtual void wonder::SourceController::Listener::incomingMaxNoSources ( const int  maxSources)
inlinevirtual

Called when the maximum number of sources allowed by the WONDER system has been received via the /global/maxNoSources message.

Parameters
maxSourcesthe maximum number of sources the WONDER system can handle. Wonder IDs must not exceed maxSources-1.
Warning
The SourceController class ignores these values. Its maximum number of sources is statically set at compile time via the MAX_WONDER_SOURCES define.
virtual void wonder::SourceController::Listener::incomingParameterChange ( Source::AutomatedParameters  index,
float  newValue 
)
pure virtual

Called when one of the sources automatable parameters is changed by an incoming message.