Public Member Functions

ns3::SpectrumPhyHelper Class Reference

#include <spectrum-helper.h>

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

List of all members.

Public Member Functions

void SetPhy (std::string name, 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 SetChannel (Ptr< SpectrumChannel > channel)
void SetChannel (std::string channelName)
void SetPhyAttribute (std::string name, const AttributeValue &v)
Ptr< SpectrumPhy > Create (Ptr< Node > node, Ptr< NetDevice > device) const

Detailed Description

create and configure several SpectrumPhy instances and connect them to a channel.


Member Function Documentation

Ptr<SpectrumPhy> ns3::SpectrumPhyHelper::Create ( Ptr< Node >  node,
Ptr< NetDevice >  device 
) const
Parameters:
node
device
Returns:
a newly created SpectrumPhy instance
void ns3::SpectrumPhyHelper::SetChannel ( Ptr< SpectrumChannel >  channel )

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

Parameters:
channel
void ns3::SpectrumPhyHelper::SetChannel ( std::string  channelName )

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

Parameters:
channelName
void ns3::SpectrumPhyHelper::SetPhy ( std::string  name,
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:
namethe type of SpectrumPhy to use
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
void ns3::SpectrumPhyHelper::SetPhyAttribute ( std::string  name,
const AttributeValue &  v 
)
Parameters:
namethe name of the attribute to set
vthe value of the attribute

Set an attribute of the SpectrumPhy instances to be created


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