DESERT 3.5.1
Loading...
Searching...
No Matches
Uwpolling_AUV::ProbeTimer Class Reference

#include <uwpolling_AUV.h>

Inheritance diagram for Uwpolling_AUV::ProbeTimer:
Collaboration diagram for Uwpolling_AUV::ProbeTimer:

Public Member Functions

 ProbeTimer (Uwpolling_AUV *m)
 
virtual ~ProbeTimer ()
 
- 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
 

Detailed Description

Class (inherited from Uwpolling_AUV_Timer) used to handle the Probe Timer.

The duration of this timer is the time in which the nodes can transmit their PROBE packets to "book" the possibility to transmit data packets to the AUV

Definition at line 482 of file uwpolling_AUV.h.

Constructor & Destructor Documentation

◆ ProbeTimer()

Uwpolling_AUV::ProbeTimer::ProbeTimer ( Uwpolling_AUV m)
inline

Conscructor of ProbeTimer class.

Definition at line 488 of file uwpolling_AUV.h.

◆ ~ProbeTimer()

virtual Uwpolling_AUV::ProbeTimer::~ProbeTimer ( )
inlinevirtual

Destructor of ProbeTimer class.

Parameters
Uwpolling_AUV*Pointer of an object of type Uwpolling_AUV

Definition at line 497 of file uwpolling_AUV.h.

Member Function Documentation

◆ expire()

void Uwpolling_AUV::ProbeTimer::expire ( Event *  e)
protectedvirtual

Method call when the timer expire.

Parameters
Event*pointer to an object of type Event

Definition at line 370 of file uwpolling_AUV.cpp.


The documentation for this class was generated from the following files: