DESERT 3.5.1
Loading...
Searching...
No Matches
UWAloha::AckTimer Class Reference

#include <uwaloha.h>

Inheritance diagram for UWAloha::AckTimer:
Collaboration diagram for UWAloha::AckTimer:

Public Member Functions

 AckTimer (UWAloha *m)
 
virtual ~AckTimer ()
 
- Public Member Functions inherited from UWAloha::UWAlohaTimer
 UWAlohaTimer (UWAloha *m)
 
virtual ~UWAlohaTimer ()
 
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 UWAloha::UWAlohaTimer
double start_time
 
double left_duration
 
int counter
 
UWAloha *UWALOHA_TIMER_STATUS timer_status
 

Detailed Description

Base class of AckTimer, which is a derived class of UWAlohaTimer.

Definition at line 352 of file uwaloha.h.

Constructor & Destructor Documentation

◆ AckTimer()

UWAloha::AckTimer::AckTimer ( UWAloha m)
inline

Constructor of AckTimer Class.

Definition at line 359 of file uwaloha.h.

◆ ~AckTimer()

virtual UWAloha::AckTimer::~AckTimer ( )
inlinevirtual

Destructor of AckTimer Class.

Definition at line 367 of file uwaloha.h.

Member Function Documentation

◆ expire()

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

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

Parameters
Event

Definition at line 68 of file uwaloha.cpp.


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