A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LteHandoverDelayTestCase Class Reference
+ Inheritance diagram for LteHandoverDelayTestCase:
+ Collaboration diagram for LteHandoverDelayTestCase:

Public Member Functions

 LteHandoverDelayTestCase (bool useIdealRrc, Time handoverTime, Time delayThreshold, Time simulationDuration)
 
- Public Member Functions inherited from ns3::TestCase
virtual ~TestCase ()
 Destructor. More...
 
std::string GetName (void) const
 

Private Member Functions

virtual void DoRun (void)
 Implementation to actually run this TestCase. More...
 
void EnbHandoverEndOkCallback (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti)
 
void EnbHandoverStartCallback (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti, uint16_t targetCellId)
 
void UeHandoverEndOkCallback (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti)
 
void UeHandoverStartCallback (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti, uint16_t targetCellId)
 

Private Attributes

Time m_delayThreshold
 
Time m_enbHandoverStart
 
Time m_handoverTime
 
Time m_simulationDuration
 
Time m_ueHandoverStart
 
bool m_useIdealRrc
 

Additional Inherited Members

- Public Types inherited from ns3::TestCase
enum  TestDuration { QUICK = 1, EXTENSIVE = 2, TAKES_FOREVER = 3 }
 How long the test takes to execute. More...
 
- Protected Member Functions inherited from ns3::TestCase
 TestCase (std::string name)
 
void AddTestCase (TestCase *testCase) NS_DEPRECATED
 Add an individual child TestCase case to this TestCase. More...
 
void AddTestCase (TestCase *testCase, enum TestDuration duration)
 Add an individual child TestCase to this test suite. More...
 
bool GetErrorStatus (void) const NS_DEPRECATED
 
TestCaseGetParent () const
 
bool IsStatusFailure (void) const
 
bool IsStatusSuccess (void) const
 
void SetDataDir (std::string directory)
 
void ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line)
 Log the failure of this TestCase. More...
 
bool MustAssertOnFailure (void) const
 
bool MustContinueOnFailure (void) const
 
std::string CreateDataDirFilename (std::string filename)
 
std::string CreateTempDirFilename (std::string filename)
 

Detailed Description

Definition at line 56 of file test-lte-handover-delay.cc.

Constructor & Destructor Documentation

LteHandoverDelayTestCase::LteHandoverDelayTestCase ( bool  useIdealRrc,
Time  handoverTime,
Time  delayThreshold,
Time  simulationDuration 
)
inline

Definition at line 59 of file test-lte-handover-delay.cc.

Member Function Documentation

void LteHandoverDelayTestCase::EnbHandoverEndOkCallback ( std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)
private

Definition at line 241 of file test-lte-handover-delay.cc.

References ns3::Time::GetSeconds(), ns3::Simulator::Now(), NS_ASSERT, NS_LOG_DEBUG, NS_LOG_FUNCTION, and NS_TEST_ASSERT_MSG_LT.

Referenced by DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LteHandoverDelayTestCase::EnbHandoverStartCallback ( std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti,
uint16_t  targetCellId 
)
private

Definition at line 233 of file test-lte-handover-delay.cc.

References ns3::Simulator::Now(), and NS_LOG_FUNCTION.

Referenced by DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LteHandoverDelayTestCase::UeHandoverEndOkCallback ( std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)
private

Definition at line 218 of file test-lte-handover-delay.cc.

References ns3::Time::GetSeconds(), ns3::Simulator::Now(), NS_ASSERT, NS_LOG_DEBUG, NS_LOG_FUNCTION, and NS_TEST_ASSERT_MSG_LT.

Referenced by DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LteHandoverDelayTestCase::UeHandoverStartCallback ( std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti,
uint16_t  targetCellId 
)
private

Definition at line 210 of file test-lte-handover-delay.cc.

References ns3::Simulator::Now(), and NS_LOG_FUNCTION.

Referenced by DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Time LteHandoverDelayTestCase::m_delayThreshold
private

Definition at line 84 of file test-lte-handover-delay.cc.

Time LteHandoverDelayTestCase::m_enbHandoverStart
private

Definition at line 88 of file test-lte-handover-delay.cc.

Time LteHandoverDelayTestCase::m_handoverTime
private

Definition at line 83 of file test-lte-handover-delay.cc.

Time LteHandoverDelayTestCase::m_simulationDuration
private

Definition at line 85 of file test-lte-handover-delay.cc.

Time LteHandoverDelayTestCase::m_ueHandoverStart
private

Definition at line 87 of file test-lte-handover-delay.cc.

bool LteHandoverDelayTestCase::m_useIdealRrc
private

Definition at line 82 of file test-lte-handover-delay.cc.


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