ns3::SatLinkResultsRtn Class Referenceabstract

Link results for DVB-RCS2. More...

#include "satellite-link-results.h"

+ Inheritance diagram for ns3::SatLinkResultsRtn:
+ Collaboration diagram for ns3::SatLinkResultsRtn:

Public Member Functions

 SatLinkResultsRtn ()
 Default constructor. More...
 
 ~SatLinkResultsRtn ()
 
double GetBler (uint32_t waveformId, double ebNoDb) const
 Get a BLER value from link results. More...
 
double GetEbNoDb (uint32_t waveformId, double blerTarget) const
 Get a Eb/No requirement for a given BLER target from link results. More...
 

Static Public Member Functions

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

Protected Member Functions

virtual void DoInitialize ()=0
 Initialize by loading DVB-RCS2 look up tables. More...
 

Protected Attributes

std::map< uint32_t, Ptr< SatLookUpTable > > m_table
 Map of satellite link result look up tables. More...
 

Detailed Description

Link results for DVB-RCS2.

Loads and maintains multiple SatLookUpTable. Provides query service based on waveform id.

See usage examples in the parent class documentation (SatLinkResults).

Definition at line 111 of file satellite-link-results.h.

Constructor & Destructor Documentation

◆ SatLinkResultsRtn()

ns3::SatLinkResultsRtn::SatLinkResultsRtn ( )

Default constructor.

Definition at line 73 of file satellite-link-results.cc.

◆ ~SatLinkResultsRtn()

ns3::SatLinkResultsRtn::~SatLinkResultsRtn ( )
inline

Definition at line 119 of file satellite-link-results.h.

Member Function Documentation

◆ DoInitialize()

virtual void ns3::SatLinkResultsRtn::DoInitialize ( )
protectedpure virtual

Initialize by loading DVB-RCS2 look up tables.

Implements ns3::SatLinkResults.

Implemented in ns3::SatLinkResultsLora, ns3::SatLinkResultsFSim, and ns3::SatLinkResultsDvbRcs2.

◆ GetBler()

double ns3::SatLinkResultsRtn::GetBler ( uint32_t  waveformId,
double  ebNoDb 
) const

Get a BLER value from link results.

Parameters
waveformId(which determines burst length and MODCOD)
ebNoDbthe received Eb/No in dB
Returns
BLER value, which is a double ranging between [0..1]

Must be run after SatLinkResults::Initialize is called.

Definition at line 87 of file satellite-link-results.cc.

References ns3::SatLinkResults::m_isInitialized, and m_table.

◆ GetEbNoDb()

double ns3::SatLinkResultsRtn::GetEbNoDb ( uint32_t  waveformId,
double  blerTarget 
) const

Get a Eb/No requirement for a given BLER target from link results.

Parameters
waveformId(which determines burst length and MODCOD)
blerTargetTarget BLER for the system
Returns
Eb/No value

Must be run after SatLinkResults::Initialize is called.

Definition at line 100 of file satellite-link-results.cc.

References ns3::SatLinkResults::m_isInitialized, and m_table.

◆ GetTypeId()

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

Get the type ID.

Returns
the object TypeId

Definition at line 80 of file satellite-link-results.cc.

Member Data Documentation

◆ m_table

std::map<uint32_t, Ptr<SatLookUpTable> > ns3::SatLinkResultsRtn::m_table
protected

Map of satellite link result look up tables.

  • key = uint32_t, i.e. waveform id
  • value = Ptr<SatLookUpTable>, i.e. look-up table containing the link results

Definition at line 164 of file satellite-link-results.h.

Referenced by ns3::SatLinkResultsDvbRcs2::DoInitialize(), ns3::SatLinkResultsFSim::DoInitialize(), ns3::SatLinkResultsLora::DoInitialize(), GetBler(), and GetEbNoDb().


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