|
rad 8.2.0
|
#include <EventListener.h>
Public Member Functions | |
| EventListener () | |
| virtual | ~EventListener () |
| virtual void | notifyEvent (Event *e)=0 |
This class is an interface to implement event listeners.
The State Machine interpreter after processing an event notifies all registered event listeners on which event has been processed.
This notification can be used, for example, to monitor the change of state due to an event. The listener, after receiving the notification, can query the interpreter for the current state.
|
inline |
Creates an event listener.
|
inlinevirtual |
|
pure virtual |
This method is invoked by the State Machine interpreter when an event has been processed.
| e | Processed event. |
Implemented in Scxml4cppListener, and server::ActionsStd.