Components/Libraries/XF/FreeRTOS/EventDelay
From UIT
(Difference between revisions)
Sara.chalokh (Talk | contribs) (→Parameters =) |
Sara.chalokh (Talk | contribs) (→Parameters) |
||
(One intermediate revision by one user not shown) | |||
Line 3: | Line 3: | ||
This class is a timer that can manage the delay of an event | This class is a timer that can manage the delay of an event | ||
= Member Attributes = | = Member Attributes = | ||
− | Event* _pEv : the event that need a delay | + | Event* '''_pEv''' : the event that need a delay |
= Member Functions Documentation = | = Member Functions Documentation = | ||
== EventDelay(Event* opEv) == | == EventDelay(Event* opEv) == | ||
=== Description === | === Description === | ||
The constructor of the Event delay | The constructor of the Event delay | ||
− | == Parameters == | + | === Parameters === |
Event* '''opEv''' : the event that need a timeout | Event* '''opEv''' : the event that need a timeout | ||
+ | |||
+ | == ~EventDelay() [virtual] == | ||
+ | === Description === | ||
+ | The destructor of the EventDelay | ||
+ | == Event* getEvent() == | ||
+ | === Description === | ||
+ | Returns the event | ||
+ | == void callback() [virtual] [protected] == | ||
+ | === Description === | ||
+ | The function called when the delay expire. It will call the timer manager to notify it that the delay expires |
Latest revision as of 20:28, 24 August 2017
|
EventDelay
This class is a timer that can manage the delay of an event
Member Attributes
Event* _pEv : the event that need a delay
Member Functions Documentation
EventDelay(Event* opEv)
Description
The constructor of the Event delay
Parameters
Event* opEv : the event that need a timeout
~EventDelay() [virtual]
Description
The destructor of the EventDelay
Event* getEvent()
Description
Returns the event
void callback() [virtual] [protected]
Description
The function called when the delay expire. It will call the timer manager to notify it that the delay expires