22 #include <ns3/uinteger.h> 
   23 #include <ns3/boolean.h> 
   24 #include <ns3/simulator.h> 
   26 #include <ns3/abort.h> 
   27 #include <ns3/lte-enb-phy.h> 
   28 #include <ns3/pointer.h> 
   29 #include <ns3/lte-enb-mac.h> 
   30 #include <ns3/lte-ffr-algorithm.h> 
   31 #include <ns3/ff-mac-scheduler.h> 
   42     TypeId (
"ns3::ComponentCarrierEnb")
 
   44     .AddConstructor<ComponentCarrierEnb> ()
 
   45     .AddAttribute (
"LteEnbPhy",
 
   46                    "The PHY associated to this EnbNetDevice",
 
   49                    MakePointerChecker <LteEnbPhy> ())
 
   50     .AddAttribute (
"LteEnbMac",
 
   51                    "The MAC associated to this EnbNetDevice",
 
   54                    MakePointerChecker <LteEnbMac> ())
 
   55     .AddAttribute (
"FfMacScheduler",
 
   56                    "The scheduler associated to this EnbNetDevice",
 
   59                    MakePointerChecker <FfMacScheduler> ())
 
   60     .AddAttribute (
"LteFfrAlgorithm",
 
   61                    "The FFR algorithm associated to this EnbNetDevice",
 
   64                    MakePointerChecker <LteFfrAlgorithm> ())
 
  112   m_phy->Initialize ();
 
  113   m_mac->Initialize ();
 
void SetFfrAlgorithm(Ptr< LteFfrAlgorithm > s)
Set the LteFfrAlgorithm. 
 
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 "...
 
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system. 
 
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name. 
 
virtual void DoDispose(void)
Destructor implementation. 
 
ComponentCarrier Object, it defines a single Carrier This is the parent class for both ComponentCarri...
 
Ptr< LteEnbMac > m_mac
the MAC instance of this eNodeB component carrier 
 
void SetPhy(Ptr< LteEnbPhy > s)
Set the LteEnbPhy. 
 
static TypeId GetTypeId(void)
Get the type ID. 
 
virtual ~ComponentCarrierEnb(void)
 
uint16_t GetCellId()
Get cell identifier. 
 
Ptr< const AttributeAccessor > MakePointerAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method...
 
bool m_isConstructed
whether the instance is constructed 
 
Ptr< FfMacScheduler > GetFfMacScheduler()
 
Ptr< LteEnbMac > GetMac(void)
 
virtual void DoInitialize(void)
Initialize() implementation. 
 
virtual void DoDispose(void)
Destructor implementation. 
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
Hold objects of type Ptr. 
 
uint16_t m_cellId
Cell identifer. 
 
void SetCellId(uint16_t cellId)
Set physical cell identifier. 
 
void SetFfMacScheduler(Ptr< FfMacScheduler > s)
Set the FfMacScheduler Algorithm. 
 
void SetMac(Ptr< LteEnbMac > s)
Set the LteEnbMac. 
 
Ptr< FfMacScheduler > m_scheduler
the scheduler instance of this eNodeB component carrier 
 
Ptr< LteFfrAlgorithm > m_ffrAlgorithm
the FFR algorithm instance of this eNodeB component carrier 
 
Ptr< LteFfrAlgorithm > GetFfrAlgorithm()
 
Ptr< LteEnbPhy > GetPhy(void)
 
Ptr< LteEnbPhy > m_phy
the Phy instance of this eNodeB component carrier 
 
a unique identifier for an interface. 
 
TypeId SetParent(TypeId tid)
Set the parent TypeId.