OpenStructure
|
#include <state_machine.hh>
Public Member Functions | |
StateMachine (QObject *parent) | |
void | addState (State *state) |
void | setInitialState (State *state) |
void | start () |
bool | isActive (State *state) |
void | setActive (State *state) |
bool | eventFilter (QObject *watched, QEvent *event) |
Protected Attributes | |
State * | active_state_ |
Definition at line 14 of file state_machine.hh.
StateMachine | ( | QObject * | parent | ) |
void addState | ( | State * | state | ) |
bool eventFilter | ( | QObject * | watched, |
QEvent * | event | ||
) |
bool isActive | ( | State * | state | ) |
void setActive | ( | State * | state | ) |
void setInitialState | ( | State * | state | ) |
void start | ( | ) |
|
protected |
Definition at line 25 of file state_machine.hh.