ns-3
ns3::UeInfo Class Reference

#include <lte-enb-rrc.h>

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

List of all members.

Public Member Functions

uint8_t AddRadioBearer (Ptr< LteRadioBearerInfo > radioBearerInfo)
Ptr< LteRadioBearerInfoGetRadioBearer (uint8_t lcid)
void RemoveRadioBearer (uint8_t lcid)
 UeInfo (uint64_t imsi)
uint64_t GetImsi (void)
- Public Member Functions inherited from ns3::Object
virtual TypeId GetInstanceTypeId (void) const
template<typename T >
Ptr< T > GetObject (void) const
template<typename T >
Ptr< T > GetObject (TypeId tid) const
void Dispose (void)
void AggregateObject (Ptr< Object > other)
AggregateIterator GetAggregateIterator (void) const
void Start (void)
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount (const SimpleRefCount &o)
SimpleRefCountoperator= (const SimpleRefCount &o)
void Ref (void) const
void Unref (void) const
uint32_t GetReferenceCount (void) const
- Public Member Functions inherited from ns3::ObjectBase
void SetAttribute (std::string name, const AttributeValue &value)
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
void GetAttribute (std::string name, AttributeValue &value) const
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
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.

Additional Inherited Members

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

Detailed Description

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


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).

References NS_LOG_FUNCTION, and NS_LOG_WARN.

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

References NS_ABORT_IF, NS_ASSERT, and NS_LOG_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.

References ns3::TypeId::SetParent().

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

delete the entry of the given radio bearer

Parameters:
lcidthe logical channel id of the radio bearer

References NS_ASSERT_MSG, and NS_LOG_FUNCTION.


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