TIM unicast control message (Tagged by SatControlMsgTag with type value SAT_TIMU_CTRL_MSG) More...
#include "satellite-control-message.h"
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) |
Static Public Member Functions | |
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... | |
TIM unicast control message (Tagged by SatControlMsgTag with type value SAT_TIMU_CTRL_MSG)
Definition at line 780 of file satellite-control-message.h.
ns3::SatTimuMessage::SatTimuMessage | ( | ) |
Constructor for SatRaMessage.
Definition at line 697 of file satellite-control-message.cc.
ns3::SatTimuMessage::~SatTimuMessage | ( | ) |
Destructor for SatRaMessage.
Definition at line 703 of file satellite-control-message.cc.
uint32_t ns3::SatTimuMessage::GetAllocatedBeamId | ( | ) | const |
Get the allocated beam ID.
Definition at line 716 of file satellite-control-message.cc.
References m_beamId.
uint32_t ns3::SatTimuMessage::GetAllocatedSatId | ( | ) | const |
Get the allocated sat ID.
Definition at line 730 of file satellite-control-message.cc.
References m_satId.
Address ns3::SatTimuMessage::GetGwAddress | ( | void | ) | const |
Definition at line 758 of file satellite-control-message.cc.
References m_gwAddress.
|
virtual |
Get the type ID of instance.
Definition at line 690 of file satellite-control-message.cc.
References GetTypeId().
|
inlinevirtual |
Get type of the message.
Implements ns3::SatControlMessage.
Definition at line 809 of file satellite-control-message.h.
References ns3::SatControlMsgTag::SAT_TIMU_CTRL_MSG.
Address ns3::SatTimuMessage::GetSatAddress | ( | void | ) | const |
Definition at line 744 of file satellite-control-message.cc.
References m_satAddress.
|
virtual |
Get real size of the random access message, which can be used to e.g.
simulate real size.
Implements ns3::SatControlMessage.
Definition at line 765 of file satellite-control-message.cc.
|
static |
methods derived from base classes
Definition at line 681 of file satellite-control-message.cc.
Referenced by GetInstanceTypeId().
void ns3::SatTimuMessage::SetAllocatedBeamId | ( | uint32_t | beamId | ) |
Set allocated beam ID.
beamId | Allocated beam ID |
Definition at line 709 of file satellite-control-message.cc.
References m_beamId.
void ns3::SatTimuMessage::SetAllocatedSatId | ( | uint32_t | beamId | ) |
Set allocated sat ID.
satId | Allocated sat ID |
Definition at line 723 of file satellite-control-message.cc.
References m_satId.
void ns3::SatTimuMessage::SetGwAddress | ( | Address | address | ) |
Definition at line 751 of file satellite-control-message.cc.
References m_gwAddress.
void ns3::SatTimuMessage::SetSatAddress | ( | Address | address | ) |
Definition at line 737 of file satellite-control-message.cc.
References m_satAddress.
|
private |
Allocated beam ID.
Definition at line 856 of file satellite-control-message.h.
Referenced by GetAllocatedBeamId(), and SetAllocatedBeamId().
|
private |
Mac address of the new gateway.
Definition at line 871 of file satellite-control-message.h.
Referenced by GetGwAddress(), and SetGwAddress().
|
private |
Satellite mac address of the new gateway.
Definition at line 866 of file satellite-control-message.h.
Referenced by GetSatAddress(), and SetSatAddress().
|
private |
Allocated sat ID.
Definition at line 861 of file satellite-control-message.h.
Referenced by GetAllocatedSatId(), and SetAllocatedSatId().