|
rad 8.2.0
|
#include <StatusListener.h>
Public Member Functions | |
| StatusListener () | |
| virtual | ~StatusListener () |
| virtual void | notifyStatus (std::list< State * > &status)=0 |
This class is an interface to implement change of state listeners.
The State Machine interpreter after entering a new state notifies all registered status listeners with the list of states it has entered.
This notification can be used, for example, to monitor in detail the all the states which are entered and the order in which the states are entered.
See the EventListener interface for getting only the final state configuration after an event has been processed.
|
inline |
Creates a status listener.
|
inlinevirtual |
|
pure virtual |
This method is invoked by the State Machine interpreter every time a new state is entered.
| status | List of currently active states. |
Implemented in Scxml4cppListener, server::ActionsStd, and TestExecutorStatusListener.