DESERT 3.5.1
Loading...
Searching...
No Matches
CheckTimer Class Reference

#include <uwmodem.h>

Inheritance diagram for CheckTimer:
Collaboration diagram for CheckTimer:

Public Member Functions

 CheckTimer (UwModem *pmModem_)
 
 CheckTimer (UWMPhy_modem *pmModem_)
 
 CheckTimer (UWMPhy_modem *pmModem_)
 

Protected Member Functions

virtual void expire (Event *e)
 
virtual void expire (Event *e)
 
virtual void expire (Event *e)
 

Protected Attributes

UwModempmModem
 
UWMPhy_modempmModem
 

Detailed Description

The class used by UwModem to handle simulator's event expirations; it is exploited to schedule the reading process from the modem; see the ns2 manual for more details about TimerHandler.

The class used by UWMPhy_modem to handle simulator's event expirations; it is exploited to schedule the reading process from the modem; see the ns2 manual for more details about TimerHandler.

Definition at line 325 of file uwmodem.h.

Constructor & Destructor Documentation

◆ CheckTimer() [1/3]

CheckTimer::CheckTimer ( UwModem pmModem_)
inline

Class constructor.

Parameters
pmModem_pointer to the UwModem object to link with this CheckTimer object.

Definition at line 334 of file uwmodem.h.

◆ CheckTimer() [2/3]

CheckTimer::CheckTimer ( UWMPhy_modem pmModem_)
inline

Class constructor.

Parameters
pmModem_pointer to the UWMPhy_modem object to link with this CheckTimer object.

Definition at line 385 of file DESERT_Framework/DESERT/physical/uwmphy_modem/uwmphy_modem.h.

◆ CheckTimer() [3/3]

CheckTimer::CheckTimer ( UWMPhy_modem pmModem_)
inline

Class constructor.

Parameters
pmModem_pointer to the UWMPhy_modem object to link with this CheckTimer object.

Definition at line 385 of file DESERT_Addons/uwmphy_modem/uwmphy_modem.h.

Member Function Documentation

◆ expire() [1/3]

virtual void CheckTimer::expire ( Event *  e)
protectedvirtual

Method to handle the expiration of a given event.

Parameters
eevent to be handled.

◆ expire() [2/3]

void CheckTimer::expire ( Event *  e)
protectedvirtual

Method to handle the expiration of a given event.

Parameters
eevent to be handled.

Definition at line 181 of file uwmodem.cpp.

◆ expire() [3/3]

virtual void CheckTimer::expire ( Event *  e)
protectedvirtual

Method to handle the expiration of a given event.

Parameters
eevent to be handled.

Member Data Documentation

◆ pmModem [1/2]

UWMPhy_modem * CheckTimer::pmModem
protected

Pointer to an UwModem object.

Pointer to an UWMPhy_modem object.

It is used to call UwModem::checkEvent() when the countdown expires.

It is used to call UWMPhy_modem::check_modem() when the countdown expires.

Definition at line 353 of file uwmodem.h.

◆ pmModem [2/2]

UWMPhy_modem* CheckTimer::pmModem
protected

Pointer to an UWMPhy_modem object.

It is used to call UWMPhy_modem::check_modem() when the countdown expires.

Definition at line 404 of file DESERT_Framework/DESERT/physical/uwmphy_modem/uwmphy_modem.h.


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