ns-3
|
Byte tag using by Anim to uniquely identify packets. More...
#include <animation-interface.h>
Public Member Functions | |
virtual TypeId | GetInstanceTypeId (void) const |
Get Instance Type Id. | |
virtual uint32_t | GetSerializedSize (void) const |
Get Serialized Size. | |
virtual void | Serialize (TagBuffer i) const |
Serialize function. | |
virtual void | Deserialize (TagBuffer i) |
Deserialize function. | |
virtual void | Print (std::ostream &os) const |
Print tag info. | |
void | Set (uint64_t AnimUid) |
Set global Uid in tag. | |
uint64_t | Get (void) const |
Get Uid in tag. | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
Get Type Id. |
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
void ns3::AnimByteTag::Deserialize | ( | TagBuffer | i | ) | [virtual] |
uint64_t ns3::AnimByteTag::Get | ( | void | ) | const |
Get Uid in tag.
TypeId ns3::AnimByteTag::GetInstanceTypeId | ( | void | ) | const [virtual] |
uint32_t ns3::AnimByteTag::GetSerializedSize | ( | void | ) | const [virtual] |
TypeId ns3::AnimByteTag::GetTypeId | ( | void | ) | [static] |
Get Type Id.
Reimplemented from ns3::Tag.
References ns3::TypeId::SetParent().
Referenced by GetInstanceTypeId().
void ns3::AnimByteTag::Print | ( | std::ostream & | os | ) | const [virtual] |
void ns3::AnimByteTag::Serialize | ( | TagBuffer | i | ) | const [virtual] |
void ns3::AnimByteTag::Set | ( | uint64_t | AnimUid | ) |
Set global Uid in tag.
AnimUid | global Uid |