Universal implemntation of state machine action invocation. More...
Public Member Functions | |
__construct ($machine, $action, $action_desc) | |
Setup block to act as expected. More... | |
main () | |
Block body. More... | |
Public Attributes | |
const | force_exec = true |
Block must be always executed. | |
Protected Attributes | |
$inputs | |
Block inputs. More... | |
$outputs | |
Block outputs. More... | |
$machine | |
State machine. | |
$action | |
Name of the action to invoke. | |
$output_values | |
How block outputs should be set after action is finished. | |
Universal implemntation of state machine action invocation.
Inputs are passed as arguments to the transition, returned value is set on one or more outputs.
Output 'done' is set to true if return value of transition is not FALSE.
__construct | ( | $machine, | |
$action, | |||
$action_desc | |||
) |
Setup block to act as expected.
Configuration is done by BlockStorage.
|
protected |
Block inputs.
|
protected |
Block outputs.