21 #ifndef SATELLITE_TIME_TAG_H
22 #define SATELLITE_TIME_TAG_H
24 #include <ns3/nstime.h>
74 virtual void Serialize(TagBuffer i)
const;
92 virtual void Print(std::ostream& os)
const;
145 virtual void Serialize(TagBuffer i)
const;
163 virtual void Print(std::ostream& os)
const;
216 virtual void Serialize(TagBuffer i)
const;
234 virtual void Print(std::ostream& os)
const;
287 virtual void Serialize(TagBuffer i)
const;
305 virtual void Print(std::ostream& os)
const;
358 virtual void Serialize(TagBuffer i)
const;
376 virtual void Print(std::ostream& os)
const;
429 virtual void Serialize(TagBuffer i)
const;
447 virtual void Print(std::ostream& os)
const;
500 virtual void Serialize(TagBuffer i)
const;
518 virtual void Print(std::ostream& os)
const;
Time tag used to identify the time when packet is enqueued at device level.
static TypeId GetTypeId(void)
Get the type ID.
SatDevLinkTimeTag()
Default constructor.
virtual void Serialize(TagBuffer i) const
Serializes information to buffer from this instance of SatDevLinkTimeTag.
virtual uint32_t GetSerializedSize() const
Get serialized size of SatDevLinkTimeTag.
void SetSenderTimestamp(Time senderTimestamp)
Set sender time stamp of this tag.
virtual void Deserialize(TagBuffer i)
Deserializes information from buffer to this instance of SatDevLinkTimeTag.
Time GetSenderTimestamp(void) const
Get sender time stamp of this tag.
virtual TypeId GetInstanceTypeId(void) const
Get the type ID of instance.
virtual void Print(std::ostream &os) const
Print time stamp of this instance of SatDevLinkTimeTag.
Time tag used to identify the time when packet is enqueued at device level.
virtual void Deserialize(TagBuffer i)
Deserializes information from buffer to this instance of SatDevTimeTag.
SatDevTimeTag()
Default constructor.
static TypeId GetTypeId(void)
Get the type ID.
virtual uint32_t GetSerializedSize() const
Get serialized size of SatDevTimeTag.
virtual TypeId GetInstanceTypeId(void) const
Get the type ID of instance.
void SetSenderTimestamp(Time senderTimestamp)
Set sender time stamp of this tag.
virtual void Print(std::ostream &os) const
Print time stamp of this instance of SatDevTimeTag.
virtual void Serialize(TagBuffer i) const
Serializes information to buffer from this instance of SatDevTimeTag.
Time GetSenderTimestamp(void) const
Get sender time stamp of this tag.
Time tag used to identify the time when packet is enqueued at MAC on current link level.
SatMacLinkTimeTag()
Default constructor.
virtual void Serialize(TagBuffer i) const
Serializes information to buffer from this instance of SatMacLinkTimeTag.
virtual void Print(std::ostream &os) const
Print time stamp of this instance of SatMacLinkTimeTag.
virtual TypeId GetInstanceTypeId(void) const
Get the type ID of instance.
virtual void Deserialize(TagBuffer i)
Deserializes information from buffer to this instance of SatMacLinkTimeTag.
static TypeId GetTypeId(void)
Get the type ID.
Time m_senderLinkTimestamp
Time GetSenderLinkTimestamp(void) const
Get sender time stamp of this tag.
void SetSenderLinkTimestamp(Time senderLinkTimestamp)
Set sender time stamp of this tag.
virtual uint32_t GetSerializedSize() const
Get serialized size of SatMacLinkTimeTag.
Time tag used to identify the time when packet is enqueued at MAC level.
virtual void Print(std::ostream &os) const
Print time stamp of this instance of SatMacTimeTag.
virtual void Deserialize(TagBuffer i)
Deserializes information from buffer to this instance of SatMacTimeTag.
SatMacTimeTag()
Default constructor.
static TypeId GetTypeId(void)
Get the type ID.
virtual TypeId GetInstanceTypeId(void) const
Get the type ID of instance.
virtual uint32_t GetSerializedSize() const
Get serialized size of SatMacTimeTag.
void SetSenderTimestamp(Time senderTimestamp)
Set sender time stamp of this tag.
virtual void Serialize(TagBuffer i) const
Serializes information to buffer from this instance of SatMacTimeTag.
Time GetSenderTimestamp(void) const
Get sender time stamp of this tag.
Time tag used to identify the time when packet is enqueued at PHY on current link level.
virtual void Deserialize(TagBuffer i)
Deserializes information from buffer to this instance of SatPhyLinkTimeTag.
virtual uint32_t GetSerializedSize() const
Get serialized size of SatPhyLinkTimeTag.
void SetSenderLinkTimestamp(Time senderLinkTimestamp)
Set sender time stamp of this tag.
virtual void Serialize(TagBuffer i) const
Serializes information to buffer from this instance of SatPhyLinkTimeTag.
Time m_senderLinkTimestamp
static TypeId GetTypeId(void)
Get the type ID.
SatPhyLinkTimeTag()
Default constructor.
virtual void Print(std::ostream &os) const
Print time stamp of this instance of SatPhyLinkTimeTag.
virtual TypeId GetInstanceTypeId(void) const
Get the type ID of instance.
Time GetSenderLinkTimestamp(void) const
Get sender time stamp of this tag.
Time tag used to identify the time when packet is enqueued at PHY on first link between GW and UT lev...
void SetSenderTimestamp(Time senderTimestamp)
Set sender time stamp of this tag.
Time GetSenderTimestamp(void) const
Get sender time stamp of this tag.
SatPhyTimeTag()
Default constructor.
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 Deserialize(TagBuffer i)
Deserializes information from buffer to this instance of SatPhyTimeTag.
static TypeId GetTypeId(void)
Get the type ID.
virtual void Serialize(TagBuffer i) const
Serializes information to buffer from this instance of SatPhyTimeTag.
virtual TypeId GetInstanceTypeId(void) const
Get the type ID of instance.
Time tag used to identify the time when packet is enqueued at LLC level.
virtual TypeId GetInstanceTypeId(void) const
Get the type ID of instance.
virtual uint32_t GetSerializedSize() const
Get serialized size of SatTimeTag.
virtual void Deserialize(TagBuffer i)
Deserializes information from buffer to this instance of SatTimeTag.
Time GetSenderTimestamp(void) const
Get sender time stamp of this tag.
virtual void Print(std::ostream &os) const
Print time stamp of this instance of SatTimeTag.
static TypeId GetTypeId(void)
Get the type ID.
virtual void Serialize(TagBuffer i) const
Serializes information to buffer from this instance of SatTimeTag.
void SetSenderTimestamp(Time senderTimestamp)
Set sender time stamp of this tag.
SatTimeTag()
Default constructor.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.