#include <Transition.h>
Inheritance diagram for Transition::
Public Methods | |
Transition (State *, State *, TransitionInfo *) | |
Constructor. More... | |
Transition (const Transition &) | |
Copy constructor. | |
~Transition () | |
Destructor. | |
Transition & | operator= (const Transition &) |
Overloaded assignment operator. | |
State * | getStart () |
Returns starting state. | |
void | setStart (State *s) |
Sets starting state. | |
State * | getEnd () |
Returns end state. | |
void | setEnd (State *s) |
Sets end state. | |
TransitionInfo * | getInfo () |
Returns transition info (condition). | |
void | setInfo (TransitionInfo *i) |
Sets the transition condition to i. | |
Static Public Methods | |
int | conditionValid (int type, QString, bool input=TRUE) |
Validates a condition. More... | |
Protected Attributes | |
State * | start |
Start state. | |
State * | end |
End state. | |
TransitionInfo * | info |
Inputs and outputs of the transition condition. |
Base class for the graphical object GTransition.
|
Constructor. Initialises the transition with starting state s and end state e and the info about the condition i. |
|
Validates a condition.
|