DESERT 3.5.1
|
#include <uw-csma-aloha.h>
Public Member Functions | |
ListenTimer (CsmaAloha *m) | |
virtual | ~ListenTimer () |
![]() | |
AlohaTimer (CsmaAloha *m) | |
virtual | ~AlohaTimer () |
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 | |
![]() | |
double | start_time |
double | left_duration |
int | counter |
CsmaAloha *CSMA_TIMER_STATUS | timer_status |
Class used to handle the Listen Timer.
The duration of the timer is equal to the duration duration of the sense of the channel
Definition at line 409 of file uw-csma-aloha.h.
|
inline |
Conscructor of ListenTimer class.
CsmaAloha* | pointer to an object of type CsmaAloha |
Definition at line 416 of file uw-csma-aloha.h.
|
inlinevirtual |
Destructor of AckTimer class.
Definition at line 424 of file uw-csma-aloha.h.
|
protectedvirtual |
Method called when the timer expire.
Eevent* | pointer to an object of type Event |
Definition at line 119 of file uw-csma-aloha.cpp.