A Discrete-Event Network Simulator
API
LteDistributedFfrAreaTestCase Class Reference

Lte Distributed Ffr Area Test Case. More...

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

+ Inheritance diagram for LteDistributedFfrAreaTestCase:
+ Collaboration diagram for LteDistributedFfrAreaTestCase:

Public Member Functions

 LteDistributedFfrAreaTestCase (std::string name, std::string schedulerType)
 Constructor. More...
 
 ~LteDistributedFfrAreaTestCase () override
 
- Public Member Functions inherited from LteFrAreaTestCase
 LteFrAreaTestCase (std::string name, std::string schedulerType)
 Constructor. More...
 
 ~LteFrAreaTestCase () override
 
void DlDataRxStart (Ptr< const SpectrumValue > spectrumValue)
 DL data receive start function. More...
 
void SetDlExpectedValues (double expectedPower, std::vector< bool > expectedDlRb)
 Set DL expected values function. More...
 
void SetUlExpectedValues (double expectedPower, std::vector< bool > expectedDlRb)
 Set UL expected values function. More...
 
void SimpleTeleportUe (uint32_t x, uint32_t y)
 Simple teleport UE function. More...
 
void TeleportUe (uint32_t x, uint32_t y, double expectedPower, std::vector< bool > expectedDlRb)
 Teleport UE function. More...
 
void TeleportUe2 (Ptr< Node > ueNode, uint32_t x, uint32_t y, double expectedPower, std::vector< bool > expectedDlRb)
 Teleport UE 2 function. More...
 
void UlDataRxStart (Ptr< const SpectrumValue > spectrumValue)
 UL data receive start function. More...
 
- Public Member Functions inherited from ns3::TestCase
 TestCase (const TestCase &)=delete
 
virtual ~TestCase ()
 Destructor. More...
 
std::string GetName () const
 
TestCaseoperator= (const TestCase &)=delete
 

Private Member Functions

void DoRun () override
 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)
 Constructor. More...
 
void AddTestCase (TestCase *testCase, TestDuration duration=QUICK)
 Add an individual child TestCase to this test suite. More...
 
TestCaseGetParent () const
 Get the parent of this TestCase. More...
 
bool IsStatusFailure () const
 Check if any tests failed. More...
 
bool IsStatusSuccess () 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 () const
 Check if this run should assert on failure. More...
 
bool MustContinueOnFailure () 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 inherited from LteFrAreaTestCase
uint16_t m_dlBandwidth
 the DL bandwidth More...
 
double m_expectedDlPower
 the expected DL power More...
 
std::vector< bool > m_expectedDlRb
 the expected DL per RB More...
 
double m_expectedUlPower
 expected UL power More...
 
std::vector< bool > m_expectedUlRb
 expected UL per RB More...
 
std::string m_schedulerType
 the scheduler type More...
 
Time m_teleportTime
 the teleport time More...
 
Ptr< MobilityModelm_ueMobility
 the UE mobility model More...
 
uint16_t m_ulBandwidth
 the UL bandwidth More...
 
bool m_usedWrongDlPower
 used wrong DL power? More...
 
bool m_usedWrongDlRbg
 used wrong DL RBG? More...
 
bool m_usedWrongUlPower
 used wrong UL power? More...
 
bool m_usedWrongUlRbg
 used wrong UL RBG? More...
 

Detailed Description

Lte Distributed Ffr Area Test Case.

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

Constructor & Destructor Documentation

◆ LteDistributedFfrAreaTestCase()

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

Constructor.

Parameters
namethe reference name
schedulerTypethe scheduler type

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

References NS_LOG_INFO.

◆ ~LteDistributedFfrAreaTestCase()

LteDistributedFfrAreaTestCase::~LteDistributedFfrAreaTestCase ( )
override

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

Member Function Documentation

◆ DoRun()

void LteDistributedFfrAreaTestCase::DoRun ( )
overrideprivatevirtual

Implementation to actually run this TestCase.

Subclasses should override this method to conduct their tests.

Reimplemented from LteFrAreaTestCase.

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

References ns3::LteHelper::ActivateDedicatedEpsBearer(), ns3::NetDeviceContainer::Add(), ns3::LteHelper::AddX2Interface(), ns3::Ipv4AddressHelper::Assign(), ns3::NoBackhaulEpcHelper::AssignUeIpv4Address(), ns3::LteHelper::Attach(), first::clientApps, ns3::NodeContainer::Create(), DlDataRxStartNotificationArea(), ns3::GbrQosInformation::gbrDl, ns3::GbrQosInformation::gbrUl, ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::LteEnbNetDevice::GetDlEarfcn(), ns3::NodeContainer::GetN(), ns3::Object::GetObject(), ns3::NoBackhaulEpcHelper::GetPgwNode(), ns3::Ipv4StaticRoutingHelper::GetStaticRouting(), ns3::NoBackhaulEpcHelper::GetUeDefaultGatewayAddress(), ns3::LteEnbNetDevice::GetUlEarfcn(), ns3::UniformRandomVariable::GetValue(), ns3::UdpClientHelper::Install(), ns3::PointToPointHelper::Install(), ns3::PacketSinkHelper::Install(), ns3::LteHelper::InstallEnbDevice(), ns3::LteHelper::InstallUeDevice(), nsclick-simple-lan::internet, ns3::EpcTft::PacketFilter::localPortEnd, ns3::EpcTft::PacketFilter::localPortStart, LteFrAreaTestCase::m_dlBandwidth, LteFrAreaTestCase::m_schedulerType, LteFrAreaTestCase::m_ueMobility, LteFrAreaTestCase::m_ulBandwidth, LteFrAreaTestCase::m_usedWrongDlRbg, LteFrAreaTestCase::m_usedWrongUlRbg, ns3::MakeBoundCallback(), ns3::GbrQosInformation::mbrDl, ns3::GbrQosInformation::mbrUl, ns3::MilliSeconds(), third::mobility, NS_LOG_DEBUG, NS_LOG_LOGIC, NS_TEST_ASSERT_MSG_EQ, ns3::EpcTft::PacketFilter::remotePortEnd, ns3::EpcTft::PacketFilter::remotePortStart, ns3::Config::Reset(), ns3::Seconds(), first::serverApps, ns3::UdpClientHelper::SetAttribute(), ns3::ObjectBase::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::Config::SetDefault(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::LteHelper::SetEnbDeviceAttribute(), ns3::LteHelper::SetEpcHelper(), ns3::LteHelper::SetFfrAlgorithmAttribute(), ns3::LteHelper::SetFfrAlgorithmType(), ns3::LteHelper::SetHandoverAlgorithmType(), ns3::LteHelper::SetSchedulerType(), LteFrAreaTestCase::SetUlExpectedValues(), LteFrAreaTestCase::TeleportUe(), LteFrAreaTestCase::TeleportUe2(), and UlDataRxStartNotificationArea().

+ Here is the call graph for this function:

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