#include <state.hh>
Inherits PyQt4::QtCore::QObject.
Signals | |
void | entered () |
void | exited () |
Public Member Functions | |
State () | |
void | addTransition (SignalTransition *transition) |
void | addTransition (MouseEventTransition *transition) |
void | addTransition (KeyEventTransition *transition) |
void | addTransition (AutomaticTransition *transition) |
bool | isActive () |
void | setActive () |
bool | checkEvent (QKeyEvent *event) |
bool | checkEvent (QMouseEvent *event) |
bool | checkAutomaticTransitions () |
virtual void | onEntry () |
virtual void | onExit () |
Protected Attributes | |
QList< MouseEventTransition * > | mouse_event_transitions_ |
QList< KeyEventTransition * > | key_event_transitions_ |
QList< AutomaticTransition * > | automatic_transitions_ |
Definition at line 38 of file state.hh.
State | ( | ) |
void addTransition | ( | AutomaticTransition * | transition | ) |
void addTransition | ( | KeyEventTransition * | transition | ) |
void addTransition | ( | MouseEventTransition * | transition | ) |
void addTransition | ( | SignalTransition * | transition | ) |
bool checkAutomaticTransitions | ( | ) |
bool checkEvent | ( | QMouseEvent * | event | ) |
bool checkEvent | ( | QKeyEvent * | event | ) |
void entered | ( | ) | [signal] |
void exited | ( | ) | [signal] |
bool isActive | ( | ) |
virtual void onEntry | ( | ) | [virtual] |
virtual void onExit | ( | ) | [virtual] |
void setActive | ( | ) |
QList<AutomaticTransition*> automatic_transitions_ [protected] |
QList<KeyEventTransition*> key_event_transitions_ [protected] |
QList<MouseEventTransition*> mouse_event_transitions_ [protected] |