DESERT 3.5.1
|
#include <uwpolling_AUV.h>
Public Member Functions | |
DataTimer (Uwpolling_AUV *m) | |
virtual | ~DataTimer () |
![]() | |
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 | |
![]() | |
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
Definition at line 449 of file uwpolling_AUV.h.
|
inline |
Conscructor of DataTimer class.
Uwpolling_AUV* | pointer to an object of type Uwpolling_AUV |
Definition at line 456 of file uwpolling_AUV.h.
|
inlinevirtual |
Destructor of DataTimer class.
Definition at line 464 of file uwpolling_AUV.h.
|
protectedvirtual |
Method called when the timer expire.
Event* | pointer to an object of type Event |
Definition at line 357 of file uwpolling_AUV.cpp.