|
DESERT 4.0.0
|
#include <uw-csma-aloha-trigger-sink.h>


Public Member Functions | |
| ReceiveTimer (UwCsmaAloha_Trigger_SINK *m) | |
| virtual | ~ReceiveTimer () |
Public Member Functions inherited from UwCsmaAloha_Trigger_SINK::GenericTimer | |
| GenericTimer (UwCsmaAloha_Trigger_SINK *m) | |
| virtual | ~GenericTimer () |
| 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 UwCsmaAloha_Trigger_SINK::GenericTimer | |
| double | start_time |
| double | left_duration |
| int | counter |
| UwCsmaAloha_Trigger_SINK *UW_CS_ALOHA_TRIG_SINK_TIMER_STATUS | timer_status |
Class used to handle the timer of the reception period
|
inline |
Conscructor of ReceiveTimer class
| UwCsmaAloha_Trigger_SINK* | pointer to an object of type UwCsmaAloha_Trigger_SINK |
|
inlinevirtual |
Descructor of ReceiveTimer class
|
protectedvirtual |
Method called when the timer expire
| Event* | pointer to an object of type Event |
References UwCsmaAloha_Trigger_SINK::GenericTimer::timer_status, UwCsmaAloha_Trigger_SINK::UW_CS_ALOHA_TRIG_SINK_EXPIRED, and UwCsmaAloha_Trigger_SINK::UW_CS_ALOHA_TRIG_SINK_STATE_TX_TRIGGER.