12#include <ns3/component-carrier.h>
13#include <ns3/config.h>
15#include <ns3/net-device-container.h>
16#include <ns3/net-device.h>
17#include <ns3/node-container.h>
19#include <ns3/simulator.h>
177 uint16_t dlBandwidth,
180 bool isPrimary)
const;
Hold a value for an Attribute.
Creation and configuration of Component Carrier entities.
uint32_t GetUlEarfcn() const
Get UL EARFCN.
ObjectFactory m_ccFactory
Factory for each Carrier Component.
void SetNumberOfComponentCarriers(uint16_t nCc)
Set number of CCs.
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 DoDispose() override
Destructor implementation.
uint16_t GetDlBandwidth() const
Get DL bandwidth.
uint32_t GetDlEarfcn() const
Get 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 GetUlBandwidth() const
Get UL bandwidth.
uint16_t m_ulBandwidth
Uplink Bandwidth.
uint16_t m_dlBandwidth
Downlink Bandwidth.
static TypeId GetTypeId()
Register this type.
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() const
Get number of component carriers.
void DoInitialize() override
Initialize() implementation.
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.
ComponentCarrier CreateSingleCc(uint16_t ulBandwidth, uint16_t dlBandwidth, uint32_t ulEarfcn, uint32_t dlEarfcn, bool isPrimary) const
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.