|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
23 #include "ns3/uinteger.h"
24 #include "ns3/boolean.h"
43 m_needReconfiguration (true)
59 .AddAttribute (
"FrCellTypeId",
60 "Downlink FR cell type ID for automatic configuration,"
61 "default value is 0 and it means that user needs to configure FR algorithm manually,"
62 "if it is set to 1,2 or 3 FR algorithm will be configured automatically",
65 MakeUintegerChecker<uint8_t> ())
66 .AddAttribute (
"EnabledInUplink",
67 "If FR algorithm will also work in Uplink, default value true",
156 for (
int i = 0; i < 4; i++)
a unique identifier for an interface.
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
AttributeValue implementation for Boolean.
virtual void DoDispose()
Destructor implementation.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Ptr< const AttributeAccessor > MakeBooleanAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
bool m_needReconfiguration
If true FR algorithm will be reconfigured.
uint8_t m_ulBandwidth
uplink bandwidth in RBs
virtual ~LteFfrAlgorithm()
uint16_t GetDlBandwidth() const
#define NS_FATAL_ERROR(msg)
Report a fatal error with a message and terminate.
void SetDlBandwidth(uint16_t bw)
void SetUlBandwidth(uint16_t bw)
A base class which provides memory management and object aggregation.
uint8_t m_frCellTypeId
FFR cell type ID for automatic configuration.
void SetFrCellTypeId(uint8_t cellTypeId)
uint8_t m_dlBandwidth
downlink bandwidth in RBs
uint8_t GetFrCellTypeId() const
Ptr< const AttributeChecker > MakeBooleanChecker(void)
static const int Type0AllocationRbg[4]
Type 0 RGB allocation.
uint16_t GetUlBandwidth() const
virtual void DoSetBandwidth(uint16_t ulBandwidth, uint16_t dlBandwidth)
Implementation of LteFfrRrcSapProvider::SetBandwidth.
virtual void DoSetCellId(uint16_t cellId)
SetCellId.
int GetRbgSize(int dlbandwidth)
Get RBG size for DL Bandwidth according to table 7.1.6.1-1 of 36.213.
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ",...
Hold an unsigned integer type.
bool m_enabledInUplink
If true FR algorithm will also work in Uplink.
static TypeId GetTypeId()
Get the type ID.
Ptr< const AttributeAccessor > MakeUintegerAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method.