Public Member Functions | |
SpectrumIdealPhyTestCase (double snrLinear, uint64_t phyRate, bool rateIsAchievable, std::string channelType) | |
virtual | ~SpectrumIdealPhyTestCase () |
![]() | |
virtual | ~TestCase () |
Private Member Functions | |
virtual void | DoRun (void) |
Static Private Member Functions | |
static std::string | Name (std::string channelType, double snrLinear, uint64_t phyRate) |
Private Attributes | |
std::string | m_channelType |
uint64_t | m_phyRate |
bool | m_rateIsAchievable |
double | m_snrLinear |
Additional Inherited Members | |
![]() | |
TestCase (std::string name) | |
void | AddTestCase (TestCase *testCase) |
Add an individual test case to this test suite. | |
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 68 of file spectrum-ideal-phy-test.cc.
ns3::SpectrumIdealPhyTestCase::SpectrumIdealPhyTestCase | ( | double | snrLinear, |
uint64_t | phyRate, | ||
bool | rateIsAchievable, | ||
std::string | channelType | ||
) |
Definition at line 98 of file spectrum-ideal-phy-test.cc.
|
virtual |
Definition at line 110 of file spectrum-ideal-phy-test.cc.
|
privatevirtual |
Definition at line 116 of file spectrum-ideal-phy-test.cc.
References ns3::SpectrumChannelHelper::AddPropagationLoss(), ns3::Config::Connect(), ns3::SpectrumChannelHelper::Create(), ns3::NodeContainer::Create(), ns3::WifiSpectrumValue5MhzFactory::CreateConstant(), ns3::WifiSpectrumValue5MhzFactory::CreateTxPowerSpectralDensity(), ns3::Simulator::Destroy(), ns3::g_bandwidth, ns3::g_rxBytes, ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::NetDevice::GetAddress(), ns3::NetDevice::GetIfIndex(), ns3::Object::GetObject(), ns3::PacketSocketHelper::Install(), ns3::OnOffHelper::Install(), ns3::AdhocAlohaNoackIdealPhyHelper::Install(), ns3::MobilityHelper::Install(), m_channelType, m_phyRate, m_rateIsAchievable, m_snrLinear, ns3::MakeCallback(), NS_LOG_FUNCTION, NS_LOG_INFO, NS_TEST_ASSERT_MSG_EQ, NS_TEST_ASSERT_MSG_EQ_TOL, ns3::PhyRxEndOkTrace(), ns3::TestCase::Run(), ns3::Seconds(), ns3::OnOffHelper::SetAttribute(), ns3::AdhocAlohaNoackIdealPhyHelper::SetChannel(), ns3::SpectrumChannelHelper::SetChannel(), ns3::OnOffHelper::SetConstantRate(), ns3::MobilityHelper::SetMobilityModel(), ns3::AdhocAlohaNoackIdealPhyHelper::SetNoisePowerSpectralDensity(), ns3::AdhocAlohaNoackIdealPhyHelper::SetPhyAttribute(), ns3::PacketSocketAddress::SetPhysicalAddress(), ns3::MobilityHelper::SetPositionAllocator(), ns3::SpectrumChannelHelper::SetPropagationDelay(), ns3::PacketSocketAddress::SetProtocol(), ns3::PacketSocketAddress::SetSingleDevice(), ns3::AdhocAlohaNoackIdealPhyHelper::SetTxPowerSpectralDensity(), ns3::ApplicationContainer::Start(), ns3::Simulator::Stop(), and ns3::ApplicationContainer::Stop().
|
staticprivate |
Definition at line 88 of file spectrum-ideal-phy-test.cc.
|
private |
Definition at line 84 of file spectrum-ideal-phy-test.cc.
Referenced by DoRun().
|
private |
Definition at line 82 of file spectrum-ideal-phy-test.cc.
Referenced by DoRun().
|
private |
Definition at line 83 of file spectrum-ideal-phy-test.cc.
Referenced by DoRun().
|
private |
Definition at line 81 of file spectrum-ideal-phy-test.cc.
Referenced by DoRun().