DESERT 4.0.0
UWSmartOFDM::AckTimer Class Reference

#include <uw-smart-ofdm.h>

Inheritance diagram for UWSmartOFDM::AckTimer:
Inheritance graph
Collaboration diagram for UWSmartOFDM::AckTimer:
Collaboration graph

Public Member Functions

 AckTimer (UWSmartOFDM *m)
 
virtual ~AckTimer ()
 
- 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 AckTimer, which is a derived class of UWSmartOFDMTimer.

Constructor & Destructor Documentation

◆ AckTimer()

UWSmartOFDM::AckTimer::AckTimer ( UWSmartOFDM m)
inline

Constructor of AckTimer Class.

◆ ~AckTimer()

virtual UWSmartOFDM::AckTimer::~AckTimer ( )
inlinevirtual

Destructor of AckTimer Class.

Member Function Documentation

◆ expire()

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

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

Parameters
Event

References UWSmartOFDM::UWSmartOFDMTimer::timer_status, UWSmartOFDM::UWSmartOFDM(), UWSmartOFDM::UWSMARTOFDM_EXPIRED, and UWSmartOFDM::UWSMARTOFDM_STATE_WAIT_ACK.

Referenced by UWSmartOFDM::CTSTimer::expire().

Here is the call graph for this function:

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