ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

MacTimer Class Reference

#include <mac-timers.h>

Inheritance diagram for MacTimer:

Handler BackoffTimer DeferTimer IFTimer NavTimer RxTimer TxTimer List of all members.

Public Member Functions

 MacTimer (Mac802_11 *m)
virtual void handle (Event *e)=0
virtual void start (double time)
virtual void stop (void)
virtual void pause (void)
virtual void resume (void)
int busy (void)
int paused (void)
double expire (void)

Protected Attributes

int busy_
int paused_
Event intr
double stime
double rtime

Constructor & Destructor Documentation

MacTimer::MacTimer Mac802_11   m [inline]

Member Function Documentation

int MacTimer::busy void    [inline]

double MacTimer::expire void    [inline]

virtual void MacTimer::handle Event   e [pure virtual]

Implements Handler.

Implemented in BackoffTimer, DeferTimer, IFTimer, NavTimer, RxTimer, and TxTimer.

virtual void MacTimer::pause void    [inline, virtual]

Reimplemented in BackoffTimer.

int MacTimer::paused void    [inline]

virtual void MacTimer::resume void    [inline, virtual]

void MacTimer::start double    time [virtual]

Reimplemented in DeferTimer.

void MacTimer::stop void    [virtual]

Member Data Documentation

int MacTimer::busy_ [protected]

Event MacTimer::intr [protected]

Mac802_11* MacTimer::mac [protected]

int MacTimer::paused_ [protected]

double MacTimer::rtime [protected]

double MacTimer::stime [protected]

The documentation for this class was generated from the following files:
This document is generated by doxygen.