Classes Files

Wombat::MamaSourceStateChangeCallback

More…

#include <MamaSourceStateChangeCallback.h>

Public Functions

  Name
virtual ~MamaSourceStateChangeCallback(void )
virtual void onStateChanged(MamaSourceGroup & sourceGroup, MamaSource * topWeightSource) =0

Detailed Description

class Wombat::MamaSourceStateChangeCallback;

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

Public Functions Documentation

function ~MamaSourceStateChangeCallback

inline virtual ~MamaSourceStateChangeCallback(
    void 
)

function onStateChanged

virtual void onStateChanged(
    MamaSourceGroup & sourceGroup,
    MamaSource * topWeightSource
) =0

Parameters:

  • sourceGroup The source group notifying the applications.
  • topWeightSource The top weight source in the group. Determined when _reevaluate() is called.

State change callback


Updated on 2023-03-31 at 15:29:25 +0100