DESERT 3.5.1
Loading...
Searching...
No Matches
Uwpolling_NODE::Tx_Data_Timer Class Reference

#include <uwpolling_NODE.h>

Inheritance diagram for Uwpolling_NODE::Tx_Data_Timer:
Collaboration diagram for Uwpolling_NODE::Tx_Data_Timer:

Public Member Functions

 Tx_Data_Timer (Uwpolling_NODE *m)
 
virtual ~Tx_Data_Timer ()
 
- Public Member Functions inherited from Uwpolling_NODE::Uwpolling_NODE_Timer
 Uwpolling_NODE_Timer (Uwpolling_NODE *m)
 
virtual ~Uwpolling_NODE_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_NODE::Uwpolling_NODE_Timer
double start_time
 
double left_duration
 
int counter
 
Uwpolling_NODE *UWPOLLING_TIMER_STATUS timer_status
 

Detailed Description

Class (inherited from Uwpolling_NODE_Timer) used to handle the time between the transmission of the DATA packets when the node is polled It is useful to let the AUV receive and elaborate the packet before transmit the new one.

(Otherwise the new one would be dropped by the AUV

Definition at line 400 of file uwpolling_NODE.h.

Constructor & Destructor Documentation

◆ Tx_Data_Timer()

Uwpolling_NODE::Tx_Data_Timer::Tx_Data_Timer ( Uwpolling_NODE m)
inline

Conscructor of Tx_Data_Timer class.

Parameters
Uwpolling_NODE*pointer to an object of type Uwpolling_NODE

Definition at line 407 of file uwpolling_NODE.h.

◆ ~Tx_Data_Timer()

virtual Uwpolling_NODE::Tx_Data_Timer::~Tx_Data_Timer ( )
inlinevirtual

Destructor of Tx_Data_Timer class.

Definition at line 415 of file uwpolling_NODE.h.

Member Function Documentation

◆ expire()

void Uwpolling_NODE::Tx_Data_Timer::expire ( Event *  e)
protectedvirtual

Method call when the timer expire.

Parameters
Eevent*pointer to an object of type Event

Definition at line 105 of file uwpolling_NODE.cpp.


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