SatConstellationTest2 Class Reference

'Constellation, test 2 test case implementation. More...

+ Inheritance diagram for SatConstellationTest2:
+ Collaboration diagram for SatConstellationTest2:

Public Member Functions

 SatConstellationTest2 ()
 
virtual ~SatConstellationTest2 ()
 

Private Member Functions

virtual void DoRun (void)
 
std::vector< std::string > Split (std::string s, char del)
 
void TestFileValue (std::string path, uint32_t time, uint32_t expectedValue)
 

Private Attributes

Ptr< SatHelperm_helper
 

Detailed Description

'Constellation, test 2 test case implementation.

This case tests that a application throughputs PerEntity are correct. It generates a conf with 2 satellites, 2 GWs, 3 UTs and 3 UT users per UT. Each UT user receives 409.6 kb/s.

Expected throughputs (after 3s):

  • 6144 kb/s globally
  • 2048 kb/s and 4096 kb/s per satellite
  • 2048 kb/s per UT
  • 2048 kb/s and 4096 kb/s per GW
  • 409.6 kb/s per UT user
  • 2048 kb/s and 4096 kb/s per satellite

Definition at line 234 of file satellite-constellation-test.cc.

Constructor & Destructor Documentation

◆ SatConstellationTest2()

SatConstellationTest2::SatConstellationTest2 ( )

Definition at line 250 of file satellite-constellation-test.cc.

◆ ~SatConstellationTest2()

SatConstellationTest2::~SatConstellationTest2 ( )
virtual

Definition at line 257 of file satellite-constellation-test.cc.

Member Function Documentation

◆ DoRun()

void SatConstellationTest2::DoRun ( void  )
privatevirtual

Set regeneration mode

Use constellation

Definition at line 319 of file satellite-constellation-test.cc.

References m_helper, and TestFileValue().

+ Here is the call graph for this function:

◆ Split()

std::vector< std::string > SatConstellationTest2::Split ( std::string  s,
char  del 
)
private

Definition at line 262 of file satellite-constellation-test.cc.

Referenced by TestFileValue().

+ Here is the caller graph for this function:

◆ TestFileValue()

void SatConstellationTest2::TestFileValue ( std::string  path,
uint32_t  time,
uint32_t  expectedValue 
)
private

Definition at line 276 of file satellite-constellation-test.cc.

References Split().

Referenced by DoRun().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_helper

Ptr<SatHelper> SatConstellationTest2::m_helper
private

Definition at line 246 of file satellite-constellation-test.cc.

Referenced by DoRun().


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