Byte tag using by Anim to uniquely identify packets. More...
#include "animation-interface.h"
Inheritance diagram for ns3::AnimByteTag:
Collaboration diagram for ns3::AnimByteTag:Public Member Functions | |
| virtual void | Deserialize (TagBuffer i) |
| Deserialize function. More... | |
| uint64_t | Get (void) const |
| Get Uid in tag. More... | |
| virtual TypeId | GetInstanceTypeId (void) const |
| Get Instance Type Id. More... | |
| virtual uint32_t | GetSerializedSize (void) const |
| Get Serialized Size. More... | |
| virtual void | Print (std::ostream &os) const |
| Print tag info. More... | |
| virtual void | Serialize (TagBuffer i) const |
| Serialize function. More... | |
| void | Set (uint64_t AnimUid) |
| Set global Uid in tag. More... | |
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... | |
| 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) |
| Get Type Id. 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... | |
Private Attributes | |
| uint64_t | m_AnimUid |
| the UID 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... | |
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 1476 of file animation-interface.h.
|
virtual |
Deserialize function.
Implements ns3::Tag.
Definition at line 2887 of file animation-interface.cc.
References ns3::TagBuffer::ReadU64().
Here is the call graph for this function:| uint64_t ns3::AnimByteTag::Get | ( | void | ) | const |
Get Uid in tag.
Definition at line 2905 of file animation-interface.cc.
Referenced by ns3::AnimationInterface::GetAnimUidFromPacket().
Here is the caller graph for this function:
|
virtual |
Get Instance Type Id.
Implements ns3::ObjectBase.
Definition at line 2869 of file animation-interface.cc.
Referenced by ns3::AnimationInterface::GetAnimUidFromPacket().
Here is the caller graph for this function:
|
virtual |
Get Serialized Size.
Implements ns3::Tag.
Definition at line 2875 of file animation-interface.cc.
|
static |
Get Type Id.
Definition at line 2858 of file animation-interface.cc.
References ns3::TypeId::SetParent().
Here is the call graph for this function:
|
virtual |
Print tag info.
| os | Reference of ostream object |
Implements ns3::Tag.
Definition at line 2893 of file animation-interface.cc.
|
virtual |
Serialize function.
Implements ns3::Tag.
Definition at line 2881 of file animation-interface.cc.
References ns3::TagBuffer::WriteU64().
Here is the call graph for this function:| void ns3::AnimByteTag::Set | ( | uint64_t | AnimUid | ) |
Set global Uid in tag.
| AnimUid | global Uid |
Definition at line 2899 of file animation-interface.cc.
Referenced by ns3::AnimationInterface::AddByteTag().
Here is the caller graph for this function:
|
private |
the UID
Definition at line 1536 of file animation-interface.h.