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  

MacSimpleTimer Class Reference

#include <mac-simple.h>

Inheritance diagram for MacSimpleTimer:

Handler MacSimpleRecvTimer MacSimpleSendTimer MacSimpleWaitTimer List of all members.

Public Member Functions

 MacSimpleTimer (MacSimple *m)
virtual void handle (Event *e)=0
virtual void start (double time)
virtual void stop (void)
int busy (void)
double expire (void)

Protected Attributes

int busy_
Event intr
double stime
double rtime
double slottime

Constructor & Destructor Documentation

MacSimpleTimer::MacSimpleTimer MacSimple   m [inline]

Member Function Documentation

int MacSimpleTimer::busy void    [inline]

double MacSimpleTimer::expire void    [inline]

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

Implements Handler.

Implemented in MacSimpleWaitTimer, MacSimpleSendTimer, and MacSimpleRecvTimer.

void MacSimpleTimer::start double    time [virtual]

void MacSimpleTimer::stop void    [virtual]

Member Data Documentation

int MacSimpleTimer::busy_ [protected]

Event MacSimpleTimer::intr [protected]

MacSimple* MacSimpleTimer::mac [protected]

double MacSimpleTimer::rtime [protected]

double MacSimpleTimer::slottime [protected]

double MacSimpleTimer::stime [protected]

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