|
ns-3
|
helps to manage and create LteNetDevice objects More...
#include <lte-helper.h>
Public Types | |
| enum | NetDeviceType { DEVICE_TYPE_USER_EQUIPMENT, DEVICE_TYPE_ENODEB } |
Public Member Functions | |
| LteHelper (void) | |
| Create a Lte helper in an empty state. | |
| void | AddMobility (Ptr< LtePhy > phy, Ptr< MobilityModel >m) |
| Add mobility model to a physical device. | |
| NetDeviceContainer | Install (NodeContainer c, NetDeviceType type) |
| void | RegisterUeToTheEnb (Ptr< UeNetDevice > ue, Ptr< EnbNetDevice > enb) |
| register UEs to the target eNB | |
| void | EnableLogComponents (void) |
| void | AddDownlinkChannelRealization (Ptr< MobilityModel > enbMobility, Ptr< MobilityModel > ueMobility, Ptr< LtePhy > phy) |
| Create a downlink channel realization between eNB and UE. | |
helps to manage and create LteNetDevice objects
This class can help to create a LteNetDevice objects and to configure their attributes during creation.
| void ns3::LteHelper::AddDownlinkChannelRealization | ( | Ptr< MobilityModel > | enbMobility, |
| Ptr< MobilityModel > | ueMobility, | ||
| Ptr< LtePhy > | phy | ||
| ) |
Create a downlink channel realization between eNB and UE.
| enbMobility | the enb mobility model |
| ueMobility | the ue mobility model |
| phy | the physical layer of the UE |
References ns3::Object::GetObject(), and ns3::JakesFadingLossModel::SetPhy().
| void ns3::LteHelper::AddMobility | ( | Ptr< LtePhy > | phy, |
| Ptr< MobilityModel > | m | ||
| ) |
Add mobility model to a physical device.
| phy | the physical device |
| m | the mobility model |
References ns3::LtePhy::GetDownlinkSpectrumPhy(), ns3::LtePhy::GetUplinkSpectrumPhy(), and ns3::LteSpectrumPhy::SetMobility().
| void ns3::LteHelper::EnableLogComponents | ( | void | ) |
Helper to enable all LTE log components with one statement
References ns3::LogComponentEnable().
| c | a set of nodes |
| type | device type to create |
References ns3::NetDeviceContainer::Add(), ns3::Node::AddDevice(), ns3::Mac48Address::Allocate(), ns3::NodeContainer::Begin(), DEVICE_TYPE_ENODEB, DEVICE_TYPE_USER_EQUIPMENT, ns3::NodeContainer::End(), ns3::LtePhy::GetDownlinkSpectrumPhy(), ns3::LtePhy::GetUplinkSpectrumPhy(), ns3::MakeCallback(), NS_FATAL_ERROR, ns3::LteNetDevice::Receive(), ns3::LteNetDevice::SetAddress(), ns3::LtePhy::SetDevice(), ns3::LteSpectrumPhy::SetDevice(), and ns3::LteNetDevice::Start().
| void ns3::LteHelper::RegisterUeToTheEnb | ( | Ptr< UeNetDevice > | ue, |
| Ptr< EnbNetDevice > | enb | ||
| ) |
register UEs to the target eNB
| ue | the UE that will registered to the eNB |
| enb | the eNB where the UE will registered |
References ns3::UeManager::CreateUeRecord(), and ns3::EnbNetDevice::GetUeManager().