Loading...
Searching...
No Matches
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 463 of file satellite-ncr-test.cc.

Constructor & Destructor Documentation

◆ SatNcrTest3()

SatNcrTest3::SatNcrTest3 ( SatEnums::RegenerationMode_t regenerationMode)

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

References m_regenerationMode.

◆ ~SatNcrTest3()

SatNcrTest3::~SatNcrTest3 ( )
virtual

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

Member Function Documentation

◆ ChangeTxStatus()

void SatNcrTest3::ChangeTxStatus ( bool enable)
private

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

Referenced by DoRun().

Here is the caller graph for this function:

◆ DoRun()

◆ GetData()

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

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

References GetData(), m_states, m_totalReceived, and m_totalSent.

Referenced by DoRun(), and GetData().

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

Member Data Documentation

◆ m_channel

Ptr<SatChannel> SatNcrTest3::m_channel
private

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

◆ m_helper

Ptr<SatHelper> SatNcrTest3::m_helper
private

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

Referenced by DoRun().

◆ m_regenerationMode

SatEnums::RegenerationMode_t SatNcrTest3::m_regenerationMode
private

Definition at line 474 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 480 of file satellite-ncr-test.cc.

Referenced by DoRun(), and GetData().

◆ m_totalReceived

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

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

Referenced by DoRun(), and GetData().

◆ m_totalSent

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

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

Referenced by GetData().


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