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

#include <uw-smart-ofdm.h>

Inheritance diagram for UWSmartOFDM::BackOffTimer:
Collaboration diagram for UWSmartOFDM::BackOffTimer:

Public Member Functions

 BackOffTimer (UWSmartOFDM *m)
 
virtual ~BackOffTimer ()
 
- Public Member Functions inherited from UWSmartOFDM::UWSmartOFDMTimer
 UWSmartOFDMTimer (UWSmartOFDM *m)
 
virtual ~UWSmartOFDMTimer ()
 
virtual double startTime ()
 
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 UWSmartOFDM::UWSmartOFDMTimer
double start_time
 
double left_duration
 
int counter
 
UWSmartOFDM *UWSMARTOFDM_TIMER_STATUS timer_status
 

Detailed Description

Base class of BackoffTimer.

It is derived class of UWSmartOFDMTimer.

Definition at line 451 of file uw-smart-ofdm.h.

Constructor & Destructor Documentation

◆ BackOffTimer()

UWSmartOFDM::BackOffTimer::BackOffTimer ( UWSmartOFDM m)
inline

Constructor of BackOffTimer Class.

Definition at line 458 of file uw-smart-ofdm.h.

◆ ~BackOffTimer()

virtual UWSmartOFDM::BackOffTimer::~BackOffTimer ( )
inlinevirtual

Destructor of BackOffTimer.

Definition at line 466 of file uw-smart-ofdm.h.

Member Function Documentation

◆ expire()

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

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

Parameters
Event

Definition at line 97 of file uw-smart-ofdm.cpp.


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