|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
31 : m_ccmRrcSapUser (0), m_ccmRrcSapProvider (0), m_noOfComponentCarriers(0)
44 static TypeId tid =
TypeId (
"ns3::LteUeComponentCarrierManager")
76 std::map <uint8_t, LteMacSapProvider*>::iterator it;
80 NS_FATAL_ERROR (
"Inconsistent componentCarrierId or you didn't call SetNumberOfComponentCarriers before calling this method");
84 NS_FATAL_ERROR (
"Tried to allocated an existing componentCarrierId");
99 NS_ABORT_MSG_IF (noOfComponentCarriers < MIN_NO_CC || noOfComponentCarriers >
MAX_NO_CC,
"Number of component carriers should be greater than 0 and less than 6");
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.
Service Access Point (SAP) offered by the MAC to the RLC See Femto Forum MAC Scheduler Interface Spec...
Every class exported by the ns3 library is enclosed in the ns3 namespace.
static TypeId GetTypeId()
Get the type ID.
std::map< uint8_t, LteMacSapProvider * > m_macSapProvidersMap
Map of pointers to SAP to interfaces of the MAC instance if the flows of this UE.
LteUeComponentCarrierManager()
uint16_t m_noOfComponentCarriers
// The number of component carriers that this UE can support.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
#define NS_FATAL_ERROR(msg)
Report a fatal error with a message and terminate.
void SetNumberOfComponentCarriers(uint8_t noOfComponentCarriers)
Sets number of component carriers that are supported by this UE.
Service Access Point (SAP) offered by the UE RRC to the UE CCM.
A base class which provides memory management and object aggregation.
virtual void DoDispose()
Destructor implementation.
#define NS_ABORT_MSG_IF(cond, msg)
Abnormal program termination if a condition is true, with a message.
bool SetComponentCarrierMacSapProviders(uint8_t componentCarrierId, LteMacSapProvider *sap)
Sets a pointer to SAP interface of MAC instance for the specified carrier.
LteUeCcmRrcSapUser * m_ccmRrcSapUser
Interface to the UE RRC instance.
LteUeCcmRrcSapProvider * m_ccmRrcSapProvider
Receive API calls from the UE RRC instance.
virtual LteUeCcmRrcSapProvider * GetLteCcmRrcSapProvider()
Exports the "provider" part of the ComponentCarrier Management SAP interface.
Service Access Point (SAP) offered by the UE component carrier manager to the UE RRC.
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ",...
virtual ~LteUeComponentCarrierManager()
virtual void SetNumberOfComponentCarriers(uint16_t noOfComponentCarriers)=0
Set the number of component carriers.
virtual void SetLteCcmRrcSapUser(LteUeCcmRrcSapUser *s)
Set the "user" part of the ComponentCarrier Management SAP interface that this UE component carrier m...