ns3::SatTimuMessage Class Reference

TIM unicast control message (Tagged by SatControlMsgTag with type value SAT_TIMU_CTRL_MSG) More...

#include "satellite-control-message.h"

+ Inheritance diagram for ns3::SatTimuMessage:
+ Collaboration diagram for ns3::SatTimuMessage:

Public Member Functions

 SatTimuMessage ()
 Constructor for SatRaMessage. More...
 
 ~SatTimuMessage ()
 Destructor for SatRaMessage. More...
 
uint32_t GetAllocatedBeamId () const
 Get the allocated beam ID. More...
 
uint32_t GetAllocatedSatId () const
 Get the allocated sat ID. More...
 
Address GetGwAddress () const
 
virtual TypeId GetInstanceTypeId (void) const
 Get the type ID of instance. More...
 
SatControlMsgTag::SatControlMsgType_t GetMsgType () const
 Get type of the message. More...
 
Address GetSatAddress () const
 
virtual uint32_t GetSizeInBytes () const
 Get real size of the random access message, which can be used to e.g. More...
 
void SetAllocatedBeamId (uint32_t beamId)
 Set allocated beam ID. More...
 
void SetAllocatedSatId (uint32_t beamId)
 Set allocated sat ID. More...
 
void SetGwAddress (Address address)
 
void SetSatAddress (Address address)
 
- Public Member Functions inherited from ns3::SatControlMessage
 SatControlMessage ()
 Default constructor for SatControlMessage. More...
 
 ~SatControlMessage ()
 Destructor. More...
 

Static Public Member Functions

static TypeId GetTypeId (void)
 methods derived from base classes More...
 
- Static Public Member Functions inherited from ns3::SatControlMessage
static TypeId GetTypeId (void)
 methods derived from base classes More...
 

Private Attributes

uint32_t m_beamId
 Allocated beam ID. More...
 
Address m_gwAddress
 Mac address of the new gateway. More...
 
Address m_satAddress
 Satellite mac address of the new gateway. More...
 
uint32_t m_satId
 Allocated sat ID. More...
 

Detailed Description

TIM unicast control message (Tagged by SatControlMsgTag with type value SAT_TIMU_CTRL_MSG)

Definition at line 780 of file satellite-control-message.h.

Constructor & Destructor Documentation

◆ SatTimuMessage()

ns3::SatTimuMessage::SatTimuMessage ( )

Constructor for SatRaMessage.

Definition at line 697 of file satellite-control-message.cc.

◆ ~SatTimuMessage()

ns3::SatTimuMessage::~SatTimuMessage ( )

Destructor for SatRaMessage.

Definition at line 703 of file satellite-control-message.cc.

Member Function Documentation

◆ GetAllocatedBeamId()

uint32_t ns3::SatTimuMessage::GetAllocatedBeamId ( ) const

Get the allocated beam ID.

Returns
Allocated beam ID

Definition at line 716 of file satellite-control-message.cc.

References m_beamId.

◆ GetAllocatedSatId()

uint32_t ns3::SatTimuMessage::GetAllocatedSatId ( ) const

Get the allocated sat ID.

Returns
Allocated sat ID

Definition at line 730 of file satellite-control-message.cc.

References m_satId.

◆ GetGwAddress()

Address ns3::SatTimuMessage::GetGwAddress ( void  ) const

Definition at line 758 of file satellite-control-message.cc.

References m_gwAddress.

◆ GetInstanceTypeId()

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

Get the type ID of instance.

Returns
the object TypeId

Definition at line 690 of file satellite-control-message.cc.

References GetTypeId().

+ Here is the call graph for this function:

◆ GetMsgType()

SatControlMsgTag::SatControlMsgType_t ns3::SatTimuMessage::GetMsgType ( void  ) const
inlinevirtual

Get type of the message.

Returns
SatControlMsgTag::SAT_TIMU_CTRL_MSG

Implements ns3::SatControlMessage.

Definition at line 809 of file satellite-control-message.h.

References ns3::SatControlMsgTag::SAT_TIMU_CTRL_MSG.

◆ GetSatAddress()

Address ns3::SatTimuMessage::GetSatAddress ( void  ) const

Definition at line 744 of file satellite-control-message.cc.

References m_satAddress.

◆ GetSizeInBytes()

uint32_t ns3::SatTimuMessage::GetSizeInBytes ( ) const
virtual

Get real size of the random access message, which can be used to e.g.

simulate real size.

Returns
Real size of the random access message.

Implements ns3::SatControlMessage.

Definition at line 765 of file satellite-control-message.cc.

◆ GetTypeId()

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

methods derived from base classes

Definition at line 681 of file satellite-control-message.cc.

Referenced by GetInstanceTypeId().

+ Here is the caller graph for this function:

◆ SetAllocatedBeamId()

void ns3::SatTimuMessage::SetAllocatedBeamId ( uint32_t  beamId)

Set allocated beam ID.

Parameters
beamIdAllocated beam ID

Definition at line 709 of file satellite-control-message.cc.

References m_beamId.

◆ SetAllocatedSatId()

void ns3::SatTimuMessage::SetAllocatedSatId ( uint32_t  beamId)

Set allocated sat ID.

Parameters
satIdAllocated sat ID

Definition at line 723 of file satellite-control-message.cc.

References m_satId.

◆ SetGwAddress()

void ns3::SatTimuMessage::SetGwAddress ( Address  address)

Definition at line 751 of file satellite-control-message.cc.

References m_gwAddress.

◆ SetSatAddress()

void ns3::SatTimuMessage::SetSatAddress ( Address  address)

Definition at line 737 of file satellite-control-message.cc.

References m_satAddress.

Member Data Documentation

◆ m_beamId

uint32_t ns3::SatTimuMessage::m_beamId
private

Allocated beam ID.

Definition at line 856 of file satellite-control-message.h.

Referenced by GetAllocatedBeamId(), and SetAllocatedBeamId().

◆ m_gwAddress

Address ns3::SatTimuMessage::m_gwAddress
private

Mac address of the new gateway.

Definition at line 871 of file satellite-control-message.h.

Referenced by GetGwAddress(), and SetGwAddress().

◆ m_satAddress

Address ns3::SatTimuMessage::m_satAddress
private

Satellite mac address of the new gateway.

Definition at line 866 of file satellite-control-message.h.

Referenced by GetSatAddress(), and SetSatAddress().

◆ m_satId

uint32_t ns3::SatTimuMessage::m_satId
private

Allocated sat ID.

Definition at line 861 of file satellite-control-message.h.

Referenced by GetAllocatedSatId(), and SetAllocatedSatId().


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