rad 8.2.0
Loading...
Searching...
No Matches
scxml4cpp::StatusListener Class Referenceabstract

#include <StatusListener.h>

Inheritance diagram for scxml4cpp::StatusListener:
Scxml4cppListener TestExecutorStatusListener rad::SMAdapter server::ActionsStd rad::Application rad::utest::Application

Public Member Functions

 StatusListener ()
 
virtual ~StatusListener ()
 
virtual void notifyStatus (std::list< State * > &status)=0
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ StatusListener()

scxml4cpp::StatusListener::StatusListener ( )
inline

Creates a status listener.

◆ ~StatusListener()

virtual scxml4cpp::StatusListener::~StatusListener ( )
inlinevirtual

Member Function Documentation

◆ notifyStatus()

virtual void scxml4cpp::StatusListener::notifyStatus ( std::list< State * > & status)
pure virtual

This method is invoked by the State Machine interpreter every time a new state is entered.

Parameters
statusList of currently active states.

Implemented in Scxml4cppListener, server::ActionsStd, and TestExecutorStatusListener.


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