Public Member Functions | Protected Attributes

ns3::AdhocAlohaNoackIdealPhyHelper Class Reference

#include <adhoc-aloha-noack-ideal-phy-helper.h>

Collaboration diagram for ns3::AdhocAlohaNoackIdealPhyHelper:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void SetChannel (Ptr< SpectrumChannel > channel)
void SetChannel (std::string channelName)
void SetTxPowerSpectralDensity (Ptr< SpectrumValue > txPsd)
void SetNoisePowerSpectralDensity (Ptr< SpectrumValue > noisePsd)
void SetPhyAttribute (std::string name, const AttributeValue &v)
void SetDeviceAttribute (std::string n1, const AttributeValue &v1)
NetDeviceContainer Install (NodeContainer c) const
NetDeviceContainer Install (Ptr< Node > node) const
NetDeviceContainer Install (std::string nodeName) const

Protected Attributes

ObjectFactory m_phy
ObjectFactory m_device
ObjectFactory m_queue
Ptr< SpectrumChannelm_channel
Ptr< SpectrumValuem_txPsd
Ptr< SpectrumValuem_noisePsd

Detailed Description

create the NetDevice depicted in the figure

HdOfdmAlohaNoAck.png

Member Function Documentation

NetDeviceContainer ns3::AdhocAlohaNoackIdealPhyHelper::Install ( NodeContainer  c ) const
Parameters:
cthe set of nodes on which a device must be created
Returns:
a device container which contains all the devices created by this method.
NetDeviceContainer ns3::AdhocAlohaNoackIdealPhyHelper::Install ( Ptr< Node node ) const
Parameters:
nodethe node on which a device must be created
Returns:
a device container which contains all the devices created by this method.
NetDeviceContainer ns3::AdhocAlohaNoackIdealPhyHelper::Install ( std::string  nodeName ) const
Parameters:
nodeNamethe name of node on which a device must be created
Returns:
a device container which contains all the devices created by this method.
void ns3::AdhocAlohaNoackIdealPhyHelper::SetChannel ( std::string  channelName )

set the SpectrumChannel that will be used by SpectrumPhy instances created by this helper

Parameters:
channelName
void ns3::AdhocAlohaNoackIdealPhyHelper::SetChannel ( Ptr< SpectrumChannel channel )

set the SpectrumChannel that will be used by SpectrumPhy instances created by this helper

Parameters:
channel
void ns3::AdhocAlohaNoackIdealPhyHelper::SetDeviceAttribute ( std::string  n1,
const AttributeValue v1 
)
Parameters:
n1the name of the attribute to set
v1the value of the attribute to set

Set these attributes on each AlohaNoackNetDevice created

void ns3::AdhocAlohaNoackIdealPhyHelper::SetNoisePowerSpectralDensity ( Ptr< SpectrumValue noisePsd )
Parameters:
noisePsdthe Power Spectral Density to be used for transmission by all created PHY instances
void ns3::AdhocAlohaNoackIdealPhyHelper::SetPhyAttribute ( std::string  name,
const AttributeValue v 
)
Parameters:
namethe name of the attribute to set
vthe value of the attribute

Set these attributes on each HdOfdmSpectrumPhy instance to be created

void ns3::AdhocAlohaNoackIdealPhyHelper::SetTxPowerSpectralDensity ( Ptr< SpectrumValue txPsd )
Parameters:
txPsdthe Power Spectral Density to be used for transmission by all created PHY instances

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