Components/Libraries/XF/FreeRTOS/Thread

(Difference between revisions)
Jump to: navigation, search
(Member Attributes)
(Description)
Line 10: Line 10:
 
== Thread(TimerManager* opTimerManager, std::string oName, PRIORITY_SIZE oPriority, STACKSIZE_SIZE oStackDepth) ==
 
== Thread(TimerManager* opTimerManager, std::string oName, PRIORITY_SIZE oPriority, STACKSIZE_SIZE oStackDepth) ==
 
=== Description ===
 
=== Description ===
 +
The constructor of the Thread. It create the Thread and initialuîze the event queue.
 +
 
=== Parameters ===
 
=== Parameters ===
 
== ~Thread() [virtual] ==
 
== ~Thread() [virtual] ==

Revision as of 13:20, 21 August 2017

Contents

Thread

This class is the basic thread of the XFOS. It manages state machines, dispatch the events and schedule timeouts when an event need it. This class contains an event queue where a put events waiting for process.

Member Attributes

Queue _eventQueue : the event queue of the Thread

TimerManager* _pTimerManager : a pointer to the timer manager

Member Functions Documentation

Thread(TimerManager* opTimerManager, std::string oName, PRIORITY_SIZE oPriority, STACKSIZE_SIZE oStackDepth)

Description

The constructor of the Thread. It create the Thread and initialuîze the event queue.

Parameters

~Thread() [virtual]

Description

void pushEvent(Event* opEv, timeSize oTimeToWait) [virtual]

Description

Parameters

timeoutIndication(Event* opEv)

Description

Parameters

void threadMain()

Description

void scheduleTimeout(Event* opEv)

Description

Parameters

void dispatchEvent(Event* opEv) [virtual]

Description

Parameters

void deleteEvent(Event* opEv)

Description

Parameters

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox