#include <error-channel.h>
Public Member Functions | |
BinaryErrorModel () | |
virtual | ~BinaryErrorModel () |
void | Reset (void) |
![]() | |
ErrorModel () | |
virtual | ~ErrorModel () |
void | Disable (void) |
void | Enable (void) |
bool | IsCorrupt (Ptr< Packet > pkt) |
bool | IsEnabled (void) const |
![]() | |
Object () | |
virtual | ~Object () |
void | AggregateObject (Ptr< Object > other) |
void | Dispose (void) |
AggregateIterator | GetAggregateIterator (void) const |
virtual TypeId | GetInstanceTypeId (void) const |
template<typename T > | |
Ptr< T > | GetObject (void) const |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
void | Start (void) |
![]() | |
SimpleRefCount () | |
SimpleRefCount (const SimpleRefCount &o) | |
uint32_t | GetReferenceCount (void) const |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
![]() | |
virtual | ~ObjectBase () |
void | GetAttribute (std::string name, AttributeValue &value) const |
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
void | SetAttribute (std::string name, const AttributeValue &value) |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
Private Member Functions | |
virtual bool | DoCorrupt (Ptr< Packet > p) |
virtual void | DoReset (void) |
Private Attributes | |
uint8_t | counter |
Additional Inherited Members | |
![]() | |
Object (const Object &o) | |
virtual void | DoDispose (void) |
virtual void | DoStart (void) |
virtual void | NotifyNewAggregate (void) |
Definition at line 73 of file error-channel.h.
ns3::BinaryErrorModel::BinaryErrorModel | ( | ) |
Definition at line 118 of file error-channel.cc.
References counter.
|
virtual |
Definition at line 123 of file error-channel.cc.
Definition at line 129 of file error-channel.cc.
References counter, and ns3::ErrorModel::IsEnabled().
|
privatevirtual |
Definition at line 147 of file error-channel.cc.
References counter.
Referenced by Reset().
|
static |
Reimplemented from ns3::ErrorModel.
Definition at line 109 of file error-channel.cc.
References ns3::TypeId::SetParent().
void ns3::BinaryErrorModel::Reset | ( | void | ) |
Reset any state associated with the error model
Reimplemented from ns3::ErrorModel.
Definition at line 141 of file error-channel.cc.
References DoReset().
Referenced by Ipv4FragmentationTest::DoRun(), and Ipv6FragmentationTest::DoRun().
|
private |
Definition at line 86 of file error-channel.h.
Referenced by BinaryErrorModel(), DoCorrupt(), and DoReset().