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

#include <uwUFetch_NODE.h>

Inheritance diagram for uwUFetch_NODE::uwUFetch_CBeacon_timer:
Collaboration diagram for uwUFetch_NODE::uwUFetch_CBeacon_timer:

Public Member Functions

 uwUFetch_CBeacon_timer (uwUFetch_NODE *m)
 
virtual ~uwUFetch_CBeacon_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 CBEACON packets.

SN set a time interval within it want to receive a CBEACON packet from a specific HN. If this timer expired the SN return in Idle state and wait a new BEACON packet from any HN

Definition at line 658 of file uwUFetch_NODE.h.

Constructor & Destructor Documentation

◆ uwUFetch_CBeacon_timer()

uwUFetch_NODE::uwUFetch_CBeacon_timer::uwUFetch_CBeacon_timer ( uwUFetch_NODE m)
inline

Constructor of uwUFetch_CBeacon_timer class.

Parameters
ma pointer to an object of type uwUFetch_NODE

Definition at line 666 of file uwUFetch_NODE.h.

◆ ~uwUFetch_CBeacon_timer()

virtual uwUFetch_NODE::uwUFetch_CBeacon_timer::~uwUFetch_CBeacon_timer ( )
inlinevirtual

Definition at line 674 of file uwUFetch_NODE.h.

Member Function Documentation

◆ expire()

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

Method called when the timer expire.

Parameters
Event*pointer to an object of type Event

Definition at line 2948 of file uwUFetch_NODE_SENSOR.cpp.


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