eUML operators and basic helpers
| eUML function / operator | Description | Functor |
|---|---|---|
|
Calls lazily Action1 && Action2 |
|
|
Calls lazily Action1 || Action2 |
|
|
Calls lazily !Action1 |
|
|
Calls lazily Action1 != Action2 |
|
|
Calls lazily Action1 == Action2 |
|
|
Calls lazily Action1 > Action2 |
|
|
Calls lazily Action1 >= Action2 |
|
|
Calls lazily Action1 < Action2 |
|
|
Calls lazily Action1 <= Action2 |
|
|
Calls lazily Action1 & Action2 |
|
|
Calls lazily Action1 | Action2 |
|
|
Calls lazily Action1 ^ Action2 |
|
|
Calls lazily --Action1 / Action1-- |
|
|
Calls lazily Action1 / Action1 |
|
|
Calls lazily Action1 / Action2 |
|
|
Calls lazily Action1 /= Action2 |
|
|
Calls lazily Action1 * Action2 |
|
|
Calls lazily Action1 *= Action2 |
|
|
Calls lazily Action1 + Action2 |
|
|
Calls lazily +Action1 |
|
|
Calls lazily Action1 += Action2 |
|
|
Calls lazily Action1 - Action2 |
|
|
Calls lazily -Action1 |
|
|
Calls lazily Action1 -= Action2 |
|
|
Calls lazily Action1 % Action2 |
|
|
Calls lazily Action1 %= Action2 |
|
|
Calls lazily Action1 >> Action2 |
|
|
Calls lazily Action1 >>= Action2 |
|
|
Calls lazily Action1 << Action2 |
|
|
Calls lazily Action1 <⇐ Action2 |
|
|
Calls lazily Action1 [Action2] |
|
|
Returns either the result of calling Action1 or the result of calling Action2 |
|
|
Returns the result of calling Action if Condition |
|
|
While Condition(), calls Body(). Returns nothing |
|
|
Calls Body() while Condition(). Returns nothing |
|
|
Calls for(Begin; Stop; EndLoop)\{Body;} |
|
|
Processes Event on the current state machine (if no fsm specified) or on up to 4 state machines returned by an appropriate functor. |
|
|
Processes Event on the current state machine (if no fsm specified) or on up to 2 state machines returned by an appropriate functor. The event is copy-constructed from what Data() returns. |
|
|
Calls is_flag_active() on the current state machine or the one returned by calling fsm. |
|
|
Returns the current event (as const reference) |
|
|
Returns the source state of the currently triggered transition (as reference). If an attribute name is provided, returns the attribute by reference. |
|
|
Returns the target state of the currently triggered transition (as reference). If an attribute name is provided, returns the attribute by reference. |
|
|
Returns the source state of the currently active state (as reference). Valid inside a state entry/exit action. If an attribute name is provided, returns the attribute by reference. |
|
|
Returns the current state machine (as reference). Valid inside a state entry/exit action or a transition. If an attribute name is provided, returns the attribute by reference. |
|
|
Returns (as reference) the state state_name referenced in the current state machine or the one given as argument. |
|
To use these functions, you need to include:
#include <msm/front/euml/euml.hpp>