ns3::SatLinkResultsDvbS2TestCase Class Reference

Test case for comparing a BLER value computed by DVB-S2 link results with a BLER value taken from a reference. More...

+ Inheritance diagram for ns3::SatLinkResultsDvbS2TestCase:
+ Collaboration diagram for ns3::SatLinkResultsDvbS2TestCase:

Public Member Functions

 SatLinkResultsDvbS2TestCase (Ptr< SatLinkResultsDvbS2 > linkResults, SatEnums::SatModcod_t modcod, double sinrDb, double bler)
 

Private Member Functions

virtual void DoRun ()
 

Private Attributes

double m_bler
 
Ptr< SatLinkResultsDvbS2m_linkResults
 
SatEnums::SatModcod_t m_modcod
 
double m_sinrDb
 

Detailed Description

Test case for comparing a BLER value computed by DVB-S2 link results with a BLER value taken from a reference.

The test fails if the difference of both BLER values are greater than define SAT_LINK_RESULTS_PRECISION.

Definition at line 111 of file satellite-link-results-test.cc.

Constructor & Destructor Documentation

◆ SatLinkResultsDvbS2TestCase()

ns3::SatLinkResultsDvbS2TestCase::SatLinkResultsDvbS2TestCase ( Ptr< SatLinkResultsDvbS2 linkResults,
SatEnums::SatModcod_t  modcod,
double  sinrDb,
double  bler 
)
Parameters
linkResultspre-loaded DVB-S2 link results
modcodthe specific DVB-S2's modulation and coding scheme to be tested
sinrDbthe SINR (in dB unit) which BLER will be computed from
blerthe reference BLER to be compared with the computed BLER

Definition at line 134 of file satellite-link-results-test.cc.

Member Function Documentation

◆ DoRun()

void ns3::SatLinkResultsDvbS2TestCase::DoRun ( void  )
privatevirtual

Member Data Documentation

◆ m_bler

double ns3::SatLinkResultsDvbS2TestCase::m_bler
private

Definition at line 131 of file satellite-link-results-test.cc.

Referenced by DoRun().

◆ m_linkResults

Ptr<SatLinkResultsDvbS2> ns3::SatLinkResultsDvbS2TestCase::m_linkResults
private

Definition at line 128 of file satellite-link-results-test.cc.

Referenced by DoRun().

◆ m_modcod

SatEnums::SatModcod_t ns3::SatLinkResultsDvbS2TestCase::m_modcod
private

Definition at line 129 of file satellite-link-results-test.cc.

Referenced by DoRun().

◆ m_sinrDb

double ns3::SatLinkResultsDvbS2TestCase::m_sinrDb
private

Definition at line 130 of file satellite-link-results-test.cc.

Referenced by DoRun().


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