ns-3
ns3::LteEnbRrc Class Reference
Inheritance diagram for ns3::LteEnbRrc:
Collaboration diagram for ns3::LteEnbRrc:

List of all members.

Public Member Functions

 LteEnbRrc ()
virtual ~LteEnbRrc ()
virtual void DoDispose (void)
void SetLteEnbCmacSapProvider (LteEnbCmacSapProvider *s)
LteEnbCmacSapUserGetLteEnbCmacSapUser ()
void SetFfMacSchedSapProvider (FfMacSchedSapProvider *s)
void SetLteMacSapProvider (LteMacSapProvider *s)
void ConfigureCell (uint8_t ulBandwidth, uint8_t dlBandwidth)
uint16_t AddUe (uint64_t imsi)
void RemoveUe (uint16_t rnti)
uint16_t GetLastAllocatedRnti () const
void SetLastAllocatedRnti (uint16_t lastAllocatedRnti)
void SetUeMap (std::map< uint16_t, Ptr< UeInfo > > ueMap)
std::map< uint16_t, Ptr< UeInfo > > GetUeMap (void) const
uint8_t SetupRadioBearer (uint16_t rnti, EpsBearer bearer, TypeId rlcTypeId)
void ReleaseRadioBearer (uint16_t rnti, uint8_t lcId)
bool Send (Ptr< Packet > p)
void SetForwardUpCallback (Callback< void, Ptr< Packet > > cb)
- 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::LteEnbRrc.

Friends

class EnbRrcMemberLteEnbCmacSapUser
class LtePdcpSpecificLtePdcpSapUser< LteEnbRrc >

Additional Inherited Members

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

Constructor & Destructor Documentation

ns3::LteEnbRrc::LteEnbRrc ( )

create an RRC instance for use within an eNB

References NS_LOG_FUNCTION.

ns3::LteEnbRrc::~LteEnbRrc ( )
virtual

Destructor

References NS_LOG_FUNCTION.


Member Function Documentation

uint16_t ns3::LteEnbRrc::AddUe ( uint64_t  imsi)

Add a new UE to the cell

Parameters:
imsiIMSI of the attaching UE
Returns:
the C-RNTI of the newly added UE

References NS_ASSERT_MSG, and NS_LOG_FUNCTION.

Referenced by ns3::LteHelper::Attach().

void ns3::LteEnbRrc::ConfigureCell ( uint8_t  ulBandwidth,
uint8_t  dlBandwidth 
)

configure cell-specific parameters

Parameters:
ulBandwidththe uplink bandwdith in number of RB
dlBandwidththe downlink bandwidth in number of RB

References ns3::LteEnbCmacSapProvider::ConfigureMac(), NS_ASSERT, and NS_LOG_FUNCTION.

void ns3::LteEnbRrc::DoDispose ( void  )
virtual

This method is called by Object::Dispose or by the object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.

It is safe to call GetObject from within this method.

Reimplemented from ns3::Object.

References NS_LOG_FUNCTION.

LteEnbCmacSapUser * ns3::LteEnbRrc::GetLteEnbCmacSapUser ( )

Get the CMAC SAP offered by this RRC

Returns:
s the CMAC SAP User interface offered to the MAC by this RRC

References NS_LOG_FUNCTION.

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

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

This object is accessible through the following paths with Config::Set and Config::Connect:

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

Attributes defined for this type:

No TraceSources defined for this type.

Reimplemented from ns3::Object.

References NS_LOG_FUNCTION, and ns3::TypeId::SetParent().

void ns3::LteEnbRrc::ReleaseRadioBearer ( uint16_t  rnti,
uint8_t  lcId 
)

Release the given radio bearer

Parameters:
rntithe C-RNTI of the user owning the bearer
lcIdthe logical channel id of the bearer to be released

References NS_LOG_FUNCTION.

void ns3::LteEnbRrc::RemoveUe ( uint16_t  rnti)

remove a UE from the cell

Parameters:
rntithe C-RNTI identiftying the user

References NS_FATAL_ERROR, and NS_LOG_FUNCTION.

bool ns3::LteEnbRrc::Send ( Ptr< Packet p)
void ns3::LteEnbRrc::SetFfMacSchedSapProvider ( FfMacSchedSapProvider s)

set the FF MAC SCHED SAP provider. The eNB RRC does not use this directly, but it needs to provide it to newly created RLC instances.

Parameters:
sthe FF MAC SCHED SAP provider that will be used by all newly created RLC instances

References NS_LOG_FUNCTION.

void ns3::LteEnbRrc::SetForwardUpCallback ( Callback< void, Ptr< Packet > >  cb)

set the callback used to forward data packets up the stack

Parameters:
void
cb
void ns3::LteEnbRrc::SetLteEnbCmacSapProvider ( LteEnbCmacSapProvider s)

set the CMAC SAP this RRC should interact with

Parameters:
sthe CMAC SAP Provider to be used by this RRC

References NS_LOG_FUNCTION.

void ns3::LteEnbRrc::SetLteMacSapProvider ( LteMacSapProvider s)

set the MAC SAP provider. The eNB RRC does not use this directly, but it needs to provide it to newly created RLC instances.

Parameters:
sthe MAC SAP provider that will be used by all newly created RLC instances

References NS_LOG_FUNCTION.

uint8_t ns3::LteEnbRrc::SetupRadioBearer ( uint16_t  rnti,
EpsBearer  bearer,
TypeId  rlcTypeId 
)

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