|
DESERT 3.6.1
|
#include <uw-csma-aloha.h>


Public Member Functions | |
| AckTimer (CsmaAloha *m) | |
| virtual | ~AckTimer ()=default |
Public Member Functions inherited from CsmaAloha::AlohaTimer | |
| AlohaTimer (CsmaAloha *m) | |
| virtual | ~AlohaTimer ()=default |
| 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 () const |
| double | getDuration () const |
Protected Member Functions | |
| virtual void | expire (Event *e) |
Additional Inherited Members | |
Protected Attributes inherited from CsmaAloha::AlohaTimer | |
| double | start_time |
| double | left_duration |
| int | counter |
| CsmaAloha *CSMA_TIMER_STATUS | timer_status |
Class used to handle the timer for waiting the ACK.
Definition at line 358 of file uw-csma-aloha.h.
|
inline |
Conscructor of AckTimer class.
| CsmaAloha* | pointer to an object of type CsmaAloha |
Definition at line 365 of file uw-csma-aloha.h.
|
virtualdefault |
Destructor of AckTimer class.
|
protectedvirtual |
Method called when the timer expire.
| Event* | pointer to an object of type Event |
Definition at line 76 of file uw-csma-aloha.cpp.