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  

SmacCounterTimer Class Reference

#include <smac.h>

Inheritance diagram for SmacCounterTimer:

SmacTimer TimerHandler Handler List of all members.

Public Member Functions

 SmacCounterTimer (SMAC *a, int i)
void sched (double t)
void expire (Event *e)
double timeToSleep ()

Protected Attributes

int index_
double value_
double syncTime_
double dataTime_
double listenTime_
double sleepTime_
double cycleTime_
double tts_
double stime_

Friends

class SMAC

Constructor & Destructor Documentation

SmacCounterTimer::SmacCounterTimer SMAC   a,
int    i
[inline]
 


Member Function Documentation

void SmacCounterTimer::expire Event   e [virtual]
 

Implements SmacTimer.

void SmacCounterTimer::sched double    t
 

Reimplemented from TimerHandler.

double SmacCounterTimer::timeToSleep  
 


Friends And Related Function Documentation

friend class SMAC [friend]
 


Member Data Documentation

double SmacCounterTimer::cycleTime_ [protected]
 

double SmacCounterTimer::dataTime_ [protected]
 

int SmacCounterTimer::index_ [protected]
 

double SmacCounterTimer::listenTime_ [protected]
 

double SmacCounterTimer::sleepTime_ [protected]
 

double SmacCounterTimer::stime_ [protected]
 

double SmacCounterTimer::syncTime_ [protected]
 

double SmacCounterTimer::tts_ [protected]
 

double SmacCounterTimer::value_ [protected]
 


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