A Discrete-Event Network Simulator
API
LteFrAreaTestCase Class Reference

#include "lte-test-frequency-reuse.h"

+ Inheritance diagram for LteFrAreaTestCase:
+ Collaboration diagram for LteFrAreaTestCase:

Public Member Functions

 LteFrAreaTestCase (std::string name, std::string schedulerType)
 
virtual ~LteFrAreaTestCase ()
 
void DlDataRxStart (Ptr< const SpectrumValue > spectrumValue)
 
void SetDlExpectedValues (double expectedPower, std::vector< bool > expectedDlRb)
 
void SetUlExpectedValues (double expectedPower, std::vector< bool > expectedDlRb)
 
void SimpleTeleportUe (uint32_t x, uint32_t y)
 
void TeleportUe (uint32_t x, uint32_t y, double expectedPower, std::vector< bool > expectedDlRb)
 
void TeleportUe2 (Ptr< Node > ueNode, uint32_t x, uint32_t y, double expectedPower, std::vector< bool > expectedDlRb)
 
void UlDataRxStart (Ptr< const SpectrumValue > spectrumValue)
 
- Public Member Functions inherited from ns3::TestCase
virtual ~TestCase ()
 Destructor. More...
 
std::string GetName (void) const
 

Protected Member Functions

virtual void DoRun (void)
 Implementation to actually run this TestCase. More...
 
- Protected Member Functions inherited from ns3::TestCase
 TestCase (std::string name)
 Constructor. More...
 
void AddTestCase (TestCase *testCase, enum TestDuration duration)
 Add an individual child TestCase to this test suite. More...
 
TestCaseGetParent () const
 Get the parent of this TestCsse. More...
 
bool IsStatusFailure (void) const
 Check if any tests failed. More...
 
bool IsStatusSuccess (void) const
 Check if all tests passed. More...
 
void SetDataDir (std::string directory)
 Set the data directory where reference trace files can be found. More...
 
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
 Check if this run should assert on failure. More...
 
bool MustContinueOnFailure (void) const
 Check if this run should continue on failure. More...
 
std::string CreateDataDirFilename (std::string filename)
 Construct the full path to a file in the data directory. More...
 
std::string CreateTempDirFilename (std::string filename)
 Construct the full path to a file in a temporary directory. More...
 

Protected Attributes

uint8_t m_dlBandwidth
 
double m_expectedDlPower
 
std::vector< bool > m_expectedDlRb
 
double m_expectedUlPower
 
std::vector< bool > m_expectedUlRb
 
std::string m_schedulerType
 
Time m_teleportTime
 
Ptr< MobilityModelm_ueMobility
 
uint8_t m_ulBandwidth
 
bool m_usedWrongDlPower
 
bool m_usedWrongDlRbg
 
bool m_usedWrongUlPower
 
bool m_usedWrongUlRbg
 

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...
 

Detailed Description

Definition at line 117 of file lte-test-frequency-reuse.h.

Constructor & Destructor Documentation

LteFrAreaTestCase::LteFrAreaTestCase ( std::string  name,
std::string  schedulerType 
)
LteFrAreaTestCase::~LteFrAreaTestCase ( )
virtual

Definition at line 479 of file lte-test-frequency-reuse.cc.

Member Function Documentation

void LteFrAreaTestCase::DlDataRxStart ( Ptr< const SpectrumValue spectrumValue)
void LteFrAreaTestCase::DoRun ( void  )
protectedvirtual

Implementation to actually run this TestCase.

Subclasses should override this method to conduct their tests.

Implements ns3::TestCase.

Reimplemented in LteDistributedFfrAreaTestCase, LteEnhancedFfrAreaTestCase, LteSoftFfrAreaTestCase, LteSoftFrAreaTestCase, and LteStrictFrAreaTestCase.

Definition at line 596 of file lte-test-frequency-reuse.cc.

void LteFrAreaTestCase::SetDlExpectedValues ( double  expectedPower,
std::vector< bool >  expectedDlRb 
)

Definition at line 580 of file lte-test-frequency-reuse.cc.

References m_expectedDlPower, m_expectedDlRb, and NS_LOG_FUNCTION.

void LteFrAreaTestCase::SetUlExpectedValues ( double  expectedPower,
std::vector< bool >  expectedDlRb 
)
void LteFrAreaTestCase::SimpleTeleportUe ( uint32_t  x,
uint32_t  y 
)

Definition at line 545 of file lte-test-frequency-reuse.cc.

References m_teleportTime, m_ueMobility, ns3::Now(), NS_LOG_DEBUG, NS_LOG_FUNCTION, and ns3::MobilityModel::SetPosition().

+ Here is the call graph for this function:

void LteFrAreaTestCase::TeleportUe ( uint32_t  x,
uint32_t  y,
double  expectedPower,
std::vector< bool >  expectedDlRb 
)
void LteFrAreaTestCase::TeleportUe2 ( Ptr< Node ueNode,
uint32_t  x,
uint32_t  y,
double  expectedPower,
std::vector< bool >  expectedDlRb 
)

Definition at line 566 of file lte-test-frequency-reuse.cc.

References ns3::Object::GetObject(), m_expectedDlPower, m_expectedDlRb, m_teleportTime, ns3::Now(), NS_LOG_DEBUG, NS_LOG_FUNCTION, and ns3::MobilityModel::SetPosition().

Referenced by LteDistributedFfrAreaTestCase::DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LteFrAreaTestCase::UlDataRxStart ( Ptr< const SpectrumValue spectrumValue)

Member Data Documentation

double LteFrAreaTestCase::m_expectedDlPower
protected
std::vector<bool> LteFrAreaTestCase::m_expectedDlRb
protected
double LteFrAreaTestCase::m_expectedUlPower
protected

Definition at line 150 of file lte-test-frequency-reuse.h.

Referenced by SetUlExpectedValues(), and UlDataRxStart().

std::vector<bool> LteFrAreaTestCase::m_expectedUlRb
protected

Definition at line 151 of file lte-test-frequency-reuse.h.

Referenced by SetUlExpectedValues(), and UlDataRxStart().

Time LteFrAreaTestCase::m_teleportTime
protected
bool LteFrAreaTestCase::m_usedWrongDlPower
protected

Definition at line 148 of file lte-test-frequency-reuse.h.

bool LteFrAreaTestCase::m_usedWrongUlPower
protected

Definition at line 153 of file lte-test-frequency-reuse.h.


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