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> ())
111 m_phy->Initialize ();
112 m_mac->Initialize ();
Ptr< LteFfrAlgorithm > GetFfrAlgorithm()
Ptr< FfMacScheduler > m_scheduler
the scheduler instance of this eNodeB component carrier
Ptr< LteEnbMac > m_mac
the MAC instance of this eNodeB component carrier
virtual void DoInitialize(void)
Initialize() implementation.
Ptr< LteEnbMac > GetMac(void)
void SetFfrAlgorithm(Ptr< LteFfrAlgorithm > s)
Set the LteFfrAlgorithm.
Ptr< LteFfrAlgorithm > m_ffrAlgorithm
the FFR algorithm instance of this eNodeB component carrier
virtual void DoDispose(void)
Destructor implementation.
virtual ~ComponentCarrierEnb(void)
static TypeId GetTypeId(void)
Get the type ID.
Ptr< LteEnbPhy > GetPhy(void)
void SetMac(Ptr< LteEnbMac > s)
Set the LteEnbMac.
void SetFfMacScheduler(Ptr< FfMacScheduler > s)
Set the FfMacScheduler Algorithm.
Ptr< FfMacScheduler > GetFfMacScheduler()
Ptr< LteEnbPhy > m_phy
the Phy instance of this eNodeB component carrier
void SetPhy(Ptr< LteEnbPhy > s)
Set the LteEnbPhy.
ComponentCarrier Object, it defines a single Carrier This is the parent class for both ComponentCarri...
virtual void DoDispose(void)
Destructor implementation.
Hold objects of type Ptr<T>.
Smart pointer class similar to boost::intrusive_ptr.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Ptr< const AttributeAccessor > MakePointerAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method.
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
#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.
Every class exported by the ns3 library is enclosed in the ns3 namespace.