Components/Libraries/XF/FreeRTOS/StateMachine
(Difference between revisions)
Sara.chalokh (Talk | contribs) (→~StateMachine() [virtual]) |
Sara.chalokh (Talk | contribs) (→Thread* getThread()) |
||
Line 21: | Line 21: | ||
== Thread* getThread() == | == Thread* getThread() == | ||
=== Description === | === Description === | ||
+ | Returns the thread where the state machine is living | ||
+ | |||
== void startProcessing() [virtual] == | == void startProcessing() [virtual] == | ||
=== Description === | === Description === |
Revision as of 13:50, 21 August 2017
StateMachine
This class is a basic state machine whose users state machine must inherits if they would work with XFOS
Member Attributes
Member Functions Documentation
StateMachine(string oName, Thread* opThread)
Description
The constructor of the StateMachine. It automatically set the actual state to Initial.
If useStateMachineDirectory is define, it add the state machine to the directory
Parameters
string oName : the name of the state machine
Thread* opThread : a pointer to the thread where the state machine will live
~StateMachine() [virtual]
Description
The destructor of the StateMachine
Thread* getThread()
Description
Returns the thread where the state machine is living