A Discrete-Event Network Simulator
API
ns3::WifiPhyHelper Class Referenceabstract

create PHY objects More...

#include "wifi-helper.h"

+ Inheritance diagram for ns3::WifiPhyHelper:

Public Member Functions

virtual ~WifiPhyHelper ()
 
virtual Ptr< WifiPhyCreate (Ptr< Node > node, Ptr< NetDevice > device) const =0
 

Detailed Description

create PHY objects

This base class must be implemented by new PHY implementation which wish to integrate with the ns3::WifiHelper class.

Definition at line 47 of file wifi-helper.h.

Constructor & Destructor Documentation

ns3::WifiPhyHelper::~WifiPhyHelper ( )
virtual

Definition at line 48 of file wifi-helper.cc.

Member Function Documentation

virtual Ptr<WifiPhy> ns3::WifiPhyHelper::Create ( Ptr< Node node,
Ptr< NetDevice device 
) const
pure virtual
Parameters
nodethe node on which the PHY object will reside
devicethe device within which the PHY object will reside
Returns
a new PHY object.

Subclasses must implement this method to allow the ns3::WifiHelper class to create PHY objects from ns3::WifiHelper::Install.

Typically the device type will be of class WifiNetDevice but the type of the pointer is generalized so that this method may be used by other Wifi device variants such as WaveNetDevice.

Implemented in ns3::YansWifiPhyHelper.

Referenced by ns3::MeshHelper::CreateInterface(), ns3::WifiHelper::Install(), and ns3::WaveHelper::Install().

+ Here is the caller graph for this function:


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