|
PIP
0.4.0_beta2
Platform-Independent Primitives
|
Rule of transition between states of machine More...
Public Member Functions | |
| Rule () | |
| Constuctor. | |
| Rule (Type f, Type t, const PIStringList &c=PIStringList(), Handler h=0, bool at=false, bool rac=false) | |
| Constuctor. | |
| void | addCondition (const PIString &name, int times=1) |
| Add condition of transition. | |
Public Attributes | |
| Type | from |
| Source state. | |
| Type | to |
| Destination state. | |
| PIVector< Condition > | conditions |
| Conditions of transition | |
| bool | autoTransition |
| Automatic transition. | |
| bool | resetAllConditions |
| Reset or not all performed conditions of machine on transition. | |
| Handler | handler |
| Pointer to function executed on transition. | |
Rule of transition between states of machine