Byte tag using by Anim to uniquely identify packets. More...
#include "animation-interface.h"
Public Member Functions | |
void | Deserialize (TagBuffer i) override |
Deserialize function. | |
uint64_t | Get () const |
Get Uid in tag. | |
TypeId | GetInstanceTypeId () const override |
Get Instance Type Id. | |
uint32_t | GetSerializedSize () const override |
Get Serialized Size. | |
void | Print (std::ostream &os) const override |
Print tag info. | |
void | Serialize (TagBuffer i) const override |
Serialize function. | |
void | Set (uint64_t AnimUid) |
Set global Uid in tag. | |
Public Member Functions inherited from ns3::ObjectBase | |
virtual | ~ObjectBase () |
Virtual destructor. | |
void | GetAttribute (std::string name, AttributeValue &value, bool permissive=false) const |
Get the value of an attribute, raising fatal errors if unsuccessful. | |
bool | GetAttributeFailSafe (std::string name, AttributeValue &value) const |
Get the value of an attribute without raising errors. | |
void | SetAttribute (std::string name, const AttributeValue &value) |
Set a single attribute, raising fatal errors if unsuccessful. | |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
Set a single attribute without raising errors. | |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
Connect a TraceSource to a Callback with a context. | |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
Connect a TraceSource to a Callback without a context. | |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected with a context. | |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected without a context. | |
Static Public Member Functions | |
static TypeId | GetTypeId () |
Get Type Id. | |
Static Public Member Functions inherited from ns3::Tag | |
static TypeId | GetTypeId () |
Get the type ID. | |
Static Public Member Functions inherited from ns3::ObjectBase | |
static TypeId | GetTypeId () |
Get the type ID. | |
Private Attributes | |
uint64_t | m_AnimUid |
the UID | |
Additional Inherited Members | |
Protected Member Functions inherited from ns3::ObjectBase | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
Complete construction of ObjectBase; invoked by derived classes. | |
virtual void | NotifyConstructionCompleted () |
Notifier called once the ObjectBase is fully constructed. | |
Related Symbols inherited from ns3::ObjectBase | |
static TypeId | GetObjectIid () |
Ensure the TypeId for ObjectBase gets fully configured to anchor the inheritance tree properly. | |
Byte tag using by Anim to uniquely identify packets.
When Anim receives a Tx Notification we tag the packet with a unique global uint64_t identifier before recording Tx information When Anim receives Rx notifications the tag is used to retrieve Tx information recorded earlier
Definition at line 1480 of file animation-interface.h.
|
overridevirtual |
Deserialize function.
Implements ns3::Tag.
Definition at line 2847 of file animation-interface.cc.
References ns3::TagBuffer::ReadU64().
uint64_t ns3::AnimByteTag::Get | ( | ) | const |
Get Uid in tag.
Definition at line 2865 of file animation-interface.cc.
Referenced by ns3::AnimationInterface::GetAnimUidFromPacket().
|
overridevirtual |
Get Instance Type Id.
Implements ns3::ObjectBase.
Definition at line 2829 of file animation-interface.cc.
Referenced by ns3::AnimationInterface::GetAnimUidFromPacket().
|
overridevirtual |
Get Serialized Size.
Implements ns3::Tag.
Definition at line 2835 of file animation-interface.cc.
|
static |
Get Type Id.
Definition at line 2819 of file animation-interface.cc.
References ns3::TypeId::SetParent().
|
overridevirtual |
Print tag info.
os | Reference of ostream object |
Implements ns3::Tag.
Definition at line 2853 of file animation-interface.cc.
|
overridevirtual |
Serialize function.
Implements ns3::Tag.
Definition at line 2841 of file animation-interface.cc.
References ns3::TagBuffer::WriteU64().
void ns3::AnimByteTag::Set | ( | uint64_t | AnimUid | ) |
Set global Uid in tag.
AnimUid | global Uid |
Definition at line 2859 of file animation-interface.cc.
Referenced by ns3::AnimationInterface::AddByteTag().
|
private |
the UID
Definition at line 1532 of file animation-interface.h.