22 #ifndef LTE_INTERFERENCE_H
23 #define LTE_INTERFERENCE_H
25 #include <ns3/object.h>
26 #include <ns3/packet.h>
27 #include <ns3/nstime.h>
28 #include <ns3/spectrum-value.h>
37 class LteSinrChunkProcessor;
Time m_lastChangeTime
the time of the last change in m_TotalPower
keep track of time values and allow control of global simulation resolution
smart pointer class similar to boost::intrusive_ptr
std::list< Ptr< LteSinrChunkProcessor > > m_interfChunkProcessorList
all the processor instances that need to be notified whenever a new interference chunk is calculated ...
void AddInterferenceChunkProcessor(Ptr< LteSinrChunkProcessor > p)
Add a LteSinrChunkProcessor that will use the time-vs-frequency interference calculated by this LteIn...
virtual ~LteInterference()
Ptr< const SpectrumValue > m_noise
virtual void DoDispose()
This method is called by Object::Dispose or by the object's destructor, whichever comes first...
This class implements a gaussian interference model, i.e., all incoming signals are added to the tota...
void AddSinrChunkProcessor(Ptr< LteSinrChunkProcessor > p)
Add a LteSinrChunkProcessor that will use the time-vs-frequency SINR calculated by this LteInterferen...
void DoSubtractSignal(Ptr< const SpectrumValue > spd, uint32_t signalId)
static TypeId GetTypeId(void)
void ConditionallyEvaluateChunk()
void SetNoisePowerSpectralDensity(Ptr< const SpectrumValue > noisePsd)
void DoAddSignal(Ptr< const SpectrumValue > spd)
void EndRx()
notify that the RX attempt has ended.
uint32_t m_lastSignalIdBeforeReset
void StartRx(Ptr< const SpectrumValue > rxPsd)
notify that the PHY is starting a RX attempt
void AddRsPowerChunkProcessor(Ptr< LteSinrChunkProcessor > p)
Add a LteSinrChunkProcessor that will use the time-vs-frequency power calculated by this LteInterfere...
void AddSignal(Ptr< const SpectrumValue > spd, const Time duration)
notify that a new signal is being perceived in the medium.
Ptr< SpectrumValue > m_rxSignal
stores the power spectral density of the signal whose RX is being attempted
std::list< Ptr< LteSinrChunkProcessor > > m_rsPowerChunkProcessorList
all the processor instances that need to be notified whenever a new interference chunk is calculated ...
std::list< Ptr< LteSinrChunkProcessor > > m_sinrChunkProcessorList
all the processor instances that need to be notified whenever a new SINR chunk is calculated ...
a base class which provides memory management and object aggregation
a unique identifier for an interface.
Ptr< SpectrumValue > m_allSignals
stores the spectral power density of the sum of incoming signals; does not include noise...