Time tag used to identify the time when packet is enqueued at PHY on first link between GW and UT level. More...
#include "satellite-time-tag.h"
Public Member Functions | |
| SatPhyTimeTag () | |
| Default constructor. | |
| SatPhyTimeTag (Time senderTimestamp) | |
| Constructor with initialization parameters. | |
| virtual void | Deserialize (TagBuffer i) |
| Deserializes information from buffer to this instance of SatPhyTimeTag. | |
| virtual TypeId | GetInstanceTypeId (void) const |
| Get the type ID of instance. | |
| Time | GetSenderTimestamp (void) const |
| Get sender time stamp of this tag. | |
| virtual uint32_t | GetSerializedSize () const |
| Get serialized size of SatPhyTimeTag. | |
| virtual void | Print (std::ostream &os) const |
| Print time stamp of this instance of SatPhyTimeTag. | |
| virtual void | Serialize (TagBuffer i) const |
| Serializes information to buffer from this instance of SatPhyTimeTag. | |
| void | SetSenderTimestamp (Time senderTimestamp) |
| Set sender time stamp of this tag. | |
Static Public Member Functions | |
| static TypeId | GetTypeId (void) |
| Get the type ID. | |
Private Attributes | |
| Time | m_senderTimestamp |
Time tag used to identify the time when packet is enqueued at PHY on first link between GW and UT level.
Definition at line 115 of file satellite-time-tag.h.
| ns3::SatPhyTimeTag::SatPhyTimeTag | ( | ) |
Default constructor.
Definition at line 106 of file satellite-time-tag.cc.
References m_senderTimestamp.
| ns3::SatPhyTimeTag::SatPhyTimeTag | ( | Time | senderTimestamp | ) |
Constructor with initialization parameters.
| senderTimestamp |
Definition at line 112 of file satellite-time-tag.cc.
References m_senderTimestamp.
|
virtual |
Deserializes information from buffer to this instance of SatPhyTimeTag.
| i | Buffer from which the information is deserialized |
Definition at line 146 of file satellite-time-tag.cc.
References m_senderTimestamp.
|
virtual |
Get the type ID of instance.
Definition at line 127 of file satellite-time-tag.cc.
References GetTypeId().
| Time ns3::SatPhyTimeTag::GetSenderTimestamp | ( | void | ) | const |
Get sender time stamp of this tag.
Definition at line 160 of file satellite-time-tag.cc.
References m_senderTimestamp.
Referenced by ns3::SatPhy::RxTraces().
|
virtual |
Get serialized size of SatPhyTimeTag.
Definition at line 133 of file satellite-time-tag.cc.
|
static |
Get the type ID.
Definition at line 119 of file satellite-time-tag.cc.
Referenced by GetInstanceTypeId().
|
virtual |
Print time stamp of this instance of SatPhyTimeTag.
| &os | Output stream to which tag timestamp is printed. |
Definition at line 154 of file satellite-time-tag.cc.
References m_senderTimestamp.
|
virtual |
Serializes information to buffer from this instance of SatPhyTimeTag.
| i | Buffer in which the information is serialized |
Definition at line 139 of file satellite-time-tag.cc.
References m_senderTimestamp.
| void ns3::SatPhyTimeTag::SetSenderTimestamp | ( | Time | senderTimestamp | ) |
Set sender time stamp of this tag.
| senderTimestamp | Sender time stamp |
Definition at line 166 of file satellite-time-tag.cc.
References m_senderTimestamp.
|
private |
Definition at line 178 of file satellite-time-tag.h.
Referenced by SatPhyTimeTag(), SatPhyTimeTag(), Deserialize(), GetSenderTimestamp(), Print(), Serialize(), and SetSenderTimestamp().