DESERT 4.0.0
uwUFetch_AUV::uwUFetch_RTS_timer Class Reference

#include <uwUFetch_AUV.h>

Inheritance diagram for uwUFetch_AUV::uwUFetch_RTS_timer:
Inheritance graph
Collaboration diagram for uwUFetch_AUV::uwUFetch_RTS_timer:
Collaboration graph

Public Member Functions

 uwUFetch_RTS_timer (uwUFetch_AUV *m)
 
virtual ~uwUFetch_RTS_timer ()
 
- Public Member Functions inherited from uwUFetch_AUV::uwUFetch_timer
 uwUFetch_timer (uwUFetch_AUV *m)
 
virtual ~uwUFetch_timer ()
 
virtual void freeze ()
 
virtual void unFreeze ()
 
virtual void stop ()
 
virtual void schedule (double val)
 
bool isIdle ()
 
bool isRunning ()
 
bool isFroozen ()
 
bool isExpired ()
 
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 uwUFetch_AUV::uwUFetch_timer
double start_time
 
double left_duration
 
int counter
 
uwUFetch_AUV *UWUFETCH_TIMER_STATUS timer_status
 

Detailed Description

Class inherited the method and variable of uwUFetch_timer that handle the timer of RTS packets. When the TRIGGGER packet is transmitted, the AUV node wait for a finite interval time a RTS packet from the HN. The uwUFetch_RTS_timer handle this waiting interval time.

Constructor & Destructor Documentation

◆ uwUFetch_RTS_timer()

uwUFetch_AUV::uwUFetch_RTS_timer::uwUFetch_RTS_timer ( uwUFetch_AUV m)
inline

Constructor of uwUFetch_RTS_timer class

Parameters
mpointer to an object of type UWUFetch_AUV

◆ ~uwUFetch_RTS_timer()

virtual uwUFetch_AUV::uwUFetch_RTS_timer::~uwUFetch_RTS_timer ( )
inlinevirtual

Member Function Documentation

◆ expire()

void uwUFetch_AUV::uwUFetch_RTS_timer::expire ( Event *  e)
protectedvirtual

Method called when the timer expire

Parameters
Event*pointer to an object of type Event

References uwUFetch_AUV::UWUFETCH_TIMER_STATUS_EXPIRED.


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