ns3::SatSuperframeSeq Class Reference

This class implements super frame sequence. More...

#include "satellite-superframe-sequence.h"

+ Inheritance diagram for ns3::SatSuperframeSeq:
+ Collaboration diagram for ns3::SatSuperframeSeq:

Public Types

typedef std::vector< Ptr< SatSuperframeConf > > SatSuperframeConfList
 Define type SatSuperframeConfList. More...
 

Public Member Functions

 SatSuperframeSeq ()
 Default constructor for SatSuperframeConf. More...
 
 ~SatSuperframeSeq ()
 Destructor for SatSuperframeSeq. More...
 
void AddSuperframe (Ptr< SatSuperframeConf > conf)
 Add super frame (configuration) to super frame sequence. More...
 
void AddWaveformConf (Ptr< SatWaveformConf > wfConf)
 Add waveform configuration class instance to this superframe sequence. More...
 
double GetCarrierBandwidthHz (uint32_t carrierId, SatEnums::CarrierBandwidthType_t bandwidthType) const
 Get the bandwidth of the requested carrier. More...
 
uint32_t GetCarrierCount () const
 Get carrier count of the super frame sequence. More...
 
uint32_t GetCarrierCount (uint8_t seqId) const
 Get carrier count in the super frame. More...
 
double GetCarrierFrequencyHz (uint32_t carrierId) const
 Get the center frequency of the requested carrier. More...
 
uint32_t GetCarrierId (uint8_t superframeId, uint8_t frameId, uint16_t frameCarrierId) const
 Get global carrier id. More...
 
Time GetDuration (uint8_t seqId) const
 Get duration of the super frame. More...
 
virtual TypeId GetInstanceTypeId (void) const
 Get the type ID of instance. More...
 
Ptr< SatSuperframeConfGetSuperframeConf (uint8_t seqId) const
 Get superframe conf of the sequence. More...
 
Time GetTargetDuration () const
 Get target duration for sequence. More...
 
Ptr< SatWaveformConfGetWaveformConf () const
 Get waveform configuration. More...
 

Static Public Member Functions

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

Private Types

typedef std::map< uint32_t, Ptr< SatControlMsgContainer > > TbtpMap_t
 

Private Attributes

SatSuperframeConfList m_superframe
 Super frame sequences. More...
 
Time m_targetDuration
 Target duration time for sequence. More...
 
Ptr< SatWaveformConfm_wfConf
 Waveform configurations. More...
 

Detailed Description

This class implements super frame sequence.

It consists information of the super frames in sequence.

Definition at line 43 of file satellite-superframe-sequence.h.

Member Typedef Documentation

◆ SatSuperframeConfList

Define type SatSuperframeConfList.

Definition at line 49 of file satellite-superframe-sequence.h.

◆ TbtpMap_t

typedef std::map<uint32_t, Ptr<SatControlMsgContainer> > ns3::SatSuperframeSeq::TbtpMap_t
private

Definition at line 166 of file satellite-superframe-sequence.h.

Constructor & Destructor Documentation

◆ SatSuperframeSeq()

ns3::SatSuperframeSeq::SatSuperframeSeq ( )

Default constructor for SatSuperframeConf.

Definition at line 36 of file satellite-superframe-sequence.cc.

◆ ~SatSuperframeSeq()

ns3::SatSuperframeSeq::~SatSuperframeSeq ( )

Destructor for SatSuperframeSeq.

Definition at line 41 of file satellite-superframe-sequence.cc.

Member Function Documentation

◆ AddSuperframe()

void ns3::SatSuperframeSeq::AddSuperframe ( Ptr< SatSuperframeConf conf)

Add super frame (configuration) to super frame sequence.

Parameters
confSuper frame configuration to add. (id of the sequence is order number of addition starting from 0)

Definition at line 84 of file satellite-superframe-sequence.cc.

References m_superframe.

◆ AddWaveformConf()

void ns3::SatSuperframeSeq::AddWaveformConf ( Ptr< SatWaveformConf wfConf)

Add waveform configuration class instance to this superframe sequence.

Parameters
wfConfWaveform conf to add

Definition at line 70 of file satellite-superframe-sequence.cc.

References m_wfConf.

◆ GetCarrierBandwidthHz()

double ns3::SatSuperframeSeq::GetCarrierBandwidthHz ( uint32_t  carrierId,
SatEnums::CarrierBandwidthType_t  bandwidthType 
) const

Get the bandwidth of the requested carrier.

Parameters
carrierIdId of the carrier inside super frame which bandwidth is requested.
bandwidthTypeType of bandwidth requested.
Returns
The bandwidth of the requested carrier.

