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>    34 class LteChunkProcessor;
    94   virtual void EndRx ();
 Time m_lastChangeTime
the time of the last change in m_TotalPower 
bool m_receiving
are we receiving? 
Simulation virtual time values and global simulation resolution. 
Smart pointer class similar to boost::intrusive_ptr. 
virtual ~LteInterference()
Ptr< const SpectrumValue > m_noise
the noise value 
virtual void DoDispose()
Destructor implementation. 
virtual void AddSinrChunkProcessor(Ptr< LteChunkProcessor > p)
Add a LteChunkProcessor that will use the time-vs-frequency SINR calculated by this LteInterference i...
std::list< Ptr< LteChunkProcessor > > m_sinrChunkProcessorList
all the processor instances that need to be notified whenever a new SINR chunk is calculated ...
virtual void AddRsPowerChunkProcessor(Ptr< LteChunkProcessor > p)
Add a LteChunkProcessor that will use the time-vs-frequency power calculated by this LteInterference ...
This class implements a gaussian interference model, i.e., all incoming signals are added to the tota...
virtual void DoSubtractSignal(Ptr< const SpectrumValue > spd, uint32_t signalId)
Subtract signal. 
static TypeId GetTypeId(void)
Get the type ID. 
std::list< Ptr< LteChunkProcessor > > m_rsPowerChunkProcessorList
all the processor instances that need to be notified whenever a new interference chunk is calculated ...
virtual void ConditionallyEvaluateChunk()
Conditionally evaluate chunk. 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
virtual void AddInterferenceChunkProcessor(Ptr< LteChunkProcessor > p)
Add a LteChunkProcessor that will use the time-vs-frequency interference calculated by this LteInterf...
virtual void SetNoisePowerSpectralDensity(Ptr< const SpectrumValue > noisePsd)
virtual void DoAddSignal(Ptr< const SpectrumValue > spd)
Add signal function. 
std::list< Ptr< LteChunkProcessor > > m_interfChunkProcessorList
all the processor instances that need to be notified whenever a new interference chunk is calculated ...
virtual void EndRx()
notify that the RX attempt has ended. 
uint32_t m_lastSignalIdBeforeReset
the last signal ID before reset 
virtual void StartRx(Ptr< const SpectrumValue > rxPsd)
Notify that the PHY is starting a RX attempt. 
Time Seconds(double value)
Construct a Time in the indicated unit. 
virtual 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 
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...
uint32_t m_lastSignalId
the last signal ID