OpenStructure
|
#include <state.hh>
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_ |
State | ( | ) |
void addTransition | ( | SignalTransition * | transition | ) |
void addTransition | ( | MouseEventTransition * | transition | ) |
void addTransition | ( | KeyEventTransition * | transition | ) |
void addTransition | ( | AutomaticTransition * | transition | ) |
bool checkAutomaticTransitions | ( | ) |
bool checkEvent | ( | QKeyEvent * | event | ) |
bool checkEvent | ( | QMouseEvent * | event | ) |
|
signal |
|
signal |
bool isActive | ( | ) |
|
virtual |
|
virtual |
void setActive | ( | ) |
|
protected |
|
protected |
|
protected |