Loading...
Searching...
No Matches
SatNcrTest1 Class Reference

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

Inheritance diagram for SatNcrTest1:
Collaboration diagram for SatNcrTest1:

Public Member Functions

 SatNcrTest1 ()
virtual ~SatNcrTest1 ()

Private Member Functions

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

Private Attributes

Ptr< SatHelperm_helper
std::vector< SatUtMacState::RcstState_tm_states
std::vector< int > m_totalReceived
std::vector< int > m_totalSent

Detailed Description

'NCR, test 1' test case implementation.

This case tests logon mechanism, and that no data is sent by UT before entering TDMA_SYNC state.

Expected result: GW receives nothing before logon GW always receives data after logon At the end, GW receives all data sent by UT

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

Constructor & Destructor Documentation

◆ SatNcrTest1()

SatNcrTest1::SatNcrTest1 ( )

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

◆ ~SatNcrTest1()

SatNcrTest1::~SatNcrTest1 ( )
virtual

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

Member Function Documentation

◆ DoRun()

◆ GetData()

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

Definition at line 211 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_helper

Ptr<SatHelper> SatNcrTest1::m_helper
private

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

Referenced by DoRun().

◆ m_states

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

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

Referenced by DoRun(), and GetData().

◆ m_totalReceived

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

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

Referenced by DoRun(), and GetData().

◆ m_totalSent

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

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

Referenced by DoRun(), and GetData().


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