A Discrete-Event Network Simulator
API
TestCaseHelper Class Reference

Test Case Helper. More...

Static Public Member Functions

static NetDeviceContainer CreatWaveDevice (uint32_t nodesNumber=2)
 Create WAVE device function. More...
 

Detailed Description

Test Case Helper.

Definition at line 265 of file mac-extension-test-suite.cc.

Member Function Documentation

◆ CreatWaveDevice()

NetDeviceContainer TestCaseHelper::CreatWaveDevice ( uint32_t  nodesNumber = 2)
static

Create WAVE device function.

Parameters
nodesNumberthe number of nodes
Returns
the collection of nodes

Definition at line 279 of file mac-extension-test-suite.cc.

References ns3::YansWifiChannelHelper::Create(), first::devices, ns3::Object::GetObject(), ns3::WaveHelper::Install(), third::mobility, first::nodes, PI, ns3::YansWifiPhyHelper::SetChannel(), and ns3::MobilityModel::SetPosition().

Referenced by ChannelRoutingTestCase::DoRun(), ChannelAccessTestCase::DoRun(), and AnnexC_TestCase::DoRun().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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