ns-3
|
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>
Public Member Functions | |
void | CreateUeRecord (Ptr< UeNetDevice > ue, Ptr< EnbNetDevice > enb) |
Create a new UE Record to store into the eNB. | |
Ptr< UeRecord > | GetUeRecord (Ptr< UeNetDevice > ue) |
Get a UE Record stored into the eNB. | |
Ptr< UeRecord > | GetUeRecord (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. |
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.
void ns3::UeManager::CreateUeRecord | ( | Ptr< UeNetDevice > | ue, |
Ptr< EnbNetDevice > | enb | ||
) |
Create a new UE Record to store into the eNB.
ue | the pointer of the UE device |
enb | the pointer of the enb device |
References NS_LOG_FUNCTION.
Referenced by ns3::LteHelper::RegisterUeToTheEnb().
void ns3::UeManager::DeleteUeRecord | ( | Ptr< UeNetDevice > | ue | ) |
Delete an UE Record stored into the eNB.
ue | the pointer of the ue device |
References NS_LOG_FUNCTION.
void ns3::UeManager::DeleteUeRecord | ( | const Mac48Address & | macAddress | ) |
Delete an UE Record stored into the eNB.
macAddress | the mac address of the UE device |
References NS_LOG_FUNCTION.
uint32_t ns3::UeManager::GetNRegisteredUes | ( | void | ) | const |
Ptr< UeRecord > ns3::UeManager::GetUeRecord | ( | Ptr< UeNetDevice > | ue | ) |
Get a UE Record stored into the eNB.
ue | the pointer of the UE device |
References NS_LOG_DEBUG, and NS_LOG_FUNCTION.
Ptr< UeRecord > ns3::UeManager::GetUeRecord | ( | const Mac48Address | macAddress | ) |
Get a UE Record stored into the eNB.
macAddress | the mac address of the UE device |
References NS_LOG_DEBUG, NS_LOG_FUNCTION, and NS_LOG_LOGIC.
std::vector< Ptr< UeRecord > > * ns3::UeManager::GetUeRecords | ( | void | ) |
bool ns3::UeManager::IsRegistered | ( | Ptr< UeNetDevice > | ue | ) | const |
Verify if the UE is registered into this eNB.
ue | the pointer of the UE device |
References NS_LOG_FUNCTION.
bool ns3::UeManager::IsRegistered | ( | const Mac48Address & | macAddress | ) | const |
Verify if the UE is registered into this eNB.
macAddress | the mac address of the UE device |
References NS_LOG_FUNCTION.