Loading...
Searching...
No Matches
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.
 ~SatLinkResultsRtn ()
double GetBler (uint32_t waveformId, double ebNoDb) const
 Get a BLER value from link results.
double GetEbNoDb (uint32_t waveformId, double blerTarget) const
 Get a Eb/No requirement for a given BLER target from link results.

Static Public Member Functions

static TypeId GetTypeId ()
 Get the type ID.

Protected Member Functions

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

Protected Attributes

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

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 113 of file satellite-link-results.h.

Constructor & Destructor Documentation

◆ SatLinkResultsRtn()

ns3::SatLinkResultsRtn::SatLinkResultsRtn ( )

◆ ~SatLinkResultsRtn()

ns3::SatLinkResultsRtn::~SatLinkResultsRtn ( )
inline

Definition at line 121 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::SatLinkResultsDvbRcs2, ns3::SatLinkResultsFSim, and ns3::SatLinkResultsLora.

◆ 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 90 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 103 of file satellite-link-results.cc.

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

◆ GetTypeId()

TypeId ns3::SatLinkResultsRtn::GetTypeId ( )
static

Get the type ID.

Returns
the object TypeId

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

References ns3::SatLinkResults::SatLinkResults().

Here is the call graph for this function:

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 166 of file satellite-link-results.h.

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


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