24 #include <ns3/simulator.h> 
   25 #include <ns3/antenna-model.h> 
   27 #include "ns3/lte-spectrum-signal-parameters.h" 
   28 #include "ns3/lte-net-device.h" 
   29 #include "ns3/lte-phy-tag.h" 
   30 #include <ns3/boolean.h> 
   31 #include <ns3/double.h> 
   65     .AddTraceSource (
"RxStart",
 
   66                      "Data reception start",
 
   68                      "ns3::SpectrumValue::TracedCallback")
 
  134   Time duration = spectrumRxParams->duration;
 
  139   if (lteDataRxParams != 0)
 
  143           if (
m_cellId == lteDataRxParams->cellId)
 
Ptr< MobilityModel > m_mobility
 
void SetCellId(uint16_t cellId)
 
Simulation virtual time values and global simulation resolution. 
 
Smart pointer class similar to boost::intrusive_ptr. 
 
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
 
Abstract base class for Spectrum-aware PHY layers. 
 
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system. 
 
void SetChannel(Ptr< SpectrumChannel > c)
Set the channel attached to this device. 
 
void SetRxSpectrumModel(Ptr< const SpectrumModel > model)
 
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name. 
 
virtual void DoDispose()
Destructor implementation. 
 
virtual void DoDispose(void)
Destructor implementation. 
 
Ptr< const SpectrumModel > GetRxSpectrumModel() const 
 
Ptr< AntennaModel > GetRxAntenna()
get the AntennaModel used by the NetDevice for reception 
 
Ptr< const TraceSourceAccessor > MakeTraceSourceAccessor(T a)
Create a TraceSourceAccessor which will control access to the underlying trace source. 
 
virtual ~LteSimpleSpectrumPhy()
 
Ptr< SpectrumChannel > m_channel
 
Ptr< NetDevice > GetDevice() const 
get the associated NetDevice instance 
 
Ptr< AntennaModel > m_antenna
 
static TypeId GetTypeId(void)
 
void SetMobility(Ptr< MobilityModel > m)
Set the mobility model associated with this device. 
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
TracedCallback< Ptr< const SpectrumValue > > m_rxStart
 
Ptr< NetDevice > m_device
 
#define NS_LOG_DEBUG(msg)
Use NS_LOG to output a message of level LOG_DEBUG. 
 
Ptr< MobilityModel > GetMobility()
get the associated MobilityModel instance 
 
Ptr< const SpectrumModel > m_rxSpectrumModel
 
a unique identifier for an interface. 
 
TypeId SetParent(TypeId tid)
Set the parent TypeId. 
 
void StartRx(Ptr< SpectrumSignalParameters > params)
Notify the SpectrumPhy instance of an incoming signal. 
 
void SetDevice(Ptr< NetDevice > d)
set the associated NetDevice instance