Public Member Functions

ns3::SpectrumAnalyzerHelper Class Reference

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

List of all members.

Public Member Functions

void SetChannel (Ptr< SpectrumChannel > channel)
void SetChannel (std::string channelName)
void SetPhyAttribute (std::string name, const AttributeValue &v)
void SetDeviceAttribute (std::string n1, const AttributeValue &v1)
void SetRxSpectrumModel (Ptr< SpectrumModel > m)
void EnableAsciiAll (std::string prefix)
NetDeviceContainer Install (NodeContainer c) const
NetDeviceContainer Install (Ptr< Node > node) const
NetDeviceContainer Install (std::string nodeName) const

Member Function Documentation

void ns3::SpectrumAnalyzerHelper::EnableAsciiAll ( std::string  prefix )

Enable ASCII output. This will create one filename for every created SpectrumAnalyzer instance.

Parameters:
prefixthe prefix of the filename of the traces that will be created.
NetDeviceContainer ns3::SpectrumAnalyzerHelper::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::SpectrumAnalyzerHelper::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.
NetDeviceContainer ns3::SpectrumAnalyzerHelper::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.
void ns3::SpectrumAnalyzerHelper::SetChannel ( std::string  channelName )

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

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

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

Parameters:
channel
void ns3::SpectrumAnalyzerHelper::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::SpectrumAnalyzerHelper::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::SpectrumAnalyzerHelper::SetRxSpectrumModel ( Ptr< SpectrumModel m )

Set the spectrum model used by the created SpectrumAnalyzer instances to represent incoming signals

Parameters:
m

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