OpenMAMA
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
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

virtual Wombat::MamaSourceStateChangeCallback::~MamaSourceStateChangeCallback ( void  )
virtual
43  {}

Member Function Documentation

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.

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


© 2012 Linux Foundation