Byte tag using by Anim to uniquely identify packets. More...
#include <animation-interface.h>
Public Member Functions | |
virtual void | Deserialize (TagBuffer i) |
Deserialize function. | |
uint64_t | Get (void) const |
Get Uid in tag. | |
virtual TypeId | GetInstanceTypeId (void) const |
Get Instance Type Id. | |
virtual uint32_t | GetSerializedSize (void) const |
Get Serialized Size. | |
virtual void | Print (std::ostream &os) const |
Print tag info. | |
virtual void | Serialize (TagBuffer i) const |
Serialize function. | |
void | Set (uint64_t AnimUid) |
Set global Uid in tag. |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
Get Type Id. |
Private Attributes | |
uint64_t | m_AnimUid |
Additional Inherited Members | |
Protected Member Functions inherited from ns3::ObjectBase | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
virtual void | NotifyConstructionCompleted (void) |
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 608 of file animation-interface.h.
|
virtual |
Deserialize function.
Implements ns3::Tag.
Definition at line 1795 of file animation-interface.cc.
References m_AnimUid, and ns3::TagBuffer::ReadU64().
uint64_t ns3::AnimByteTag::Get | ( | void | ) | const |
Get Uid in tag.
Definition at line 1811 of file animation-interface.cc.
References m_AnimUid.
Referenced by ns3::AnimationInterface::GetAnimUidFromPacket().
|
virtual |
Get Instance Type Id.
Implements ns3::ObjectBase.
Definition at line 1779 of file animation-interface.cc.
References GetTypeId().
Referenced by ns3::AnimationInterface::GetAnimUidFromPacket().
|
virtual |
Get Serialized Size.
Implements ns3::Tag.
Definition at line 1785 of file animation-interface.cc.
|
static |
Get Type Id.
Reimplemented from ns3::Tag.
Definition at line 1770 of file animation-interface.cc.
References ns3::TypeId::SetParent().
Referenced by GetInstanceTypeId().
|
virtual |
Print tag info.
os | Reference of ostream object |
Implements ns3::Tag.
Definition at line 1800 of file animation-interface.cc.
References m_AnimUid.
|
virtual |
Serialize function.
Implements ns3::Tag.
Definition at line 1790 of file animation-interface.cc.
References m_AnimUid, and ns3::TagBuffer::WriteU64().
void ns3::AnimByteTag::Set | ( | uint64_t | AnimUid | ) |
Set global Uid in tag.
AnimUid | global Uid |
Definition at line 1805 of file animation-interface.cc.
References m_AnimUid.
Referenced by ns3::AnimationInterface::CsmaPhyTxBeginTrace(), ns3::AnimationInterface::LteSpectrumPhyTxStart(), ns3::AnimationInterface::LteTxTrace(), ns3::AnimationInterface::UanPhyGenTxTrace(), ns3::AnimationInterface::WifiPhyTxBeginTrace(), and ns3::AnimationInterface::WimaxTxTrace().
|
private |
Definition at line 669 of file animation-interface.h.
Referenced by Deserialize(), Get(), Print(), Serialize(), and Set().