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

#include <uw-ofdm-aloha.h>

Inheritance diagram for UWOFDMAloha::BackOffTimer:
Collaboration diagram for UWOFDMAloha::BackOffTimer:

Public Member Functions

 BackOffTimer (UWOFDMAloha *m)
 
virtual ~BackOffTimer ()
 
- Public Member Functions inherited from UWOFDMAloha::UWOFDMAlohaTimer
 UWOFDMAlohaTimer (UWOFDMAloha *m)
 
virtual ~UWOFDMAlohaTimer ()
 
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 UWOFDMAloha::UWOFDMAlohaTimer
double start_time
 
double left_duration
 
int counter
 
UWOFDMAloha *UWOFDMALOHA_TIMER_STATUS timer_status
 

Detailed Description

Base class of BackoffTimer.

It is derived class of UWOFDMAlohaTimer.

Definition at line 392 of file uw-ofdm-aloha.h.

Constructor & Destructor Documentation

◆ BackOffTimer()

UWOFDMAloha::BackOffTimer::BackOffTimer ( UWOFDMAloha m)
inline

Constructor of BackOffTimer Class.

Definition at line 399 of file uw-ofdm-aloha.h.

◆ ~BackOffTimer()

virtual UWOFDMAloha::BackOffTimer::~BackOffTimer ( )
inlinevirtual

Destructor of BackOffTimer.

Definition at line 407 of file uw-ofdm-aloha.h.

Member Function Documentation

◆ expire()

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

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

Parameters
Event

Definition at line 98 of file uw-ofdm-aloha.cpp.


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