SatRegenerationTest2 Class Reference

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

+ Inheritance diagram for SatRegenerationTest2:
+ Collaboration diagram for SatRegenerationTest2:

Public Member Functions

 SatRegenerationTest2 ()
 
virtual ~SatRegenerationTest2 ()
 

Private Member Functions

virtual void DoRun (void)
 
void GeoPhyTraceCb (Time time, SatEnums::SatPacketEvent_t event, SatEnums::SatNodeType_t type, uint32_t nodeId, Mac48Address address, SatEnums::SatLogLevel_t level, SatEnums::SatLinkDir_t dir, std::string packetInfo)
 
void PhyTraceCb (Time time, SatEnums::SatPacketEvent_t event, SatEnums::SatNodeType_t type, uint32_t nodeId, Mac48Address address, SatEnums::SatLogLevel_t level, SatEnums::SatLinkDir_t dir, std::string packetInfo)
 

Private Attributes

Ptr< SatHelperm_helper
 
uint32_t m_packetsDroppedFeeder
 
uint32_t m_packetsDroppedGw
 
uint32_t m_packetsDroppedUser
 
uint32_t m_packetsDroppedUt
 
uint32_t m_packetsReceivedFeeder
 
uint32_t m_packetsReceivedGw
 
uint32_t m_packetsReceivedUser
 
uint32_t m_packetsReceivedUt
 

Detailed Description

'Regeneration, test 2' test case implementation.

This case tests physical regeneration on satellite. It is based on a SIMPLE scenario, with losses on uplink, forward and return.

Expected result: Packets are lost on uplink with expect drop rate No packets are lost on downlink All packets received on uplink are received on GW/UT

Definition at line 281 of file satellite-regeneration-test.cc.

Constructor & Destructor Documentation

◆ SatRegenerationTest2()

SatRegenerationTest2::SatRegenerationTest2 ( )

Definition at line 320 of file satellite-regeneration-test.cc.

◆ ~SatRegenerationTest2()

SatRegenerationTest2::~SatRegenerationTest2 ( )
virtual

Definition at line 336 of file satellite-regeneration-test.cc.

Member Function Documentation

◆ DoRun()

void SatRegenerationTest2::DoRun ( void  )
privatevirtual

Set regeneration mode

Set constant 10% losses on Uplink

Set simulation output details

Definition at line 418 of file satellite-regeneration-test.cc.

References GeoPhyTraceCb(), m_helper, m_packetsDroppedFeeder, m_packetsDroppedGw, m_packetsDroppedUser, m_packetsDroppedUt, m_packetsReceivedFeeder, m_packetsReceivedGw, m_packetsReceivedUser, m_packetsReceivedUt, and PhyTraceCb().

+ Here is the call graph for this function:

◆ GeoPhyTraceCb()

void SatRegenerationTest2::GeoPhyTraceCb ( Time  time,
SatEnums::SatPacketEvent_t  event,
SatEnums::SatNodeType_t  type,
uint32_t  nodeId,
Mac48Address  address,
SatEnums::SatLogLevel_t  level,
SatEnums::SatLinkDir_t  dir,
std::string  packetInfo 
)
private

Definition at line 341 of file satellite-regeneration-test.cc.

References m_packetsDroppedFeeder, m_packetsDroppedUser, m_packetsReceivedFeeder, and m_packetsReceivedUser.

Referenced by DoRun().

+ Here is the caller graph for this function:

◆ PhyTraceCb()

void SatRegenerationTest2::PhyTraceCb ( Time  time,
SatEnums::SatPacketEvent_t  event,
SatEnums::SatNodeType_t  type,
uint32_t  nodeId,
Mac48Address  address,
SatEnums::SatLogLevel_t  level,
SatEnums::SatLinkDir_t  dir,
std::string  packetInfo 
)
private

Definition at line 378 of file satellite-regeneration-test.cc.

References m_packetsDroppedGw, m_packetsDroppedUt, m_packetsReceivedGw, and m_packetsReceivedUt.

Referenced by DoRun().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_helper

Ptr<SatHelper> SatRegenerationTest2::m_helper
private

Definition at line 306 of file satellite-regeneration-test.cc.

Referenced by DoRun().

◆ m_packetsDroppedFeeder

uint32_t SatRegenerationTest2::m_packetsDroppedFeeder
private

Definition at line 309 of file satellite-regeneration-test.cc.

Referenced by DoRun(), and GeoPhyTraceCb().

◆ m_packetsDroppedGw

uint32_t SatRegenerationTest2::m_packetsDroppedGw
private

Definition at line 316 of file satellite-regeneration-test.cc.

Referenced by DoRun(), and PhyTraceCb().

◆ m_packetsDroppedUser

uint32_t SatRegenerationTest2::m_packetsDroppedUser
private

Definition at line 311 of file satellite-regeneration-test.cc.

Referenced by DoRun(), and GeoPhyTraceCb().

◆ m_packetsDroppedUt

uint32_t SatRegenerationTest2::m_packetsDroppedUt
private

Definition at line 314 of file satellite-regeneration-test.cc.

Referenced by DoRun(), and PhyTraceCb().

◆ m_packetsReceivedFeeder

uint32_t SatRegenerationTest2::m_packetsReceivedFeeder
private

Definition at line 308 of file satellite-regeneration-test.cc.

Referenced by DoRun(), and GeoPhyTraceCb().

◆ m_packetsReceivedGw

uint32_t SatRegenerationTest2::m_packetsReceivedGw
private

Definition at line 315 of file satellite-regeneration-test.cc.

Referenced by DoRun(), and PhyTraceCb().

◆ m_packetsReceivedUser

uint32_t SatRegenerationTest2::m_packetsReceivedUser
private

Definition at line 310 of file satellite-regeneration-test.cc.

Referenced by DoRun(), and GeoPhyTraceCb().

◆ m_packetsReceivedUt

uint32_t SatRegenerationTest2::m_packetsReceivedUt
private

Definition at line 313 of file satellite-regeneration-test.cc.

Referenced by DoRun(), and PhyTraceCb().


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