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  

MacTdmaTimer Class Reference

#include <mac-tdma.h>

Inheritance diagram for MacTdmaTimer:

Handler RxPktTdmaTimer SlotTdmaTimer TxPktTdmaTimer List of all members.

Public Member Functions

 MacTdmaTimer (MacTdma *m, double s=0)
virtual void handle (Event *e)=0
virtual void start (Packet *p, double time)
virtual void stop (Packet *p)
virtual void pause (void)
virtual void resume (void)
int busy (void)
int paused (void)
double slottime (void)
double expire (void)

Protected Attributes

int busy_
int paused_
Event intr
double stime
double rtime
double slottime_

Constructor & Destructor Documentation

MacTdmaTimer::MacTdmaTimer MacTdma   m,
double    s = 0

Member Function Documentation

int MacTdmaTimer::busy void    [inline]

double MacTdmaTimer::expire void    [inline]

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

Implements Handler.

Implemented in SlotTdmaTimer, RxPktTdmaTimer, and TxPktTdmaTimer.

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

int MacTdmaTimer::paused void    [inline]

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

double MacTdmaTimer::slottime void    [inline]

void MacTdmaTimer::start Packet   p,
double    time

void MacTdmaTimer::stop Packet   p [virtual]

Member Data Documentation

int MacTdmaTimer::busy_ [protected]

Event MacTdmaTimer::intr [protected]

MacTdma* MacTdmaTimer::mac [protected]

int MacTdmaTimer::paused_ [protected]

double MacTdmaTimer::rtime [protected]

double MacTdmaTimer::slottime_ [protected]

double MacTdmaTimer::stime [protected]

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