SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
#include <StateMachine.h>
Public Member Functions | |
virtual void | invokeStateAction (StateMachine *sm, const EventData *data, const bool stateEntry, const bool stateExit) const |
Public Member Functions inherited from sm::StateBase | |
virtual | ~StateBase () |
StateAction takes three template arguments: A state machine class, a state function event data type (derived from EventData) and a state machine member function pointer.
SM | |
Data | |
Func |
Definition at line 55 of file StateMachine.h.
|
inlinevirtual |
Called by the state machine to execute a state action.
sm | A state machine instance |
data | The event data |
stateEntry | |
stateExit |
Reimplemented from sm::StateBase.
Definition at line 58 of file StateMachine.h.