DESERT 4.0.0
uwUFetch_NODE::uwUFetch_CTS_timer Class Reference

#include <uwUFetch_NODE.h>

Inheritance diagram for uwUFetch_NODE::uwUFetch_CTS_timer:
Inheritance graph
Collaboration diagram for uwUFetch_NODE::uwUFetch_CTS_timer:
Collaboration graph

Public Member Functions

 uwUFetch_CTS_timer (uwUFetch_NODE *m)
 
virtual ~uwUFetch_CTS_timer ()
 
- Public Member Functions inherited from uwUFetch_NODE::uwUFetch_NODE_timer
 uwUFetch_NODE_timer (uwUFetch_NODE *m)
 
virtual ~uwUFetch_NODE_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_NODE::uwUFetch_NODE_timer
double start_time
 
double left_duration
 
int counter
 
uwUFetch_NODE *UWUFETCH_TIMER_STATUS timer_status
 

Detailed Description

Class inherited the method and variable of uwUFetch_NODE_timer that handle the timer of CTS packets. HN set an interval time within It want to receive a CTS packet from AUV. When this interval time expire, HN return in Idle state and interrupt the communication with AUV.

Constructor & Destructor Documentation

◆ uwUFetch_CTS_timer()

uwUFetch_NODE::uwUFetch_CTS_timer::uwUFetch_CTS_timer ( uwUFetch_NODE m)
inline

Constructor of uwUFetch_CTS_timer class

Parameters
ma pointer to an object of type uwUFetch_NODE

◆ ~uwUFetch_CTS_timer()

virtual uwUFetch_NODE::uwUFetch_CTS_timer::~uwUFetch_CTS_timer ( )
inlinevirtual

Member Function Documentation

◆ expire()

void uwUFetch_NODE::uwUFetch_CTS_timer::expire ( Event *  e)
protectedvirtual

Method called when the timer expire

Parameters
Event*pointer to an object of type Event

References uwUFetch_NODE::UWUFETCH_TIMER_STATUS_EXPIRED.


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