DESERT 3.5.1
Loading...
Searching...
No Matches
MMacUWSR::BackOffTimer Class Reference

#include <uwsr.h>

Inheritance diagram for MMacUWSR::BackOffTimer:
Collaboration diagram for MMacUWSR::BackOffTimer:

Public Member Functions

 BackOffTimer (MMacUWSR *m)
 
virtual ~BackOffTimer ()
 
- Public Member Functions inherited from MMacUWSR::UWSRTimer
 UWSRTimer (MMacUWSR *m)
 
virtual ~UWSRTimer ()
 
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 ()
 
double leftDuration ()
 

Protected Member Functions

virtual void expire (Event *e)
 

Additional Inherited Members

- Protected Attributes inherited from MMacUWSR::UWSRTimer
double start_time
 
double left_duration
 
int counter
 
MMacUWSR *UWSR_TIMER_STATUS timer_status
 

Detailed Description

Base class of BackoffTimer.

It is derived class of UWSRTimer.

Definition at line 387 of file uwsr.h.

Constructor & Destructor Documentation

◆ BackOffTimer()

MMacUWSR::BackOffTimer::BackOffTimer ( MMacUWSR m)
inline

Constructor of BackOffTimer Class.

Definition at line 394 of file uwsr.h.

◆ ~BackOffTimer()

virtual MMacUWSR::BackOffTimer::~BackOffTimer ( )
inlinevirtual

Destructor of BackOffTimer.

Definition at line 402 of file uwsr.h.

Member Function Documentation

◆ expire()

void MMacUWSR::BackOffTimer::expire ( Event *  e)
protectedvirtual

What a node is going to do when a timer expire.

Parameters
Event

Definition at line 97 of file uwsr.cpp.


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