A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::InterferenceHelperSequenceTest Class Reference
+ Inheritance diagram for ns3::InterferenceHelperSequenceTest:
+ Collaboration diagram for ns3::InterferenceHelperSequenceTest:

Public Member Functions

 InterferenceHelperSequenceTest ()
virtual void DoRun (void)
 Implementation to actually run this test case.
- Public Member Functions inherited from ns3::TestCase
virtual ~TestCase ()

Private Member Functions

Ptr< NodeCreateOne (Vector pos, Ptr< YansWifiChannel > channel)
void SendOnePacket (Ptr< WifiNetDevice > dev)
void SwitchCh (Ptr< WifiNetDevice > dev)

Private Attributes

ObjectFactory m_mac
ObjectFactory m_manager
ObjectFactory m_propDelay

Additional Inherited Members

- Protected Member Functions inherited from ns3::TestCase
 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)

Detailed Description

Definition at line 181 of file wifi-test.cc.

Constructor & Destructor Documentation

ns3::InterferenceHelperSequenceTest::InterferenceHelperSequenceTest ( )

Definition at line 197 of file wifi-test.cc.

Member Function Documentation

Ptr< Node > ns3::InterferenceHelperSequenceTest::CreateOne ( Vector  pos,
Ptr< YansWifiChannel channel 
)
private

Definition at line 217 of file wifi-test.cc.

References ns3::Node::AddDevice(), ns3::Object::AggregateObject(), ns3::Mac48Address::Allocate(), ns3::WifiMac::ConfigureStandard(), ns3::ObjectFactory::Create(), m_mac, m_manager, and ns3::WIFI_PHY_STANDARD_80211a.

Referenced by DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::InterferenceHelperSequenceTest::DoRun ( void  )
virtual
void ns3::InterferenceHelperSequenceTest::SendOnePacket ( Ptr< WifiNetDevice dev)
private

Definition at line 203 of file wifi-test.cc.

Referenced by DoRun().

+ Here is the caller graph for this function:

void ns3::InterferenceHelperSequenceTest::SwitchCh ( Ptr< WifiNetDevice dev)
private

Definition at line 210 of file wifi-test.cc.

References ns3::WifiPhy::SetChannelNumber().

Referenced by DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

ObjectFactory ns3::InterferenceHelperSequenceTest::m_mac
private

Definition at line 193 of file wifi-test.cc.

Referenced by CreateOne(), and DoRun().

ObjectFactory ns3::InterferenceHelperSequenceTest::m_manager
private

Definition at line 192 of file wifi-test.cc.

Referenced by CreateOne(), and DoRun().

ObjectFactory ns3::InterferenceHelperSequenceTest::m_propDelay
private

Definition at line 194 of file wifi-test.cc.

Referenced by DoRun().


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