OpenStructure
|
#include <state_machine.hh>
Inherits QObject.
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 33 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 44 of file state_machine.hh.