DESERT 3.5.1
Loading...
Searching...
No Matches
UwCsmaAloha_Trigger_SINK::ReceiveTimer Class Reference

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

Inheritance diagram for UwCsmaAloha_Trigger_SINK::ReceiveTimer:
Collaboration diagram for UwCsmaAloha_Trigger_SINK::ReceiveTimer:

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
 

Detailed Description

Class used to handle the timer of the reception period.

Definition at line 305 of file uw-csma-aloha-trigger-sink.h.

Constructor & Destructor Documentation

◆ ReceiveTimer()

UwCsmaAloha_Trigger_SINK::ReceiveTimer::ReceiveTimer ( UwCsmaAloha_Trigger_SINK m)
inline

Conscructor of ReceiveTimer class.

Parameters
UwCsmaAloha_Trigger_SINK*pointer to an object of type UwCsmaAloha_Trigger_SINK

Definition at line 313 of file uw-csma-aloha-trigger-sink.h.

◆ ~ReceiveTimer()

virtual UwCsmaAloha_Trigger_SINK::ReceiveTimer::~ReceiveTimer ( )
inlinevirtual

Descructor of ReceiveTimer class.

Definition at line 321 of file uw-csma-aloha-trigger-sink.h.

Member Function Documentation

◆ expire()

void UwCsmaAloha_Trigger_SINK::ReceiveTimer::expire ( Event *  e)
protectedvirtual

Method called when the timer expire.

Parameters
Event*pointer to an object of type Event

Definition at line 66 of file uw-csma-aloha-trigger-sink.cpp.


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