Components/Libraries/XF/FreeRTOS/IStateMachine

(Difference between revisions)
Jump to: navigation, search
(string getName())
(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

Contents

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

pushEvent(Event* opEv) [pusr virtual]

Description

Parameters

eEventStatus process(Event* opEv) [pure virtual]

Description

Parameters

void cancelEvent(Event* opEv) [pure virtual]

Description

Parameters

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox