A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LteEnhancedFfrAreaTestCase Class Reference

#include <lte-test-frequency-reuse.h>

+ Inheritance diagram for LteEnhancedFfrAreaTestCase:
+ Collaboration diagram for LteEnhancedFfrAreaTestCase:

Public Member Functions

 LteEnhancedFfrAreaTestCase (std::string name, std::string schedulerType)
 
virtual ~LteEnhancedFfrAreaTestCase ()
 
- Public Member Functions inherited from LteFrAreaTestCase
 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
 

Private Member Functions

virtual void DoRun (void)
 Implementation to actually run this TestCase. More...
 

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)
 
- Protected Attributes inherited from LteFrAreaTestCase
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
 

Detailed Description

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

Constructor & Destructor Documentation

LteEnhancedFfrAreaTestCase::LteEnhancedFfrAreaTestCase ( std::string  name,
std::string  schedulerType 
)

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

References NS_LOG_INFO.

LteEnhancedFfrAreaTestCase::~LteEnhancedFfrAreaTestCase ( )
virtual

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

Member Function Documentation

void LteEnhancedFfrAreaTestCase::DoRun ( void  )
privatevirtual

Implementation to actually run this TestCase.

Subclasses should override this method to conduct their tests.

Reimplemented from LteFrAreaTestCase.

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

References ns3::LteHelper::ActivateDataRadioBearer(), ns3::ListPositionAllocator::Add(), ns3::NetDeviceContainer::Add(), ns3::LteHelper::Attach(), ns3::NodeContainer::Create(), DlDataRxStartNofiticationArea(), ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::LteSpectrumPhy::GetChannel(), ns3::Object::GetObject(), ns3::MobilityHelper::Install(), ns3::LteHelper::InstallEnbDevice(), ns3::LteHelper::InstallUeDevice(), LteFrAreaTestCase::m_dlBandwidth, LteFrAreaTestCase::m_schedulerType, LteFrAreaTestCase::m_ueMobility, LteFrAreaTestCase::m_ulBandwidth, LteFrAreaTestCase::m_usedWrongDlRbg, LteFrAreaTestCase::m_usedWrongUlRbg, ns3::MakeBoundCallback(), ns3::MilliSeconds(), NS_LOG_DEBUG, NS_TEST_ASSERT_MSG_EQ, ns3::Config::Reset(), ns3::Seconds(), ns3::LteSimpleSpectrumPhy::SetCellId(), ns3::Config::SetDefault(), ns3::LteHelper::SetEnbDeviceAttribute(), ns3::LteHelper::SetFfrAlgorithmAttribute(), ns3::LteHelper::SetFfrAlgorithmType(), ns3::MobilityHelper::SetMobilityModel(), ns3::MobilityHelper::SetPositionAllocator(), ns3::LteSimpleSpectrumPhy::SetRxSpectrumModel(), ns3::LteHelper::SetSchedulerAttribute(), ns3::LteHelper::SetSchedulerType(), LteFrAreaTestCase::SetUlExpectedValues(), LteFrAreaTestCase::TeleportUe(), ns3::ObjectBase::TraceConnectWithoutContext(), and UlDataRxStartNofiticationArea().

+ Here is the call graph for this function:


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