ns-3
|
Public Member Functions | |
void | SetChannel (Ptr< SpectrumChannel > channel) |
void | SetChannel (std::string channelName) |
void | SetTxPowerSpectralDensity (Ptr< SpectrumValue > txPsd) |
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 |
Ptr< SpectrumChannel > | m_channel |
Ptr< SpectrumValue > | m_txPsd |
c | the set of nodes on which a device must be created |
References ns3::NetDeviceContainer::Add(), ns3::Node::AddDevice(), ns3::NodeContainer::Begin(), ns3::ObjectFactory::Create(), ns3::NodeContainer::End(), ns3::Object::GetObject(), NS_ASSERT, and NS_ASSERT_MSG.
Referenced by Install().
NetDeviceContainer ns3::WaveformGeneratorHelper::Install | ( | Ptr< Node > | node | ) | const |
node | the node on which a device must be created |
References Install().
NetDeviceContainer ns3::WaveformGeneratorHelper::Install | ( | std::string | nodeName | ) | const |
nodeName | the name of node on which a device must be created |
References Install().
void ns3::WaveformGeneratorHelper::SetChannel | ( | Ptr< SpectrumChannel > | channel | ) |
set the SpectrumChannel that will be used by SpectrumPhy instances created by this helper
channel |
void ns3::WaveformGeneratorHelper::SetChannel | ( | std::string | channelName | ) |
set the SpectrumChannel that will be used by SpectrumPhy instances created by this helper
channelName |
void ns3::WaveformGeneratorHelper::SetDeviceAttribute | ( | std::string | n1, |
const AttributeValue & | v1 | ||
) |
n1 | the name of the attribute to set |
v1 | the value of the attribute to set |
Set these attributes on each AlohaNoackNetDevice created
References ns3::ObjectFactory::Set().
void ns3::WaveformGeneratorHelper::SetPhyAttribute | ( | std::string | name, |
const AttributeValue & | v | ||
) |
name | the name of the attribute to set |
v | the value of the attribute |
Set these attributes on each HdOfdmSpectrumPhy instance to be created
References ns3::ObjectFactory::Set().
void ns3::WaveformGeneratorHelper::SetTxPowerSpectralDensity | ( | Ptr< SpectrumValue > | txPsd | ) |
txPsd | the Power Spectral Density to be used for transmission by all created PHY instances |
References NS_LOG_FUNCTION.