SatNcrTest3 Class Reference

'NCR, test 3' test case implementation. More...

+ Inheritance diagram for SatNcrTest3:
+ Collaboration diagram for SatNcrTest3:

Public Member Functions

 SatNcrTest3 (SatEnums::RegenerationMode_t regenerationMode)
 
virtual ~SatNcrTest3 ()
 

Private Member Functions

void ChangeTxStatus (bool enable)
 
virtual void DoRun (void)
 
void GetData (Ptr< CbrApplication > sender, Ptr< PacketSink > receiver)
 

Private Attributes

Ptr< SatChannelm_channel
 
Ptr< SatHelperm_helper
 
SatEnums::RegenerationMode_t m_regenerationMode
 
std::vector< SatUtMacState::RcstState_tm_states
 
std::vector< int > m_totalReceived
 
std::vector< int > m_totalSent
 

Detailed Description

'NCR, test 3' test case implementation.

This case tests ncr recovery timeout mechanism and logoff.

Expected result: UT switch to NCR_RECOVERY if NCR reception is stopped UT switch to OFF_STANDBY after timeout GW logoff after control burst timeout UT logon again when NCR messages are sent again GW logon procedure pass

Definition at line 455 of file satellite-ncr-test.cc.

Constructor & Destructor Documentation

◆ SatNcrTest3()

SatNcrTest3::SatNcrTest3 ( SatEnums::RegenerationMode_t  regenerationMode)

Definition at line 477 of file satellite-ncr-test.cc.

References m_regenerationMode.

◆ ~SatNcrTest3()

SatNcrTest3::~SatNcrTest3 ( )
virtual

Definition at line 485 of file satellite-ncr-test.cc.

Member Function Documentation

◆ ChangeTxStatus()

void SatNcrTest3::ChangeTxStatus ( bool  enable)
private

Definition at line 683 of file satellite-ncr-test.cc.

References m_helper.

Referenced by DoRun().

+ Here is the caller graph for this function:

◆ DoRun()

void SatNcrTest3::DoRun ( void  )
privatevirtual

Definition at line 493 of file satellite-ncr-test.cc.

References ChangeTxStatus(), GetData(), m_helper, m_regenerationMode, m_states, and m_totalReceived.

+ Here is the call graph for this function:

◆ GetData()

void SatNcrTest3::GetData ( Ptr< CbrApplication >  sender,
Ptr< PacketSink >  receiver 
)
private

Definition at line 670 of file satellite-ncr-test.cc.

References m_helper, m_states, m_totalReceived, and m_totalSent.

Referenced by DoRun().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_channel

Ptr<SatChannel> SatNcrTest3::m_channel
private

Definition at line 473 of file satellite-ncr-test.cc.

◆ m_helper

Ptr<SatHelper> SatNcrTest3::m_helper
private

Definition at line 468 of file satellite-ncr-test.cc.

Referenced by ChangeTxStatus(), DoRun(), and GetData().

◆ m_regenerationMode

SatEnums::RegenerationMode_t SatNcrTest3::m_regenerationMode
private

Definition at line 466 of file satellite-ncr-test.cc.

Referenced by SatNcrTest3(), and DoRun().

◆ m_states

std::vector<SatUtMacState::RcstState_t> SatNcrTest3::m_states
private

Definition at line 472 of file satellite-ncr-test.cc.

Referenced by DoRun(), and GetData().

◆ m_totalReceived

std::vector<int> SatNcrTest3::m_totalReceived
private

Definition at line 471 of file satellite-ncr-test.cc.

Referenced by DoRun(), and GetData().

◆ m_totalSent

std::vector<int> SatNcrTest3::m_totalSent
private

Definition at line 470 of file satellite-ncr-test.cc.

Referenced by GetData().


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