| ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| | Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <errmodel.h>
Inheritance diagram for ErrorModel:

Public Member Functions | |
| ErrorModel () | |
| virtual void | recv (Packet *, Handler *) |
| virtual void | reset () |
| virtual int | corrupt (Packet *) |
| double | rate () |
| ErrorUnit | unit () |
Protected Member Functions | |
| virtual int | command (int argc, const char *const *argv) |
| int | CorruptPkt (Packet *) |
| int | CorruptTime (Packet *) |
| int | CorruptByte (Packet *) |
| int | CorruptBit (Packet *) |
| double | PktLength (Packet *) |
| double * | ComputeBitErrProb (int) |
Protected Attributes | |
| int | enable_ |
| int | markecn_ |
| int | delay_pkt_ |
| int | firstTime_ |
| ErrorUnit | unit_ |
| double | rate_ |
| double | delay_ |
| double | bandwidth_ |
| RandomVariable * | ranvar_ |
| int | FECstrength_ |
| int | datapktsize_ |
| int | cntrlpktsize_ |
| double * | cntrlprb_ |
| double * | dataprb_ |
| Event | intr_ |
|
|
|
|
||||||||||||
|
Reimplemented from Connector. Reimplemented in SRMErrorModel, TwoStateErrorModel, MultiStateErrorModel, ListErrorModel, SelectErrorModel, MrouteErrorModel, and LMSErrorModel. |
|
|
|
|
|
Reimplemented in SRMErrorModel, TwoStateErrorModel, MultiStateErrorModel, TraceErrorModel, PeriodicErrorModel, ListErrorModel, SelectErrorModel, and LMSErrorModel. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Reimplemented from Connector. |
|
|
Reimplemented from NsObject. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in TwoStateErrorModel. |
|
|
|
|
|
|