FACT++
1.0
|
|
virtual |
Request to stop the mainloop.
This function can be called to stop the loop of a running state machine. Run() will then return with a return value corresponding to the value given as argument.
Note that this is a dangerous operation, because as soon as one of the three state machine commands returns (Execute(), Configure() and Transition()) the loop will be left and Run(9 will return. The program is then responsible of correctly cleaning up the mess which might be left behind.
code | int with which Run() should return when returning. |
Reimplemented from StateMachineImp.
Definition at line 139 of file StateMachineDimControl.cc.
References InterpreterV8::JsStop(), and StateMachineImp::Stop().
Referenced by SetInterruptHandler().