Components/Libraries/XF/FreeRTOS/StateMachine

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{TOC right}} = StateMachine = This class is a basic state machine whose users state machine must inherits if they would work with XFOS = Member Attributes = = Member Functi...")
 
(Description)
Line 6: Line 6:
 
== StateMachine(string oName, Thread* opThread) ==
 
== StateMachine(string oName, Thread* opThread) ==
 
=== Description ===
 
=== 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 ===
 
=== Parameters ===
 
== ~StateMachine() [virtual] ==
 
== ~StateMachine() [virtual] ==

Revision as of 13:49, 21 August 2017

Contents

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

~StateMachine() [virtual]

Description

Thread* getThread()

Description

void startProcessing() [virtual]

Description

void pushEvent(Event* opEv)

Description

Parameters

eEventStatus process(Event *opEv)

Description

Parameters

void cancelEvent(Event* opEv) [virtual]

Description

Parameters

eEventStatus processEvent(Event *opEv) [pure virtual]

Description

Parameters

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox