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:
Inheritance graph
[legend]
Collaboration diagram for ns3::UeManager:
Collaboration graph
[legend]

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

void ns3::UeManager::CreateUeRecord ( Ptr< UeNetDevice ue,
Ptr< EnbNetDevice enb 
)

Create a new UE Record to store into the eNB.

Parameters:
ue the pointer of the UE device
enb the pointer of the enb device
void ns3::UeManager::DeleteUeRecord ( const Mac48Address macAddress  ) 

Delete an UE Record stored into the eNB.

Parameters:
macAddress the mac address of the UE device
void ns3::UeManager::DeleteUeRecord ( Ptr< UeNetDevice ue  ) 

Delete an UE Record stored into the eNB.

Parameters:
ue the pointer of the ue device
uint32_t ns3::UeManager::GetNRegisteredUes ( void   )  const

Get the number of registered UE.

Returns:
the number of registered UE
Ptr<UeRecord> ns3::UeManager::GetUeRecord ( const Mac48Address  macAddress  ) 

Get a UE Record stored into the eNB.

Parameters:
macAddress the mac address of the UE device
Returns:
a pointer ot the UE record
Ptr<UeRecord> ns3::UeManager::GetUeRecord ( Ptr< UeNetDevice ue  ) 

Get a UE Record stored into the eNB.

Parameters:
ue the pointer of the UE device
Returns:
a pointer ot the UE record
std::vector< Ptr<UeRecord> >* ns3::UeManager::GetUeRecords ( void   ) 

Get a list of UE records.

Returns:
a list of UE records
bool ns3::UeManager::IsRegistered ( const Mac48Address macAddress  )  const

Verify if the UE is registered into this eNB.

Parameters:
macAddress the mac address of the UE device
Returns:
true if the UE is registered, false otherwise
bool ns3::UeManager::IsRegistered ( Ptr< UeNetDevice ue  )  const

Verify if the UE is registered into this eNB.

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

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

Generated on 6 Jan 2011 for NS-3 by  doxygen 1.6.1