#include <lte-test-fading.h>
Public Member Functions | |
LteFadingTestCase (Ptr< BuildingsMobilityModel > m1, Ptr< BuildingsMobilityModel > m2, double refValue, std::string name) | |
TestCase. More... | |
virtual | ~LteFadingTestCase () |
![]() | |
virtual | ~TestCase () |
Destructor. More... | |
Private Member Functions | |
virtual void | DoRun (void) |
Implementation to actually run this TestCase. More... | |
void | GetFadingSample () |
Private Attributes | |
Ptr< TraceFadingLossModel > | m_fadingModule |
std::vector< SpectrumValue > | m_fadingSamples |
double | m_lossRef |
Ptr< BuildingsMobilityModel > | m_node1 |
Ptr< BuildingsMobilityModel > | m_node2 |
Additional Inherited Members | |
![]() | |
enum | TestDuration { QUICK = 1, EXTENSIVE = 2, TAKES_FOREVER = 3 } |
How long the test takes to execute. More... | |
![]() | |
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... | |
std::string | CreateDataDirFilename (std::string filename) |
std::string | CreateTempDirFilename (std::string filename) |
bool | GetErrorStatus (void) const NS_DEPRECATED |
std::string | GetName (void) const |
bool | IsStatusFailure (void) const |
bool | IsStatusSuccess (void) const |
bool | MustAssertOnFailure (void) const |
bool | MustContinueOnFailure (void) const |
void | ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) |
void | SetDataDir (std::string directory) |
Definition at line 48 of file lte-test-fading.h.
ns3::LteFadingTestCase::LteFadingTestCase | ( | Ptr< BuildingsMobilityModel > | m1, |
Ptr< BuildingsMobilityModel > | m2, | ||
double | refValue, | ||
std::string | name | ||
) |
Definition at line 139 of file lte-test-fading.cc.
|
virtual |
Definition at line 147 of file lte-test-fading.cc.
|
privatevirtual |
Implementation to actually run this TestCase.
Subclasses should override this method to conduct their tests.
TX signal #1: Power Spectral Density (W/Hz) of the signal = [0 0] dBm and BW = [20 22] MHz
Implements ns3::TestCase.
Definition at line 152 of file lte-test-fading.cc.
References ns3::Simulator::Destroy(), GetFadingSample(), ns3::TestCase::GetName(), ns3::LOG_LEVEL_ALL, ns3::LogComponentEnable(), m_fadingModule, m_fadingSamples, m_lossRef, m_node1, m_node2, NS_LOG_INFO, ns3::Simulator::Run(), ns3::Simulator::Schedule(), and ns3::Simulator::Stop().
|
private |
TX signal #1: Power Spectral Density (W/Hz) of the signal = [0 0] dBm and BW = [20 22] MHz
Definition at line 267 of file lte-test-fading.cc.
References ns3::BandInfo::fc, ns3::BandInfo::fh, ns3::BandInfo::fl, m_fadingModule, m_fadingSamples, m_node1, and m_node2.
Referenced by DoRun().
|
private |
Definition at line 61 of file lte-test-fading.h.
Referenced by DoRun(), and GetFadingSample().
|
private |
Definition at line 63 of file lte-test-fading.h.
Referenced by DoRun(), and GetFadingSample().
|
private |
Definition at line 62 of file lte-test-fading.h.
Referenced by DoRun().
|
private |
Definition at line 59 of file lte-test-fading.h.
Referenced by DoRun(), and GetFadingSample().
|
private |
Definition at line 60 of file lte-test-fading.h.
Referenced by DoRun(), and GetFadingSample().