25 #ifndef LTE_UE_NET_DEVICE_H 26 #define LTE_UE_NET_DEVICE_H 28 #include "ns3/lte-net-device.h" 29 #include "ns3/event-id.h" 30 #include "ns3/traced-callback.h" 31 #include "ns3/nstime.h" 32 #include "ns3/lte-phy.h" 33 #include "ns3/eps-bearer.h" 34 #include "ns3/component-carrier-ue.h" 45 class LteEnbNetDevice;
50 class LteUeComponentCarrierManager;
167 std::map< uint8_t, Ptr<ComponentCarrierUe> >
GetCcMap (
void);
202 std::map < uint8_t, Ptr<ComponentCarrierUe> >
m_ccMap;
Ptr< LteUeRrc > m_rrc
the RRC
virtual ~LteUeNetDevice(void)
uint32_t GetCsgId() const
Returns the CSG ID the UE is currently a member of.
Ptr< EpcUeNas > GetNas(void) const
Get the NAS.
std::map< uint8_t, Ptr< ComponentCarrierUe > > GetCcMap(void)
Get the ComponentCarrier Map for the UE.
Ptr< LteEnbNetDevice > m_targetEnb
target ENB
uint32_t m_csgId
the CSG ID
std::map< uint8_t, Ptr< ComponentCarrierUe > > m_ccMap
CC map.
a polymophic address class
Ptr< EpcUeNas > m_nas
the NAS
static TypeId GetTypeId(void)
Get the type ID.
virtual void DoDispose()
Destructor implementation.
uint64_t GetImsi() const
Get the IMSI.
void SetTargetEnb(Ptr< LteEnbNetDevice > enb)
Set the target eNB where the UE is registered.
virtual void DoInitialize(void)
Initialize() implementation.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
void SetCsgId(uint32_t csgId)
Enlist the UE device as a member of a particular CSG.
uint32_t m_dlEarfcn
downlink carrier frequency
void SetDlEarfcn(uint32_t earfcn)
Ptr< LteUePhy > GetPhy(void) const
Get the Phy.
Ptr< LteUeComponentCarrierManager > GetComponentCarrierManager(void) const
Get the componentn carrier manager.
Ptr< LteEnbNetDevice > GetTargetEnb(void)
Get the target eNB where the UE is registered.
uint32_t GetDlEarfcn() const
void SetCcMap(std::map< uint8_t, Ptr< ComponentCarrierUe > > ccm)
Set the ComponentCarrier Map for the UE.
Ptr< LteUeMac > GetMac(void) const
Get the MAC.
Ptr< LteUeRrc > GetRrc() const
Get the RRC.
void UpdateConfig()
Propagate attributes and configuration to sub-modules.
LteNetDevice provides basic implementation for all LTE network devices.
virtual bool Send(Ptr< Packet > packet, const Address &dest, uint16_t protocolNumber)
a unique identifier for an interface.
bool m_isConstructed
is constructed?
Ptr< LteUeComponentCarrierManager > m_componentCarrierManager
the component carrier manager
The LteUeNetDevice class implements the UE net device.