|
DESERT 3.6.1
|
#include <uw-csma-aloha-trigger-node.h>


Public Member Functions | |
| Csma_Aloha_Triggered_Timer (UwCsmaAloha_Trigger_NODE *m) | |
| virtual | ~Csma_Aloha_Triggered_Timer () |
| virtual void | freeze () |
| virtual void | unFreeze () |
| virtual void | stop () |
| virtual void | schedule (double val) |
| bool | isIdle () |
| bool | isRunning () |
| bool | isExpired () |
| bool | isFrozen () |
| bool | isActive () |
| void | resetCounter () |
| void | incrCounter () |
| int | getCounter () |
| double | getDuration () |
Protected Attributes | |
| double | start_time |
| double | left_duration |
| int | counter |
| UwCsmaAloha_Trigger_NODE *UW_CS_ALOHA_TRIG_NODE_TIMER_STATUS | timer_status |
Class that describes the timers in the node.
Definition at line 142 of file uw-csma-aloha-trigger-node.h.
|
inline |
Constructor of the AlohaTimer class.
| CsmaAloha* | a pointer to an object of type CsmaAloha* |
Definition at line 149 of file uw-csma-aloha-trigger-node.h.
|
inlinevirtual |
Destructor of the AlohaTimer class.
Definition at line 163 of file uw-csma-aloha-trigger-node.h.
|
inlinevirtual |
Freezes the timer.
Definition at line 171 of file uw-csma-aloha-trigger-node.h.
|
inline |
Returns the counter of the timer.
Definition at line 293 of file uw-csma-aloha-trigger-node.h.
|
inline |
Returns the left duration of the timer.
Definition at line 304 of file uw-csma-aloha-trigger-node.h.
|
inline |
Increments the counter of the timer.
Definition at line 283 of file uw-csma-aloha-trigger-node.h.
|
inline |
Checks if the timer is ACTIVE.
Definition at line 263 of file uw-csma-aloha-trigger-node.h.
|
inline |
Checks if the timer is EXPIRED.
Definition at line 243 of file uw-csma-aloha-trigger-node.h.
|
inline |
Checks if the timer is FROZEN.
Definition at line 253 of file uw-csma-aloha-trigger-node.h.
|
inline |
checks if the timer is IDLE
Definition at line 223 of file uw-csma-aloha-trigger-node.h.
|
inline |
checks if the timer is RUNNING
Definition at line 233 of file uw-csma-aloha-trigger-node.h.
|
inline |
Resets the counter of the timer.
Definition at line 273 of file uw-csma-aloha-trigger-node.h.
|
inlinevirtual |
schedule a timer
| double | the duration of the timer |
Definition at line 210 of file uw-csma-aloha-trigger-node.h.
|
inlinevirtual |
stops the timer
Definition at line 199 of file uw-csma-aloha-trigger-node.h.
|
inlinevirtual |
unFreezes is used to resume the timer starting from the point where it was freezed
Definition at line 186 of file uw-csma-aloha-trigger-node.h.
|
protected |
counter of the timer
Definition at line 314 of file uw-csma-aloha-trigger-node.h.
|
protected |
Left duration of the timer.
Definition at line 312 of file uw-csma-aloha-trigger-node.h.
|
protected |
Start time of the timer.
Definition at line 310 of file uw-csma-aloha-trigger-node.h.
|
protected |
< Pointer of an object of type UwCsmaAloha_Triggered
Timer status
Definition at line 319 of file uw-csma-aloha-trigger-node.h.