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 |
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 |
void ns3::LteHelper::EnableLogComponents | ( | void | ) |
Helper to enable all LTE log components with one statement
NetDeviceContainer ns3::LteHelper::Install | ( | NodeContainer | c, |
NetDeviceType | type | ||
) |
c | a set of nodes |
type | device type to create |
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 |