Definition at line 191 of file satellite-superframe-sequence.cc.

References m_superframe.

◆ GetCarrierCount() [1/2]

uint32_t ns3::SatSuperframeSeq::GetCarrierCount ( ) const

Get carrier count of the super frame sequence.

Returns
The super frame sequence carrier count.

Definition at line 92 of file satellite-superframe-sequence.cc.

References m_superframe.

◆ GetCarrierCount() [2/2]

uint32_t ns3::SatSuperframeSeq::GetCarrierCount ( uint8_t  seqId) const

Get carrier count in the super frame.

Parameters
seqIdSequence id of the super frame which carrier count is requested.
Returns
The super frame carrier count.

Definition at line 107 of file satellite-superframe-sequence.cc.

References m_superframe.

◆ GetCarrierFrequencyHz()

double ns3::SatSuperframeSeq::GetCarrierFrequencyHz ( uint32_t  carrierId) const

Get the center frequency of the requested carrier.

Parameters
carrierIdId of the carrier inside super frame which center frequency is requested.
Returns
The center frequency of the requested carrier.

Definition at line 167 of file satellite-superframe-sequence.cc.

References m_superframe.

◆ GetCarrierId()

uint32_t ns3::SatSuperframeSeq::GetCarrierId ( uint8_t  superframeId,
uint8_t  frameId,
uint16_t  frameCarrierId 
) const

Get global carrier id.

Converts super frame specific id to global carrier id.

Parameters
superframeIdId of the super frame requested.
frameIdId of the frame inside super frame requested.
frameCarrierIdId of the carrier inside frame requested.
Returns
The requested carrier id of the super frame.

Definition at line 146 of file satellite-superframe-sequence.cc.

References m_superframe.

◆ GetDuration()

Time ns3::SatSuperframeSeq::GetDuration ( uint8_t  seqId) const

Get duration of the super frame.

Parameters
seqIdSequence id of the super frame which duration is requested.
Returns
The super frame duration.

Definition at line 120 of file satellite-superframe-sequence.cc.

References m_superframe.

◆ GetInstanceTypeId()

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

Get the type ID of instance.

Returns
the object TypeId

Definition at line 62 of file satellite-superframe-sequence.cc.

References GetTypeId().

+ Here is the call graph for this function:

◆ GetSuperframeConf()

Ptr< SatSuperframeConf > ns3::SatSuperframeSeq::GetSuperframeConf ( uint8_t  seqId) const

Get superframe conf of the sequence.

Parameters
seqIdId of the super frame sequence requested.
Returns
The requested super frame conf of the sequence.

Definition at line 133 of file satellite-superframe-sequence.cc.

References m_superframe.

◆ GetTargetDuration()

Time ns3::SatSuperframeSeq::GetTargetDuration ( ) const
inline

Get target duration for sequence.

Returns
target duration for sequence

Definition at line 160 of file satellite-superframe-sequence.h.

References m_targetDuration.

◆ GetTypeId()

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

Get the type ID.

Returns
the object TypeId

Definition at line 47 of file satellite-superframe-sequence.cc.

References m_targetDuration.

Referenced by GetInstanceTypeId().

+ Here is the caller graph for this function:

◆ GetWaveformConf()

Ptr< SatWaveformConf > ns3::SatSuperframeSeq::GetWaveformConf ( ) const

Get waveform configuration.

Returns
SatWaveformConf Waveform configuration class instance

Definition at line 77 of file satellite-superframe-sequence.cc.

References m_wfConf.

Member Data Documentation

◆ m_superframe

SatSuperframeConfList ns3::SatSuperframeSeq::m_superframe
private

Super frame sequences.

Table includes super frame configurations for the return link. Item index of the list means super frame sequence (SFS).

Definition at line 174 of file satellite-superframe-sequence.h.

Referenced by AddSuperframe(), GetCarrierBandwidthHz(), GetCarrierCount(), GetCarrierFrequencyHz(), GetCarrierId(), GetDuration(), and GetSuperframeConf().

◆ m_targetDuration

Time ns3::SatSuperframeSeq::m_targetDuration
private

Target duration time for sequence.

Definition at line 184 of file satellite-superframe-sequence.h.

Referenced by GetTargetDuration(), and GetTypeId().

◆ m_wfConf

Ptr<SatWaveformConf> ns3::SatSuperframeSeq::m_wfConf
private

Waveform configurations.

Definition at line 179 of file satellite-superframe-sequence.h.

Referenced by AddWaveformConf(), and GetWaveformConf().


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