A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::UeInfo Class Reference

#include <lte-enb-rrc.h>

+ Inheritance diagram for ns3::UeInfo:
+ Collaboration diagram for ns3::UeInfo:

Public Member Functions

 UeInfo (void)
 UeInfo (uint64_t imsi)
 UeInfo (uint64_t imsi, uint16_t srsConfIndex)
virtual ~UeInfo (void)
uint8_t AddRadioBearer (Ptr< LteRadioBearerInfo > radioBearerInfo)
uint64_t GetImsi (void)
Ptr< LteRadioBearerInfoGetRadioBearer (uint8_t lcid)
uint16_t GetSrsConfigurationIndex (void)
uint8_t GetTransmissionMode (void)
void RemoveRadioBearer (uint8_t lcid)
void SetSrsConfigurationIndex (uint16_t srsConfIndex)
void SetTransmissionMode (uint8_t txMode)
- Public Member Functions inherited from ns3::Object
 Object ()
virtual ~Object ()
void AggregateObject (Ptr< Object > other)
void Dispose (void)
AggregateIterator GetAggregateIterator (void) const
virtual TypeId GetInstanceTypeId (void) const
template<typename T >
Ptr< T > GetObject (void) const
template<typename T >
Ptr< T > GetObject (TypeId tid) const
void Start (void)
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount ()
 SimpleRefCount (const SimpleRefCount &o)
uint32_t GetReferenceCount (void) const
SimpleRefCountoperator= (const SimpleRefCount &o)
void Ref (void) const
void Unref (void) const
- Public Member Functions inherited from ns3::ObjectBase
virtual ~ObjectBase ()
void GetAttribute (std::string name, AttributeValue &value) const
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
void SetAttribute (std::string name, const AttributeValue &value)
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)

Static Public Member Functions

static TypeId GetTypeId (void)

Private Attributes

uint64_t m_imsi
uint8_t m_lastAllocatedId
std::map< uint8_t, Ptr
< LteRadioBearerInfo > > 
m_rbMap
uint16_t m_srsConfigurationIndex
uint8_t m_transmissionMode

Additional Inherited Members

- Protected Member Functions inherited from ns3::Object
 Object (const Object &o)
virtual void DoDispose (void)
virtual void DoStart (void)
virtual void NotifyNewAggregate (void)

Detailed Description

Manages all the radio bearer information possessed by the ENB RRC for a single UE

Config Paths

ns3::UeInfo is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3::LteEnbNetDevice/LteEnbRrc/UeMap/[i]
  • /NodeList/[i]/DeviceList/[i]/$ns3::LteNetDevice/$ns3::LteEnbNetDevice/LteEnbRrc/UeMap/[i]

Attributes

No TraceSources are defined for this type.

Definition at line 49 of file lte-enb-rrc.h.

Constructor & Destructor Documentation

ns3::UeInfo::UeInfo ( void  )

Definition at line 127 of file lte-enb-rrc.cc.

References m_imsi, m_srsConfigurationIndex, and m_transmissionMode.

ns3::UeInfo::UeInfo ( uint64_t  imsi)

Definition at line 135 of file lte-enb-rrc.cc.

References m_imsi, m_srsConfigurationIndex, and m_transmissionMode.

ns3::UeInfo::UeInfo ( uint64_t  imsi,
uint16_t  srsConfIndex 
)

Definition at line 143 of file lte-enb-rrc.cc.

References m_imsi, m_srsConfigurationIndex, and m_transmissionMode.

ns3::UeInfo::~UeInfo ( void  )
virtual

Definition at line 153 of file lte-enb-rrc.cc.

Member Function Documentation

uint8_t ns3::UeInfo::AddRadioBearer ( Ptr< LteRadioBearerInfo radioBearerInfo)
Parameters
radioBearerInfo
Returns
the allocated logical channel id; 0 is returned if it is not possible to allocate a channel id (e.g., id space exausted).

Definition at line 202 of file lte-enb-rrc.cc.

References m_lastAllocatedId, m_rbMap, NS_LOG_FUNCTION, and NS_LOG_WARN.

Referenced by ns3::LteEnbRrc::SetupRadioBearer().

+ Here is the caller graph for this function:

uint64_t ns3::UeInfo::GetImsi ( void  )

Definition at line 172 of file lte-enb-rrc.cc.

References m_imsi.

Referenced by ns3::FindImsiFromEnbRlcPath().

+ Here is the caller graph for this function:

Ptr< LteRadioBearerInfo > ns3::UeInfo::GetRadioBearer ( uint8_t  lcid)
Parameters
uint8_tthe logical channel id
Returns
the LteRadioBearerInfo of the selected radio bearer

Definition at line 222 of file lte-enb-rrc.cc.

References m_rbMap, NS_ABORT_IF, NS_ASSERT, and NS_LOG_FUNCTION.

Referenced by ns3::LteEnbRrc::GetLtePdcpSapProvider().

+ Here is the caller graph for this function:

uint16_t ns3::UeInfo::GetSrsConfigurationIndex ( void  )

Definition at line 178 of file lte-enb-rrc.cc.

References m_srsConfigurationIndex.

Referenced by ns3::LteEnbRrc::CreateUeInfo().

+ Here is the caller graph for this function:

uint8_t ns3::UeInfo::GetTransmissionMode ( void  )

Definition at line 184 of file lte-enb-rrc.cc.

References m_transmissionMode.

TypeId ns3::UeInfo::GetTypeId ( void  )
static

Reimplemented from ns3::Object.

Definition at line 158 of file lte-enb-rrc.cc.

References m_rbMap, ns3::MakeObjectMapAccessor(), and ns3::TypeId::SetParent().

+ Here is the call graph for this function:

void ns3::UeInfo::RemoveRadioBearer ( uint8_t  lcid)

delete the entry of the given radio bearer

Parameters
lcidthe logical channel id of the radio bearer

Definition at line 233 of file lte-enb-rrc.cc.

References m_rbMap, NS_ASSERT_MSG, and NS_LOG_FUNCTION.

Referenced by ns3::LteEnbRrc::ReleaseRadioBearer().

+ Here is the caller graph for this function:

void ns3::UeInfo::SetSrsConfigurationIndex ( uint16_t  srsConfIndex)

Definition at line 190 of file lte-enb-rrc.cc.

References m_srsConfigurationIndex.

void ns3::UeInfo::SetTransmissionMode ( uint8_t  txMode)

Definition at line 196 of file lte-enb-rrc.cc.

References m_transmissionMode.

Member Data Documentation

uint64_t ns3::UeInfo::m_imsi
private

Definition at line 94 of file lte-enb-rrc.h.

Referenced by GetImsi(), and UeInfo().

uint8_t ns3::UeInfo::m_lastAllocatedId
private

Definition at line 93 of file lte-enb-rrc.h.

Referenced by AddRadioBearer().

std::map<uint8_t, Ptr<LteRadioBearerInfo> > ns3::UeInfo::m_rbMap
private

Definition at line 92 of file lte-enb-rrc.h.

Referenced by AddRadioBearer(), GetRadioBearer(), GetTypeId(), and RemoveRadioBearer().

uint16_t ns3::UeInfo::m_srsConfigurationIndex
private

Definition at line 95 of file lte-enb-rrc.h.

Referenced by GetSrsConfigurationIndex(), SetSrsConfigurationIndex(), and UeInfo().

uint8_t ns3::UeInfo::m_transmissionMode
private

Definition at line 96 of file lte-enb-rrc.h.

Referenced by GetTransmissionMode(), SetTransmissionMode(), and UeInfo().


The documentation for this class was generated from the following files: