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

This abstract class defines the interface for interacting with all WifiSpectrumValue implementations. More...

#include "wifi-spectrum-value-helper.h"

+ Inheritance diagram for ns3::WifiSpectrumValueHelper:

Public Member Functions

virtual ~WifiSpectrumValueHelper ()
 
virtual Ptr< SpectrumValueCreateConstant (double psd)=0
 Creates a SpectrumValue instance which has a constant value for all frequencies. More...
 
virtual Ptr< SpectrumValueCreateRfFilter (uint32_t channel)=0
 Creates a pectrumValue instance which represents the frequency response of the RF filter which is used by a wifi device to receive signals when tuned to a particular channel. More...
 
virtual Ptr< SpectrumValueCreateTxPowerSpectralDensity (double txPower, uint32_t channel)=0
 Creates a SpectrumValue instance which represents the TX Power Spectral Density of a wifi device corresponding to the provided parameters. More...
 

Detailed Description

This abstract class defines the interface for interacting with all WifiSpectrumValue implementations.

Definition at line 37 of file wifi-spectrum-value-helper.h.

Constructor & Destructor Documentation

ns3::WifiSpectrumValueHelper::~WifiSpectrumValueHelper ( )
virtual

Definition at line 29 of file wifi-spectrum-value-helper.cc.

Member Function Documentation

virtual Ptr<SpectrumValue> ns3::WifiSpectrumValueHelper::CreateConstant ( double  psd)
pure virtual

Creates a SpectrumValue instance which has a constant value for all frequencies.

Parameters
psdthe constant value
Returns
a Ptr to a newly created SpectrumValue

Implemented in ns3::WifiSpectrumValue5MhzFactory.

virtual Ptr<SpectrumValue> ns3::WifiSpectrumValueHelper::CreateRfFilter ( uint32_t  channel)
pure virtual

Creates a pectrumValue instance which represents the frequency response of the RF filter which is used by a wifi device to receive signals when tuned to a particular channel.

Parameters
channelthe number of the channel
Returns
a Ptr to a newly created SpectrumValue

Implemented in ns3::WifiSpectrumValue5MhzFactory.

virtual Ptr<SpectrumValue> ns3::WifiSpectrumValueHelper::CreateTxPowerSpectralDensity ( double  txPower,
uint32_t  channel 
)
pure virtual

Creates a SpectrumValue instance which represents the TX Power Spectral Density of a wifi device corresponding to the provided parameters.

Parameters
txPowerthe total TX power in W
channelthe number of the channel
Returns
a Ptr to a newly created SpectrumValue

Implemented in ns3::WifiSpectrumValue5MhzFactory.


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