27 #include <ns3/abort.h>
28 #include <ns3/boolean.h>
30 #include <ns3/pointer.h>
31 #include <ns3/simulator.h>
32 #include <ns3/uinteger.h>
45 .AddConstructor<ComponentCarrierEnb>()
46 .AddAttribute(
"LteEnbPhy",
47 "The PHY associated to this EnbNetDevice",
50 MakePointerChecker<LteEnbPhy>())
51 .AddAttribute(
"LteEnbMac",
52 "The MAC associated to this EnbNetDevice",
55 MakePointerChecker<LteEnbMac>())
56 .AddAttribute(
"FfMacScheduler",
57 "The scheduler associated to this EnbNetDevice",
60 MakePointerChecker<FfMacScheduler>())
61 .AddAttribute(
"LteFfrAlgorithm",
62 "The FFR algorithm associated to this EnbNetDevice",
65 MakePointerChecker<LteFfrAlgorithm>());
void DoInitialize() override
Initialize() implementation.
void DoDispose() override
Destructor implementation.
Ptr< LteFfrAlgorithm > GetFfrAlgorithm()
static TypeId GetTypeId()
Get the type ID.
Ptr< FfMacScheduler > m_scheduler
the scheduler instance of this eNodeB component carrier
Ptr< LteEnbMac > m_mac
the MAC instance of this eNodeB component carrier
void SetFfrAlgorithm(Ptr< LteFfrAlgorithm > s)
Set the LteFfrAlgorithm.
Ptr< LteFfrAlgorithm > m_ffrAlgorithm
the FFR algorithm instance of this eNodeB component carrier
void SetMac(Ptr< LteEnbMac > s)
Set the LteEnbMac.
void SetFfMacScheduler(Ptr< FfMacScheduler > s)
Set the FfMacScheduler Algorithm.
Ptr< FfMacScheduler > GetFfMacScheduler()
~ComponentCarrierEnb() override
Ptr< LteEnbPhy > GetPhy()
Ptr< LteEnbPhy > m_phy
the Phy instance of this eNodeB component carrier
void SetPhy(Ptr< LteEnbPhy > s)
Set the LteEnbPhy.
Ptr< LteEnbMac > GetMac()
ComponentCarrier Object, it defines a single Carrier This is the parent class for both ComponentCarri...
virtual void DoDispose()
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.
#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.
Ptr< const AttributeAccessor > MakePointerAccessor(T1 a1)