DESERT 4.0.0
UWOFDMAloha::AckTimer Class Reference

#include <uw-ofdm-aloha.h>

Inheritance diagram for UWOFDMAloha::AckTimer:
Inheritance graph
Collaboration diagram for UWOFDMAloha::AckTimer:
Collaboration graph

Public Member Functions

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

Constructor & Destructor Documentation

◆ AckTimer()

UWOFDMAloha::AckTimer::AckTimer ( UWOFDMAloha m)
inline

Constructor of AckTimer Class.

◆ ~AckTimer()

virtual UWOFDMAloha::AckTimer::~AckTimer ( )
inlinevirtual

Destructor of AckTimer Class.

Member Function Documentation

◆ expire()

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

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

Parameters
Event

References UWOFDMAloha::UWOFDMAlohaTimer::timer_status, UWOFDMAloha::UWOFDMAloha(), UWOFDMAloha::UWOFDMALOHA_EXPIRED, and UWOFDMAloha::UWOFDMALOHA_STATE_WAIT_ACK.

Here is the call graph for this function:

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