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