OpenMAMA C++ API
Wombat::MamaSourceStateChangeCallback Class Referenceabstract

Applications can register with MamaSourceGroup to receive state change notifications when the state of sources within the group has changed. More...

#include <MamaSourceStateChangeCallback.h>

Public Member Functions

virtual ~MamaSourceStateChangeCallback (void)
 
virtual void onStateChanged (MamaSourceGroup &sourceGroup, MamaSource *topWeightSource)=0
 State change callback. More...
 

Detailed Description

Applications can register with MamaSourceGroup to receive state change notifications when the state of sources within the group has changed.

Constructor & Destructor Documentation

§ ~MamaSourceStateChangeCallback()

virtual Wombat::MamaSourceStateChangeCallback::~MamaSourceStateChangeCallback ( void  )
inlinevirtual

Member Function Documentation

§ onStateChanged()

virtual void Wombat::MamaSourceStateChangeCallback::onStateChanged ( MamaSourceGroup sourceGroup,
MamaSource topWeightSource 
)
pure virtual

State change callback.

Parameters
sourceGroupThe source group notifying the applications.
topWeightSourceThe top weight source in the group. Determined when _reevaluate() is called.