ns-3
ns3::UeManager Class Reference

this class allow the eNodeb to manage in a very simple way all registered UE. In particular, to each registered UE, a new UeRecord is created. More...

#include <ue-manager.h>

Inheritance diagram for ns3::UeManager:
Collaboration diagram for ns3::UeManager:

List of all members.

Public Member Functions

void CreateUeRecord (Ptr< UeNetDevice > ue, Ptr< EnbNetDevice > enb)
 Create a new UE Record to store into the eNB.
Ptr< UeRecordGetUeRecord (Ptr< UeNetDevice > ue)
 Get a UE Record stored into the eNB.
Ptr< UeRecordGetUeRecord (const Mac48Address macAddress)
 Get a UE Record stored into the eNB.
bool IsRegistered (Ptr< UeNetDevice > ue) const
 Verify if the UE is registered into this eNB.
bool IsRegistered (const Mac48Address &macAddress) const
 Verify if the UE is registered into this eNB.
void DeleteUeRecord (Ptr< UeNetDevice > ue)
 Delete an UE Record stored into the eNB.
void DeleteUeRecord (const Mac48Address &macAddress)
 Delete an UE Record stored into the eNB.
std::vector< Ptr< UeRecord > > * GetUeRecords (void)
 Get a list of UE records.
uint32_t GetNRegisteredUes (void) const
 Get the number of registered UE.

Detailed Description

this class allow the eNodeb to manage in a very simple way all registered UE. In particular, to each registered UE, a new UeRecord is created.

See also:
UeRecord

Member Function Documentation

Create a new UE Record to store into the eNB.

Parameters:
uethe pointer of the UE device
enbthe pointer of the enb device

References NS_LOG_FUNCTION.

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

Delete an UE Record stored into the eNB.

Parameters:
uethe pointer of the ue device

References NS_LOG_FUNCTION.

void ns3::UeManager::DeleteUeRecord ( const Mac48Address macAddress)

Delete an UE Record stored into the eNB.

Parameters:
macAddressthe mac address of the UE device

References NS_LOG_FUNCTION.

uint32_t ns3::UeManager::GetNRegisteredUes ( void  ) const

Get the number of registered UE.

Returns:
the number of registered UE

References NS_LOG_FUNCTION.

Get a UE Record stored into the eNB.

Parameters:
uethe pointer of the UE device
Returns:
a pointer ot the UE record

References NS_LOG_DEBUG, and NS_LOG_FUNCTION.

Get a UE Record stored into the eNB.

Parameters:
macAddressthe mac address of the UE device
Returns:
a pointer ot the UE record

References NS_LOG_DEBUG, NS_LOG_FUNCTION, and NS_LOG_LOGIC.

std::vector< Ptr< UeRecord > > * ns3::UeManager::GetUeRecords ( void  )

Get a list of UE records.

Returns:
a list of UE records

References NS_LOG_FUNCTION.

Verify if the UE is registered into this eNB.

Parameters:
uethe pointer of the UE device
Returns:
true if the UE is registered, false otherwise

References NS_LOG_FUNCTION.

bool ns3::UeManager::IsRegistered ( const Mac48Address macAddress) const

Verify if the UE is registered into this eNB.

Parameters:
macAddressthe mac address of the UE device
Returns:
true if the UE is registered, false otherwise

References NS_LOG_FUNCTION.


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