This class defines all functions to create spectrum model for LrWpan. More...
#include "lr-wpan-spectrum-value-helper.h"
Public Member Functions | |
| LrWpanSpectrumValueHelper (void) | |
| virtual | ~LrWpanSpectrumValueHelper (void) | 
| Ptr< SpectrumValue > | CreateNoisePowerSpectralDensity (uint32_t channel) | 
| create spectrum value for noise  More... | |
| Ptr< SpectrumValue > | CreateTxPowerSpectralDensity (double txPower, uint32_t channel) | 
| create spectrum value  More... | |
Static Public Member Functions | |
| static double | TotalAvgPower (Ptr< const SpectrumValue > psd, uint32_t channel) | 
| total average power of the signal is the integral of the PSD using the limits of the given channel  More... | |
Private Attributes | |
| double | m_noiseFactor | 
| A scaling factor for the noise power.  More... | |
This class defines all functions to create spectrum model for LrWpan.
Definition at line 34 of file lr-wpan-spectrum-value-helper.h.
| ns3::LrWpanSpectrumValueHelper::LrWpanSpectrumValueHelper | ( | void | ) | 
Definition at line 59 of file lr-wpan-spectrum-value-helper.cc.
References m_noiseFactor, and NS_LOG_FUNCTION.
      
  | 
  virtual | 
Definition at line 65 of file lr-wpan-spectrum-value-helper.cc.
References NS_LOG_FUNCTION.
| Ptr< SpectrumValue > ns3::LrWpanSpectrumValueHelper::CreateNoisePowerSpectralDensity | ( | uint32_t | channel | ) | 
create spectrum value for noise
| channel | the channel number per IEEE802.15.4 | 
Definition at line 104 of file lr-wpan-spectrum-value-helper.cc.
References ns3::g_LrWpanSpectrumModel, m_noiseFactor, NS_ASSERT_MSG, and NS_LOG_FUNCTION.
Referenced by ns3::LrWpanPhy::LrWpanPhy().
 Here is the caller graph for this function:| Ptr< SpectrumValue > ns3::LrWpanSpectrumValueHelper::CreateTxPowerSpectralDensity | ( | double | txPower, | 
| uint32_t | channel | ||
| ) | 
create spectrum value
| txPower | the power transmission in dBm | 
| channel | the channel number per IEEE802.15.4 | 
Definition at line 71 of file lr-wpan-spectrum-value-helper.cc.
References ns3::g_LrWpanSpectrumModel, NS_ASSERT_MSG, and NS_LOG_FUNCTION.
Referenced by LrWpanSpectrumValueHelperTestCase::DoRun(), ns3::LrWpanPhy::LrWpanPhy(), and ns3::LrWpanPhy::PlmeSetAttributeRequest().
 Here is the caller graph for this function:
      
  | 
  static | 
total average power of the signal is the integral of the PSD using the limits of the given channel
| psd | spectral density | 
| channel | the channel number per IEEE802.15.4 | 
Definition at line 127 of file lr-wpan-spectrum-value-helper.cc.
References ns3::g_LrWpanSpectrumModel, NS_ASSERT, and NS_LOG_FUNCTION.
Referenced by ns3::LrWpanPhy::CheckInterference(), LrWpanSpectrumValueHelperTestCase::DoRun(), ns3::LrWpanPhy::EndCca(), ns3::LrWpanPhy::EndEd(), ns3::LrWpanPhy::EndRx(), and ns3::LrWpanPhy::StartRx().
 Here is the caller graph for this function:
      
  | 
  private | 
A scaling factor for the noise power.
Definition at line 68 of file lr-wpan-spectrum-value-helper.h.
Referenced by CreateNoisePowerSpectralDensity(), and LrWpanSpectrumValueHelper().