DESERT 4.0.0
Timer Class Reference

#include <uw-mac-TLohi.h>

Inheritance diagram for Timer:
Inheritance graph
Collaboration diagram for Timer:
Collaboration graph

Public Member Functions

 Timer (MMacTLOHI *m)
 

Protected Member Functions

virtual void expire (Event *e)
 

Detailed Description

Class that handles the timers in T-LOHI nodes

Constructor & Destructor Documentation

◆ Timer()

Timer::Timer ( MMacTLOHI m)
inline

Constructor of the class

Member Function Documentation

◆ expire()

void Timer::expire ( Event *  e)
protectedvirtual

Event method called when the timer expire

Parameters
Event*Pointer to the event object

References STATE_BACKOFF, STATE_RECONTEND_WINDOW, STATE_SLEEP, STATE_WAIT_ACK, STATE_WAIT_END_CONTENTION, STATE_WAIT_END_CR, and STATE_WAIT_XACK.


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