Base class for Test tags. More...
Public Member Functions | |
ATestTagBase () | |
ATestTagBase (uint8_t data) | |
Constructor. More... | |
int | GetData () const |
Get the tag data. More... | |
Public Member Functions inherited from ns3::Tag | |
virtual void | Deserialize (TagBuffer i)=0 |
virtual uint32_t | GetSerializedSize (void) const =0 |
virtual void | Print (std::ostream &os) const =0 |
virtual void | Serialize (TagBuffer i) 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 erros. More... | |
virtual TypeId | GetInstanceTypeId (void) 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 (void) |
Register this type. More... | |
Static Public Member Functions inherited from ns3::Tag | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Static Public Member Functions inherited from ns3::ObjectBase | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Public Attributes | |
uint8_t | m_data |
Tag data. More... | |
bool | m_error |
Error in the Tag. 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 (void) |
Notifier called once the ObjectBase is fully constructed. More... | |
Related Functions inherited from ns3::ObjectBase | |
static TypeId | GetObjectIid (void) |
Ensure the TypeId for ObjectBase gets fully configured to anchor the inheritance tree properly. More... | |
Base class for Test tags.
Definition at line 46 of file packet-test-suite.cc.
|
inline |
Definition at line 49 of file packet-test-suite.cc.
|
inline |
|
inline |
|
inlinestatic |
Register this type.
Definition at line 57 of file packet-test-suite.cc.
References ns3::TypeId::SetParent().
uint8_t anonymous_namespace{packet-test-suite.cc}::ATestTagBase::m_data |
Tag data.
Definition at line 74 of file packet-test-suite.cc.
bool anonymous_namespace{packet-test-suite.cc}::ATestTagBase::m_error |
Error in the Tag.
Definition at line 73 of file packet-test-suite.cc.