A Discrete-Event Network Simulator
QKDNetSim v2.0 (NS-3 v3.41) @ (+)
API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
anonymous_namespace{packet-test-suite.cc}::ATestTrailerBase Class Reference

Base class for Test trailers. More...

+ Inheritance diagram for anonymous_namespace{packet-test-suite.cc}::ATestTrailerBase:
+ Collaboration diagram for anonymous_namespace{packet-test-suite.cc}::ATestTrailerBase:

Public Member Functions

 ATestTrailerBase ()
 
- Public Member Functions inherited from ns3::Trailer
 ~Trailer () override
 
uint32_t Deserialize (Buffer::Iterator end) override=0
 
uint32_t Deserialize (Buffer::Iterator start, Buffer::Iterator end) override
 
virtual uint32_t GetSerializedSize () const =0
 
void Print (std::ostream &os) const override=0
 
virtual void Serialize (Buffer::Iterator start) const =0
 
- Public Member Functions inherited from ns3::ObjectBase
virtual ~ObjectBase ()
 Virtual destructor. More...
 
void GetAttribute (std::string name, AttributeValue &value) const
 Get the value of an attribute, raising fatal errors if unsuccessful. More...
 
bool GetAttributeFailSafe (std::string name, AttributeValue &value) const
 Get the value of an attribute without raising errors. More...
 
virtual TypeId GetInstanceTypeId () const =0
 Get the most derived TypeId for this Object. More...
 
void SetAttribute (std::string name, const AttributeValue &value)
 Set a single attribute, raising fatal errors if unsuccessful. More...
 
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
 Set a single attribute without raising errors. More...
 
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
 Connect a TraceSource to a Callback with a context. More...
 
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
 Connect a TraceSource to a Callback without a context. More...
 
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
 Disconnect from a TraceSource a Callback previously connected with a context. More...
 
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)
 Disconnect from a TraceSource a Callback previously connected without a context. More...
 

Static Public Member Functions

static TypeId GetTypeId ()
 Register this type. More...
 
- Static Public Member Functions inherited from ns3::Trailer
static TypeId GetTypeId ()
 Get the type ID. More...
 
- Static Public Member Functions inherited from ns3::Chunk
static TypeId GetTypeId ()
 Get the type ID. More...
 
- Static Public Member Functions inherited from ns3::ObjectBase
static TypeId GetTypeId ()
 Get the type ID. More...
 

Public Attributes

bool m_error
 Error in the Trailer. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ns3::ObjectBase
void ConstructSelf (const AttributeConstructionList &attributes)
 Complete construction of ObjectBase; invoked by derived classes. More...
 
virtual void NotifyConstructionCompleted ()
 Notifier called once the ObjectBase is fully constructed. More...
 

Detailed Description

Base class for Test trailers.

Note
Class internal to packet-test-suite.cc

Definition at line 357 of file packet-test-suite.cc.

Constructor & Destructor Documentation

◆ ATestTrailerBase()

anonymous_namespace{packet-test-suite.cc}::ATestTrailerBase::ATestTrailerBase ( )
inline

Definition at line 360 of file packet-test-suite.cc.

Member Function Documentation

◆ GetTypeId()

static TypeId anonymous_namespace{packet-test-suite.cc}::ATestTrailerBase::GetTypeId ( void  )
inlinestatic

Register this type.

Returns
The TypeId.

Definition at line 370 of file packet-test-suite.cc.

References ns3::TypeId::SetParent().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_error

bool anonymous_namespace{packet-test-suite.cc}::ATestTrailerBase::m_error

Error in the Trailer.

Definition at line 381 of file packet-test-suite.cc.


The documentation for this class was generated from the following file: