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. |
Implements MainImp.
Reimplemented in StateMachineDimControl.
Definition at line 1073 of file StateMachineImp.cc.
References fExitRequested.
Referenced by StateMachineDim::exitHandler(), Run(), RunShell(), and StateMachineDimControl::Stop().