Components/Libraries/XF/FreeRTOS/IStateMachine
(Difference between revisions)
Sara.chalokh (Talk | contribs) (→string getName()) |
Sara.chalokh (Talk | contribs) (→void startProcessing() [pure virtual]) |
||
Line 27: | Line 27: | ||
== void startProcessing() [pure virtual] == | == void startProcessing() [pure virtual] == | ||
=== Description === | === Description === | ||
+ | Starts the state machine. This method must be implemented in subclass | ||
+ | |||
== pushEvent(Event* opEv) [pusr virtual] == | == pushEvent(Event* opEv) [pusr virtual] == | ||
=== Description === | === Description === |
Revision as of 13:41, 21 August 2017
IStateMachine
This is an interface that defines all basic methods of a state machine
Member Attributes
Member Functions Documentation
IStateMachine(string oName)
Description
The constructor of the IStateMachine
Parameters
string oName : the name of the state machine
~IStateMachine() [virtual]
Description
The destructor of the IStateMachine.
void setName(string oNewName)
Description
Set the name of the state machine
Parameters
string oNewName : the new name of the state machine
string getName()
Description
Returns the name of the state machine.
void startProcessing() [pure virtual]
Description
Starts the state machine. This method must be implemented in subclass