DESERT 4.0.0
uwUFetch_AUV::uwUFetch_TRIGGER_timer Class Reference

#include <uwUFetch_AUV.h>

Inheritance diagram for uwUFetch_AUV::uwUFetch_TRIGGER_timer:
Inheritance graph
Collaboration diagram for uwUFetch_AUV::uwUFetch_TRIGGER_timer:
Collaboration graph

Public Member Functions

 uwUFetch_TRIGGER_timer (uwUFetch_AUV *m)
 
virtual ~uwUFetch_TRIGGER_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 TRIGGER packets. Before to transmit in broadcast to the HNs a TRIGGER packet, the AUV node wait a finite interval time, after that start with the creation and transmission of TRIGGER packet.

Constructor & Destructor Documentation

◆ uwUFetch_TRIGGER_timer()

uwUFetch_AUV::uwUFetch_TRIGGER_timer::uwUFetch_TRIGGER_timer ( uwUFetch_AUV m)
inline

Constructor of uwUFetch_TRIGGER_timer class

Parameters
ma pointer to an object of type uwUFetch_AUV

◆ ~uwUFetch_TRIGGER_timer()

virtual uwUFetch_AUV::uwUFetch_TRIGGER_timer::~uwUFetch_TRIGGER_timer ( )
inlinevirtual

Member Function Documentation

◆ expire()

void uwUFetch_AUV::uwUFetch_TRIGGER_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::timer_status, and uwUFetch_AUV::UWUFETCH_TIMER_STATUS_EXPIRED.


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