ns3::SatPhyLinkTimeTag Class Reference

Time tag used to identify the time when packet is enqueued at PHY on current link level. More...

#include "satellite-time-tag.h"

+ Inheritance diagram for ns3::SatPhyLinkTimeTag:
+ Collaboration diagram for ns3::SatPhyLinkTimeTag:

Public Member Functions

 SatPhyLinkTimeTag ()
 Default constructor. More...
 
 SatPhyLinkTimeTag (Time senderTimestamp)
 Constructor with initialization parameters. More...
 
virtual void Deserialize (TagBuffer i)
 Deserializes information from buffer to this instance of SatPhyLinkTimeTag. More...
 
virtual TypeId GetInstanceTypeId (void) const
 Get the type ID of instance. More...
 
Time GetSenderLinkTimestamp (void) const
 Get sender time stamp of this tag. More...
 
virtual uint32_t GetSerializedSize () const
 Get serialized size of SatPhyLinkTimeTag. More...
 
virtual void Print (std::ostream &os) const
 Print time stamp of this instance of SatPhyLinkTimeTag. More...
 
virtual void Serialize (TagBuffer i) const
 Serializes information to buffer from this instance of SatPhyLinkTimeTag. More...
 
void SetSenderLinkTimestamp (Time senderLinkTimestamp)
 Set sender time stamp of this tag. More...
 

Static Public Member Functions

static TypeId GetTypeId (void)
 Get the type ID. More...
 

Private Attributes

Time m_senderLinkTimestamp
 

Detailed Description

Time tag used to identify the time when packet is enqueued at PHY on current link level.

Definition at line 183 of file satellite-time-tag.h.

Constructor & Destructor Documentation

◆ SatPhyLinkTimeTag() [1/2]

ns3::SatPhyLinkTimeTag::SatPhyLinkTimeTag ( )

Default constructor.

Definition at line 173 of file satellite-time-tag.cc.

◆ SatPhyLinkTimeTag() [2/2]

ns3::SatPhyLinkTimeTag::SatPhyLinkTimeTag ( Time  senderTimestamp)

Constructor with initialization parameters.

Parameters
senderTimestamp

Definition at line 179 of file satellite-time-tag.cc.

Member Function Documentation

◆ Deserialize()

void ns3::SatPhyLinkTimeTag::Deserialize ( TagBuffer  i)
virtual

Deserializes information from buffer to this instance of SatPhyLinkTimeTag.

Parameters
iBuffer from which the information is deserialized

Definition at line 213 of file satellite-time-tag.cc.

References m_senderLinkTimestamp.

◆ GetInstanceTypeId()

TypeId ns3::SatPhyLinkTimeTag::GetInstanceTypeId ( void  ) const
virtual

Get the type ID of instance.

Returns
the object TypeId

Definition at line 194 of file satellite-time-tag.cc.

References GetTypeId().

+ Here is the call graph for this function:

◆ GetSenderLinkTimestamp()

Time ns3::SatPhyLinkTimeTag::GetSenderLinkTimestamp ( void  ) const

Get sender time stamp of this tag.

Returns
Sender timestamp

Definition at line 227 of file satellite-time-tag.cc.

References m_senderLinkTimestamp.

Referenced by ns3::SatGeoFeederPhy::RxTraces(), ns3::SatGeoUserPhy::RxTraces(), and ns3::SatPhy::RxTraces().

+ Here is the caller graph for this function:

◆ GetSerializedSize()

uint32_t ns3::SatPhyLinkTimeTag::GetSerializedSize ( void  ) const
virtual

Get serialized size of SatPhyLinkTimeTag.

Returns
Serialized size in bytes

Definition at line 200 of file satellite-time-tag.cc.

◆ GetTypeId()

TypeId ns3::SatPhyLinkTimeTag::GetTypeId ( void  )
static

Get the type ID.

Returns
the object TypeId

Definition at line 186 of file satellite-time-tag.cc.

Referenced by GetInstanceTypeId().

+ Here is the caller graph for this function:

◆ Print()

void ns3::SatPhyLinkTimeTag::Print ( std::ostream &  os) const
virtual

Print time stamp of this instance of SatPhyLinkTimeTag.

Parameters
&osOutput stream to which tag timestamp is printed.

Definition at line 221 of file satellite-time-tag.cc.

References m_senderLinkTimestamp.

◆ Serialize()

void ns3::SatPhyLinkTimeTag::Serialize ( TagBuffer  i) const
virtual

Serializes information to buffer from this instance of SatPhyLinkTimeTag.

Parameters
iBuffer in which the information is serialized

Definition at line 206 of file satellite-time-tag.cc.

References m_senderLinkTimestamp.

◆ SetSenderLinkTimestamp()

void ns3::SatPhyLinkTimeTag::SetSenderLinkTimestamp ( Time  senderLinkTimestamp)

Set sender time stamp of this tag.

Parameters
senderTimestampSender time stamp

Definition at line 233 of file satellite-time-tag.cc.

References m_senderLinkTimestamp.

Member Data Documentation

◆ m_senderLinkTimestamp

Time ns3::SatPhyLinkTimeTag::m_senderLinkTimestamp
private

The documentation for this class was generated from the following files: