Public Member Functions | |
| void | AddPropagationLoss (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 | AddPropagationLoss (Ptr< PropagationLossModel > m) |
| void | AddSpectrumPropagationLoss (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 | AddSpectrumPropagationLoss (Ptr< SpectrumPropagationLossModel > m) |
| Ptr< SpectrumChannel > | Create (void) const |
| void | SetChannel (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 | SetPropagationDelay (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()) |
Static Public Member Functions | |
| static SpectrumChannelHelper | Default () |
Private Attributes | |
| ObjectFactory | m_channel |
| ObjectFactory | m_propagationDelay |
| Ptr< PropagationLossModel > | m_propagationLossModel |
| Ptr< SpectrumPropagationLossModel > | m_spectrumPropagationLossModel |
Definition at line 44 of file spectrum-helper.h.
| void ns3::SpectrumChannelHelper::AddPropagationLoss | ( | 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 () |
||
| ) |
| name | the name of the model to set |
| n0 | the name of the attribute to set |
| v0 | the value of the attribute to set |
| n1 | the name of the attribute to set |
| v1 | the value of the attribute to set |
| n2 | the name of the attribute to set |
| v2 | the value of the attribute to set |
| n3 | the name of the attribute to set |
| v3 | the value of the attribute to set |
| n4 | the name of the attribute to set |
| v4 | the value of the attribute to set |
| n5 | the name of the attribute to set |
| v5 | the value of the attribute to set |
| n6 | the name of the attribute to set |
| v6 | the value of the attribute to set |
| n7 | the name of the attribute to set |
| v7 | the value of the attribute to set |
Add a new single-frequency propagation loss model to this channel helper.
Definition at line 68 of file spectrum-helper.cc.
References ns3::ObjectFactory::Create(), ns3::ObjectFactory::Set(), and ns3::ObjectFactory::SetTypeId().
Referenced by ns3::SpectrumIdealPhyTestCase::DoRun().
| void ns3::SpectrumChannelHelper::AddPropagationLoss | ( | Ptr< PropagationLossModel > | m | ) |
Add a new single-frequency propagation loss model instance to this channel helper.
| m | a pointer to the instance of the propagation loss model |
Definition at line 94 of file spectrum-helper.cc.
References ns3::PropagationLossModel::SetNext().
| void ns3::SpectrumChannelHelper::AddSpectrumPropagationLoss | ( | 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 () |
||
| ) |
| name | the name of the model to set |
| n0 | the name of the attribute to set |
| v0 | the value of the attribute to set |
| n1 | the name of the attribute to set |
| v1 | the value of the attribute to set |
| n2 | the name of the attribute to set |
| v2 | the value of the attribute to set |
| n3 | the name of the attribute to set |
| v3 | the value of the attribute to set |
| n4 | the name of the attribute to set |
| v4 | the value of the attribute to set |
| n5 | the name of the attribute to set |
| v5 | the value of the attribute to set |
| n6 | the name of the attribute to set |
| v6 | the value of the attribute to set |
| n7 | the name of the attribute to set |
| v7 | the value of the attribute to set |
Add a new frequency-dependent propagation loss model to this channel helper.
Definition at line 101 of file spectrum-helper.cc.
References ns3::ObjectFactory::Create(), ns3::ObjectFactory::Set(), and ns3::ObjectFactory::SetTypeId().
| void ns3::SpectrumChannelHelper::AddSpectrumPropagationLoss | ( | Ptr< SpectrumPropagationLossModel > | m | ) |
Add a new frequency-dependent propagation loss model instance to this channel helper.
| m | a pointer to the instance of the propagation loss model |
Definition at line 126 of file spectrum-helper.cc.
| Ptr< SpectrumChannel > ns3::SpectrumChannelHelper::Create | ( | void | ) | const |
Create a channel based on the configuration parameters set previously.
Definition at line 157 of file spectrum-helper.cc.
References ns3::ObjectFactory::Create().
Referenced by ns3::SpectrumIdealPhyTestCase::DoRun().
| void ns3::SpectrumChannelHelper::SetChannel | ( | 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 () |
||
| ) |
| type | the type of the SpectrumChannel to use |
| n0 | the name of the attribute to set |
| v0 | the value of the attribute to set |
| n1 | the name of the attribute to set |
| v1 | the value of the attribute to set |
| n2 | the name of the attribute to set |
| v2 | the value of the attribute to set |
| n3 | the name of the attribute to set |
| v3 | the value of the attribute to set |
| n4 | the name of the attribute to set |
| v4 | the value of the attribute to set |
| n5 | the name of the attribute to set |
| v5 | the value of the attribute to set |
| n6 | the name of the attribute to set |
| v6 | the value of the attribute to set |
| n7 | the name of the attribute to set |
| v7 | the value of the attribute to set |
Definition at line 45 of file spectrum-helper.cc.
References ns3::ObjectFactory::Set(), and ns3::ObjectFactory::SetTypeId().
Referenced by ns3::SpectrumIdealPhyTestCase::DoRun().
| void ns3::SpectrumChannelHelper::SetPropagationDelay | ( | 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 () |
||
| ) |
| name | the name of the model to set |
| n0 | the name of the attribute to set |
| v0 | the value of the attribute to set |
| n1 | the name of the attribute to set |
| v1 | the value of the attribute to set |
| n2 | the name of the attribute to set |
| v2 | the value of the attribute to set |
| n3 | the name of the attribute to set |
| v3 | the value of the attribute to set |
| n4 | the name of the attribute to set |
| v4 | the value of the attribute to set |
| n5 | the name of the attribute to set |
| v5 | the value of the attribute to set |
| n6 | the name of the attribute to set |
| v6 | the value of the attribute to set |
| n7 | the name of the attribute to set |
| v7 | the value of the attribute to set |
Configure a propagation delay for this channel.
Definition at line 133 of file spectrum-helper.cc.
References ns3::ObjectFactory::Set(), and ns3::ObjectFactory::SetTypeId().
Referenced by ns3::SpectrumIdealPhyTestCase::DoRun().