ns-3
ns3::SpectrumAnalyzerHelper Class Reference

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 SetAntenna (std::string type, std::string n0="", const AttributeValue &v0=EmptyAttributeValue(), std::string n1="", const AttributeValue &v1=EmptyAttributeValue(), std::string n2="", const AttributeValue &v2=EmptyAttributeValue(), std::string n3="", const AttributeValue &v3=EmptyAttributeValue(), std::string n4="", const AttributeValue &v4=EmptyAttributeValue(), std::string n5="", const AttributeValue &v5=EmptyAttributeValue(), std::string n6="", const AttributeValue &v6=EmptyAttributeValue(), std::string n7="", const AttributeValue &v7=EmptyAttributeValue())
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.

References NS_LOG_FUNCTION.

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.

References Install(), and NS_LOG_FUNCTION.

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.

References Install(), and NS_LOG_FUNCTION.

void ns3::SpectrumAnalyzerHelper::SetAntenna ( std::string  type,
std::string  n0 = "",
const AttributeValue v0 = EmptyAttributeValue (),
std::string  n1 = "",
const AttributeValue v1 = EmptyAttributeValue (),
std::string  n2 = "",
const AttributeValue v2 = EmptyAttributeValue (),
std::string  n3 = "",
const AttributeValue v3 = EmptyAttributeValue (),
std::string  n4 = "",
const AttributeValue v4 = EmptyAttributeValue (),
std::string  n5 = "",
const AttributeValue v5 = EmptyAttributeValue (),
std::string  n6 = "",
const AttributeValue v6 = EmptyAttributeValue (),
std::string  n7 = "",
const AttributeValue v7 = EmptyAttributeValue () 
)
Parameters:
typethe type of the model to set
n0the name of the attribute to set
v0the value of the attribute to set
n1the name of the attribute to set
v1the value of the attribute to set
n2the name of the attribute to set
v2the value of the attribute to set
n3the name of the attribute to set
v3the value of the attribute to set
n4the name of the attribute to set
v4the value of the attribute to set
n5the name of the attribute to set
v5the value of the attribute to set
n6the name of the attribute to set
v6the value of the attribute to set
n7the name of the attribute to set
v7the value of the attribute to set

Configure the AntennaModel instance for each new device to be created

References ns3::ObjectFactory::Set(), and ns3::ObjectFactory::SetTypeId().

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

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

Parameters:
channel

References NS_LOG_FUNCTION.

void ns3::SpectrumAnalyzerHelper::SetChannel ( std::string  channelName)

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

Parameters:
channelName

References NS_LOG_FUNCTION.

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

References NS_LOG_FUNCTION, and ns3::ObjectFactory::Set().

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

References NS_LOG_FUNCTION, and ns3::ObjectFactory::Set().

void ns3::SpectrumAnalyzerHelper::SetRxSpectrumModel ( Ptr< SpectrumModel m)

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

Parameters:
m

References NS_LOG_FUNCTION.


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