|
ns-3
|
Set of values corresponding to a given SpectrumModel. More...
#include <spectrum-value.h>


Public Member Functions | |
| SpectrumValue (Ptr< const SpectrumModel > sm) | |
| SpectrumValue constructor. | |
| double & | operator[] (size_t index) |
| SpectrumModelUid_t | GetSpectrumModelUid () const |
| Ptr< const SpectrumModel > | GetSpectrumModel () const |
| Bands::const_iterator | ConstBandsBegin () const |
| Bands::const_iterator | ConstBandsEnd () const |
| Values::const_iterator | ConstValuesBegin () const |
| Values::const_iterator | ConstValuesEnd () const |
| Values::iterator | ValuesBegin () |
| Values::iterator | ValuesEnd () |
| SpectrumValue | operator<< (int n) const |
| SpectrumValue | operator>> (int n) const |
| SpectrumValue & | operator+= (const SpectrumValue &rhs) |
| SpectrumValue & | operator-= (const SpectrumValue &rhs) |
| SpectrumValue & | operator*= (const SpectrumValue &rhs) |
| SpectrumValue & | operator/= (const SpectrumValue &rhs) |
| SpectrumValue & | operator+= (double rhs) |
| SpectrumValue & | operator-= (double rhs) |
| SpectrumValue & | operator*= (double rhs) |
| SpectrumValue & | operator/= (double rhs) |
| SpectrumValue & | operator= (double rhs) |
| Ptr< SpectrumValue > | Copy () const |
Public Member Functions inherited from ns3::SimpleRefCount< SpectrumValue > | |
| SimpleRefCount (const SimpleRefCount &o) | |
| SimpleRefCount & | operator= (const SimpleRefCount &o) |
| void | Ref (void) const |
| void | Unref (void) const |
| uint32_t | GetReferenceCount (void) const |
Additional Inherited Members | |
Static Public Member Functions inherited from ns3::SimpleRefCount< SpectrumValue > | |
| static void | Cleanup (void) |
Set of values corresponding to a given SpectrumModel.
This class implements a Function Space which can represent any function 
Every instance of this class represent a particular function
. The domain of the function space, i.e.,
, is implemented by SetOfFreq. The codomain of the function space is implemented by SetOfValues
To every possible value of
corresponds a different Function Space. Mathematical operations are defined in this Function Space; these operations are implemented by means of operator overloading.
The intended use of this class is to represent frequency-dependent things, such as power spectral densities, frequency-dependent propagation losses, spectral masks, etc.
| ns3::SpectrumValue::SpectrumValue | ( | Ptr< const SpectrumModel > | sm | ) |
SpectrumValue constructor.
| sm | pointer to the SpectrumModel which implements the set of frequencies to which the values will be referring. |
| Bands::const_iterator ns3::SpectrumValue::ConstBandsBegin | ( | ) | const |
Referenced by ns3::ConstantSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(), ns3::FriisSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(), and ns3::Integral().
| Bands::const_iterator ns3::SpectrumValue::ConstBandsEnd | ( | ) | const |
Referenced by ns3::ConstantSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(), ns3::FriisSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(), and ns3::Integral().
| Values::const_iterator ns3::SpectrumValue::ConstValuesBegin | ( | ) | const |
Referenced by ns3::SpectrumConverter::Convert(), ns3::LteAmc::CreateCqiFeedbacks(), ns3::LteEnbPhy::CreateUlCqiReport(), ns3::Integral(), ns3::Norm(), ns3::Prod(), and ns3::Sum().
| Values::const_iterator ns3::SpectrumValue::ConstValuesEnd | ( | ) | const |
Referenced by ns3::SpectrumConverter::Convert(), ns3::LteAmc::CreateCqiFeedbacks(), ns3::LteEnbPhy::CreateUlCqiReport(), ns3::Integral(), ns3::Norm(), ns3::Prod(), and ns3::Sum().
| Ptr< SpectrumValue > ns3::SpectrumValue::Copy | ( | void | ) | const |
Referenced by ns3::SpectrumSignalParameters::SpectrumSignalParameters(), and ns3::LteInterference::StartRx().
| Ptr< const SpectrumModel > ns3::SpectrumValue::GetSpectrumModel | ( | ) | const |
Referenced by ns3::LteInterference::AddSignal(), ns3::SpectrumConverter::Convert(), ns3::HalfDuplexIdealPhy::GetRxSpectrumModel(), ns3::LteInterference::SetNoisePowerSpectralDensity(), ns3::SpectrumInterference::SetNoisePowerSpectralDensity(), and ns3::LteSpectrumPhy::SetNoisePowerSpectralDensity().
| SpectrumModelUid_t ns3::SpectrumValue::GetSpectrumModelUid | ( | ) | const |
References ns3::SpectrumModel::GetUid().
| SpectrumValue & ns3::SpectrumValue::operator*= | ( | const SpectrumValue & | rhs | ) |
Multiply *this by the Right Hand Side of the operator, component by component
| rhs | the Right Hand Side |
| SpectrumValue & ns3::SpectrumValue::operator*= | ( | double | rhs | ) |
Multiply every component of *this by the value of the Right Hand Side of the operator
| rhs | the Right Hand Side |
| SpectrumValue & ns3::SpectrumValue::operator+= | ( | const SpectrumValue & | rhs | ) |
Add the Right Hand Side of the operator to *this, component by component
| rhs | the Right Hand Side |
| SpectrumValue & ns3::SpectrumValue::operator+= | ( | double | rhs | ) |
Add the value of the Right Hand Side of the operator to all components of *this
| rhs | the Right Hand Side |
| SpectrumValue & ns3::SpectrumValue::operator-= | ( | const SpectrumValue & | rhs | ) |
Subtract the Right Hand Side of the operator from *this, component by component
| rhs | the Right Hand Side |
| SpectrumValue & ns3::SpectrumValue::operator-= | ( | double | rhs | ) |
Subtract the value of the Right Hand Side of the operator from all components of *this
| rhs | the Right Hand Side |
| SpectrumValue & ns3::SpectrumValue::operator/= | ( | const SpectrumValue & | rhs | ) |
Divide *this by the Right Hand Side of the operator, component by component
| rhs | the Right Hand Side |
| SpectrumValue & ns3::SpectrumValue::operator/= | ( | double | rhs | ) |
Divide every component of *this by the value of the Right Hand Side of the operator
| rhs | the Right Hand Side |
| SpectrumValue ns3::SpectrumValue::operator<< | ( | int | n | ) | const |
left shift operator
| n | position to shift |
| SpectrumValue & ns3::SpectrumValue::operator= | ( | double | rhs | ) |
Assign each component of *this to the value of the Right Hand Side of the operator
| rhs |
| SpectrumValue ns3::SpectrumValue::operator>> | ( | int | n | ) | const |
right shift operator
| n | position to shift |
| double & ns3::SpectrumValue::operator[] | ( | size_t | index | ) |
Access value at given frequency index
| index | the given frequency index |
| Values::iterator ns3::SpectrumValue::ValuesBegin | ( | ) |
Referenced by ns3::SpectrumConverter::Convert(), ns3::ConstantSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(), and ns3::FriisSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity().
| Values::iterator ns3::SpectrumValue::ValuesEnd | ( | ) |
Referenced by ns3::SpectrumConverter::Convert(), ns3::ConstantSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(), and ns3::FriisSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity().
|
friend |
| arg | the argument |
|
friend |
| arg | the argument |
Referenced by ns3::Log().
|
friend |
| arg | the argument |
Referenced by ns3::Log10().
|
friend |
| arg | the argument |
Referenced by ns3::Log2().
|
friend |
| x | the operand |
|
friend |
multiplication component-by-component (Schur product)
| lhs | Left Hand Side of the operator |
| rhs | Right Hand Side of the operator |
|
friend |
multiplication by a scalar
| lhs | Left Hand Side of the operator |
| rhs | Right Hand Side of the operator |
|
friend |
multiplication of a scalar
| lhs | Left Hand Side of the operator |
| rhs | Right Hand Side of the operator |
|
friend |
addition operator
| lhs | Left Hand Side of the operator |
| rhs | Right Hand Side of the operator |
|
friend |
addition operator
| lhs | Left Hand Side of the operator |
| rhs | Right Hand Side of the operator |
|
friend |
addition operator
| lhs | Left Hand Side of the operator |
| rhs | Right Hand Side of the operator |
|
friend |
unary plus operator
|
friend |
subtraction operator
| lhs | Left Hand Side of the operator |
| rhs | Right Hand Side of the operator |
|
friend |
subtraction operator
| lhs | Left Hand Side of the operator |
| rhs | Right Hand Side of the operator |
|
friend |
subtraction operator
| lhs | Left Hand Side of the operator |
| rhs | Right Hand Side of the operator |
|
friend |
unary minus operator
|
friend |
division component-by-component
| lhs | Left Hand Side of the operator |
| rhs | Right Hand Side of the operator |
|
friend |
division by a scalar
| lhs | Left Hand Side of the operator |
| rhs | Right Hand Side of the operator |
|
friend |
division of a scalar
| lhs | Left Hand Side of the operator |
| rhs | Right Hand Side of the operator |
|
friend |
| lhs | the base |
| rhs | the exponent |
Referenced by ns3::Pow().
|
friend |
| lhs | the base |
| rhs | the exponent |
|
friend |
| x | the operand |
|
friend |
| x | the operand |