|
DESERT 4.0.0
|
#include <uwpolling_AUV.h>


Public Member Functions | |
| DataTimer (Uwpolling_AUV *m) | |
| virtual | ~DataTimer () |
Public Member Functions inherited from Uwpolling_AUV::Uwpolling_AUV_Timer | |
| Uwpolling_AUV_Timer (Uwpolling_AUV *m) | |
| virtual | ~Uwpolling_AUV_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 Member Functions | |
| virtual void | expire (Event *e) |
Additional Inherited Members | |
Protected Attributes inherited from Uwpolling_AUV::Uwpolling_AUV_Timer | |
| double | start_time |
| double | left_duration |
| int | counter |
| Uwpolling_AUV *UWPOLLING_TIMER_STATUS | timer_status |
Class (inherited from Uwpolling_AUV_Timer) used to handle the timer of data packets When the AUV give the POLL packet to a node, he set up the timer in which the node has to transmit his packets. The duration of the timer is calculated based on the RTT between the AUV and the node and the duration of the transmission of a packet
|
inline |
Conscructor of DataTimer class
| Uwpolling_AUV* | pointer to an object of type Uwpolling_AUV |
|
inlinevirtual |
Destructor of DataTimer class
|
protectedvirtual |
Method called when the timer expire
| Event* | pointer to an object of type Event |
References Uwpolling_AUV::Uwpolling_AUV_Timer::timer_status, and Uwpolling_AUV::UWPOLLING_EXPIRED.