DESERT 3.5.1
Loading...
Searching...
No Matches
uwUFetch_NODE::uwUFetch_BackOffTimer Class Reference

#include <uwUFetch_NODE.h>

Inheritance diagram for uwUFetch_NODE::uwUFetch_BackOffTimer:
Collaboration diagram for uwUFetch_NODE::uwUFetch_BackOffTimer:

Public Member Functions

 uwUFetch_BackOffTimer (uwUFetch_NODE *m)
 
virtual ~uwUFetch_BackOffTimer ()
 
- 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 from uwUFetch_NODE_Timer) used to handle the time of back-off of the node before transmitting the PROBE packet.

After the reception of a PROBE packet the node set this timer. When the timer expire, the node transmit the PROBE.

Definition at line 483 of file uwUFetch_NODE.h.

Constructor & Destructor Documentation

◆ uwUFetch_BackOffTimer()

uwUFetch_NODE::uwUFetch_BackOffTimer::uwUFetch_BackOffTimer ( uwUFetch_NODE m)
inline

Constructor of uwUFetch_BackOffTimer class.

Parameters
uwUFetch_NODE*pointer to an object of type uwUFetch_NODE

Definition at line 491 of file uwUFetch_NODE.h.

◆ ~uwUFetch_BackOffTimer()

virtual uwUFetch_NODE::uwUFetch_BackOffTimer::~uwUFetch_BackOffTimer ( )
inlinevirtual

Destructor of uwUFetch_BackOffTimer class.

Definition at line 499 of file uwUFetch_NODE.h.

Member Function Documentation

◆ expire()

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

Method called when the timer expire.

Parameters
Eevent*pointer to an object of type Event

Definition at line 2909 of file uwUFetch_NODE_SENSOR.cpp.


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