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  

PacketTypeLog Class Reference

#include <rate-limit-strategy.h>

Inheritance diagram for PacketTypeLog:

TimerHandler Handler List of all members.

Public Member Functions

 PacketTypeLog (RateLimitStrategy *)
virtual ~PacketTypeLog ()
void log (Packet *)

Static Public Member Functions

int mapTypeToIndex (int type)
int mapIndexToType (int index)
double mapTypeToShare (int type)

Public Attributes

int count_
int typeCount_ [MAX_PACKET_TYPES]
RateLimitStrategy * rlStrategy_

Protected Member Functions

void expire (Event *e)

Constructor & Destructor Documentation

PacketTypeLog::PacketTypeLog (  RateLimitStrategy *    ) 
 

PacketTypeLog::~PacketTypeLog (    )  [virtual]
 


Member Function Documentation

void PacketTypeLog::expire (  Event *    e )  [protected, virtual]
 

Implements TimerHandler.

void PacketTypeLog::log (  Packet *    ) 
 

int PacketTypeLog::mapIndexToType (  int    index )  [static]
 

int PacketTypeLog::mapTypeToIndex (  int    type )  [static]
 

double PacketTypeLog::mapTypeToShare (  int    type )  [static]
 


Member Data Documentation

int PacketTypeLog::count_
 

RateLimitStrategy* PacketTypeLog::rlStrategy_
 

int PacketTypeLog::typeCount_[MAX_PACKET_TYPES]
 


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