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  

TwoStateErrorModel Class Reference

#include <errmodel.h>

Inheritance diagram for TwoStateErrorModel:

ErrorModel Connector NsObject TclObject Handler List of all members.

Public Member Functions

 TwoStateErrorModel ()
virtual int corrupt (Packet *)

Protected Member Functions

int command (int argc, const char *const *argv)

Protected Attributes

int state_
double remainLen_
RandomVariableranvar_ [2]

Constructor & Destructor Documentation


Member Function Documentation

int TwoStateErrorModel::command int    argc,
const char *const *    argv
[protected, virtual]

Reimplemented from ErrorModel.

int TwoStateErrorModel::corrupt Packet   [virtual]

Reimplemented from ErrorModel.

Member Data Documentation

RandomVariable* TwoStateErrorModel::ranvar_[2] [protected]

Reimplemented from ErrorModel.

double TwoStateErrorModel::remainLen_ [protected]

int TwoStateErrorModel::state_ [protected]

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