DESERT 4.0.0
Uwpolling_AUV::ProbeTimer Class Reference

#include <uwpolling_AUV.h>

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

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

Constructor & Destructor Documentation

◆ ProbeTimer()

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

Conscructor of ProbeTimer class

◆ ~ProbeTimer()

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

Destructor of ProbeTimer class

Parameters
Uwpolling_AUV*Pointer of an object of type Uwpolling_AUV

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

References Uwpolling_AUV::UWPOLLING_EXPIRED.


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