ns3::SatLinkResultsDvbRcs2TestCase Class Reference

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

+ Inheritance diagram for ns3::SatLinkResultsDvbRcs2TestCase:
+ Collaboration diagram for ns3::SatLinkResultsDvbRcs2TestCase:

Public Member Functions

 SatLinkResultsDvbRcs2TestCase (Ptr< SatLinkResultsDvbRcs2 > linkResults, uint32_t waveformId, double sinrDb, double bler)
 

Private Member Functions

virtual void DoRun ()
 

Private Attributes

double m_bler
 
Ptr< SatLinkResultsDvbRcs2m_linkResults
 
double m_sinrDb
 
uint32_t m_waveformId
 

Detailed Description

Test case for comparing a BLER value computed by DVB-RCS2 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 54 of file satellite-link-results-test.cc.

Constructor & Destructor Documentation

◆ SatLinkResultsDvbRcs2TestCase()

ns3::SatLinkResultsDvbRcs2TestCase::SatLinkResultsDvbRcs2TestCase ( Ptr< SatLinkResultsDvbRcs2 linkResults,
uint32_t  waveformId,
double  sinrDb,
double  bler 
)
Parameters
linkResultspre-loaded DVB-RCS2 link results
waveformIdthe specific DVB-RCS2's waveform ID 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 76 of file satellite-link-results-test.cc.

Member Function Documentation

◆ DoRun()

void ns3::SatLinkResultsDvbRcs2TestCase::DoRun ( void  )
privatevirtual

Member Data Documentation

◆ m_bler

double ns3::SatLinkResultsDvbRcs2TestCase::m_bler
private

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

Referenced by DoRun().

◆ m_linkResults

Ptr<SatLinkResultsDvbRcs2> ns3::SatLinkResultsDvbRcs2TestCase::m_linkResults
private

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

Referenced by DoRun().

◆ m_sinrDb

double ns3::SatLinkResultsDvbRcs2TestCase::m_sinrDb
private

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

Referenced by DoRun().

◆ m_waveformId

uint32_t ns3::SatLinkResultsDvbRcs2TestCase::m_waveformId
private

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

Referenced by DoRun().


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