DESERT 3.5.1
|
#include <uwUFetch_NODE.h>
Public Member Functions | |
uwUFetch_NODE_timer (uwUFetch_NODE *m) | |
virtual | ~uwUFetch_NODE_timer () |
virtual void | freeze () |
virtual void | unFreeze () |
virtual void | stop () |
virtual void | schedule (double val) |
bool | isIdle () |
bool | isRunning () |
bool | isFroozen () |
bool | isExpired () |
bool | isActive () |
void | resetCounter () |
void | incrCounter () |
int | getCounter () |
double | getDuration () |
Protected Attributes | |
double | start_time |
double | left_duration |
int | counter |
uwUFetch_NODE *UWUFETCH_TIMER_STATUS | timer_status |
Class that handle the timers of SN or HN.
Definition at line 256 of file uwUFetch_NODE.h.
|
inline |
Constructor of the class uwUFetch_NODE_timer.
m | pointer to uwUFetch_NODE class |
Definition at line 263 of file uwUFetch_NODE.h.
|
inlinevirtual |
Destructor of the class uwUFetch_NODE_timer.
Definition at line 277 of file uwUFetch_NODE.h.
|
inlinevirtual |
Freeze the timer.
Definition at line 283 of file uwUFetch_NODE.h.
|
inline |
|
inline |
left duration of the timer
Definition at line 425 of file uwUFetch_NODE.h.
|
inline |
increment the counter by one value
Definition at line 403 of file uwUFetch_NODE.h.
|
inline |
verify if the timer is ACTIVE
Definition at line 385 of file uwUFetch_NODE.h.
|
inline |
verify whether the timer is EXPIRED
Definition at line 374 of file uwUFetch_NODE.h.
|
inline |
verify if the timer is FROZEN
Definition at line 363 of file uwUFetch_NODE.h.
|
inline |
verify whether the timer is IDLE
Definition at line 341 of file uwUFetch_NODE.h.
|
inline |
verify if the timer is RUNNING
Definition at line 352 of file uwUFetch_NODE.h.
|
inline |
reset the counter that scan the timer
Definition at line 394 of file uwUFetch_NODE.h.
|
inlinevirtual |
schedule a timer
double | the duration of the timer |
Definition at line 327 of file uwUFetch_NODE.h.
|
inlinevirtual |
Stop the timer.
Definition at line 315 of file uwUFetch_NODE.h.
|
inlinevirtual |
unFreeze are used after a freezing of the timer.
In this case the timer restart from the timer where was freezed
check the state of the timer before sheduling the event. If the timer is set, then the call are aborted
Definition at line 299 of file uwUFetch_NODE.h.
|
protected |
Counter of the timer.
Definition at line 433 of file uwUFetch_NODE.h.
|
protected |
Left duration of the timer
Definition at line 432 of file uwUFetch_NODE.h.
|
protected |
Time to start the timer.
Definition at line 431 of file uwUFetch_NODE.h.
|
protected |
< Pointer to an object of type uwUFetch_NODE
Timer status
Definition at line 436 of file uwUFetch_NODE.h.