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)
virtual ~UeInfo (void)
uint8_t AddRadioBearer (Ptr< LteRadioBearerInfo > radioBearerInfo)
uint64_t GetImsi (void)
Ptr< LteRadioBearerInfoGetRadioBearer (uint8_t lcid)
void RemoveRadioBearer (uint8_t lcid)
- 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)
 This method returns the TypeId associated to ns3::UeInfo.

Private Attributes

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

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

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

Constructor & Destructor Documentation

ns3::UeInfo::UeInfo ( void  )

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

References m_imsi.

ns3::UeInfo::UeInfo ( uint64_t  imsi)

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

References m_imsi.

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

Definition at line 137 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 162 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 156 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 182 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:

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

This method returns the TypeId associated to ns3::UeInfo.

This object 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 defined for this type:

No TraceSources defined for this type.

Reimplemented from ns3::Object.

Definition at line 142 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 193 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:

Member Data Documentation

uint64_t ns3::UeInfo::m_imsi
private

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

Referenced by GetImsi(), and UeInfo().

uint8_t ns3::UeInfo::m_lastAllocatedId
private

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

Referenced by AddRadioBearer().

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

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

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


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