Components/Libraries/XF/FreeRTOS/Thread

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{TOC right}} = 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 con...")
 
(Member Attributes)
Line 3: Line 3:
 
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.
 
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 =
 
= Member Attributes =
 +
Queue '''_eventQueue''' : the event queue of the Thread
 +
 +
TimerManager '''_pTimerManager''' : a pointer to the timer manager
 +
 
= Member Functions Documentation =
 
= Member Functions Documentation =
 
== Thread(TimerManager* opTimerManager, std::string oName, PRIORITY_SIZE oPriority, STACKSIZE_SIZE oStackDepth) ==
 
== Thread(TimerManager* opTimerManager, std::string oName, PRIORITY_SIZE oPriority, STACKSIZE_SIZE oStackDepth) ==

Revision as of 13:19, 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

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