Components/Libraries/XF/FreeRTOS/StateMachineDirectory

From UIT
Revision as of 20:36, 24 August 2017 by Sara.chalokh (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

StateMachineDirectory

This class contain a list of all state machine and can be consulted by all state machine for the inter-state machine communication

Implements the singleton pattern

Member Attributes

StateMachineDirectory* _pInstance : the only one instance of this class list<StateMachine*>* _smList : the list of all state machine

Member Functions Documentation

StateMachineDirectory* getInstance() [static]

Description

Return the instance of the state machine directory

~StateMachineDirectory()

Description

The destructor of the StateMachineDirectory

void addStateMachine(StateMachine* oSmToAdd)

Description

oSmToAdd : a pointer to the state machine to add

bool removeStateMachine(StateMachine* oSmToAdd)

Description

oSmToAdd : a pointer to the state machine to remove

StateMachineDirectory()

Description

Return a constant pointer to the state machine list

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox