24 #include <ns3/config.h>
25 #include <ns3/simulator.h>
26 #include <ns3/names.h>
27 #include <ns3/net-device.h>
28 #include <ns3/net-device-container.h>
30 #include <ns3/node-container.h>
31 #include <ns3/component-carrier.h>
Hold a value for an Attribute.
Creation and configuration of Component Carrier entities.
uint32_t GetDlEarfcn()
Get DL EARFCN.
virtual void DoDispose(void)
Destructor implementation.
uint16_t GetDlBandwidth()
Get DL bandwidth.
ObjectFactory m_ccFactory
Factory for each Carrier Component.
void SetNumberOfComponentCarriers(uint16_t nCc)
Set number of CCs.
virtual void DoInitialize(void)
Initialize() implementation.
uint16_t GetUlBandwidth()
Get UL bandwidth.
ComponentCarrier DoCreateSingleCc(uint16_t ulBandwidth, uint16_t dlBandwidth, uint32_t ulEarfcn, uint32_t dlEarfcn, bool isPrimary)
Create single CC.
void SetDlEarfcn(uint32_t dlEarfcn)
Set DL EARFCN.
void SetUlBandwidth(uint16_t ulBandwidth)
Set UL bandwidth.
void SetDlBandwidth(uint16_t dlBandwidth)
Set DL bandwidth.
uint16_t m_numberOfComponentCarriers
Number of component carriers.
uint16_t m_ulBandwidth
Uplink Bandwidth.
uint16_t m_dlBandwidth
Downlink Bandwidth.
uint32_t GetUlEarfcn()
Get UL EARFCN.
std::map< uint8_t, ComponentCarrier > EquallySpacedCcs()
EquallySpacedCcs() create a valid std::map< uint8_t, Ptr<ComponentCarrier> > The Primary Component Ca...
void SetUlEarfcn(uint32_t ulEarfcn)
Set UL EARFCN.
uint16_t GetNumberOfComponentCarriers()
Get number of component carriers.
uint32_t m_ulEarfcn
Uplink EARFCN.
uint32_t m_dlEarfcn
Downlink EARFCN.
void SetCcAttribute(std::string n, const AttributeValue &v)
Set an attribute for the Component Carrier to be created.
static TypeId GetTypeId(void)
Register this type.
ComponentCarrier CreateSingleCc(uint16_t ulBandwidth, uint16_t dlBandwidth, uint32_t ulEarfcn, uint32_t dlEarfcn, bool isPrimary)
Create a single component carrier.
ComponentCarrier Object, it defines a single Carrier This is the parent class for both ComponentCarri...
Instantiate subclasses of ns3::Object.
A base class which provides memory management and object aggregation.
a unique identifier for an interface.
Every class exported by the ns3 library is enclosed in the ns3 namespace.