Components/Libraries/XF/FreeRTOS/Thread

(Difference between revisions)
Jump to: navigation, search
(Member Attributes)
(Member Attributes)
Line 5: Line 5:
 
Queue '''_eventQueue''' : the event queue of the Thread
 
Queue '''_eventQueue''' : the event queue of the Thread
  
TimerManager '''_pTimerManager''' : a pointer to the timer manager
+
TimerManager* '''_pTimerManager''' : a pointer to the timer manager
  
 
= Member Functions Documentation =
 
= Member Functions Documentation =

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