ns-3
|
#include <enb-net-device.h>
Public Member Functions | |
EnbNetDevice (Ptr< Node > node, Ptr< LtePhy > phy) | |
Create eNB net device. | |
virtual void | DoDispose (void) |
void | InitEnbNetDevice (void) |
Initialize all parameters of this device. | |
void | Start (void) |
Starts the run of this device. | |
void | Stop (void) |
Stops the run of this device. | |
void | SetUeManager (Ptr< UeManager > m) |
Set the UE manager. | |
Ptr< UeManager > | GetUeManager (void) |
Get the UE manager. | |
void | SetMacEntity (Ptr< EnbMacEntity > m) |
Set the MAC entity. | |
Ptr< EnbMacEntity > | GetMacEntity (void) |
Get the MAC entity. | |
void | StartTransmission (void) |
Start packet transmission. This functipon will called at the end of downlink scheduling to start the transmission of the burst of packet created by the packet-scheduler. | |
bool | SendPacket (Ptr< PacketBurst > p) |
Send a pachet burst to the physical layer. | |
void | SendIdealPdcchMessage (void) |
Send the PDCCH ideal mesages under an ideal control channel. | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::EnbNetDevice. |
The eNodeB device implementation
Create eNB net device.
node | the network node |
phy | the physical object attache dto it |
References InitEnbNetDevice(), NS_LOG_FUNCTION, ns3::LteNetDevice::SetNode(), and ns3::LteNetDevice::SetPhy().
void ns3::EnbNetDevice::DoDispose | ( | void | ) | [virtual] |
This method is called by Object::Dispose or by the object's destructor, whichever comes first.
Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.
It is safe to call GetObject from within this method.
Reimplemented from ns3::LteNetDevice.
References ns3::Object::Dispose(), and NS_LOG_FUNCTION.
Ptr< EnbMacEntity > ns3::EnbNetDevice::GetMacEntity | ( | void | ) |
TypeId ns3::EnbNetDevice::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::EnbNetDevice.
This object is accessible through the following paths with Config::Set and Config::Connect:
No Attributes defined for this type.
Attributes defined in parent class ns3::LteNetDevice:
No TraceSources defined for this type.
Reimplemented from ns3::LteNetDevice.
References ns3::TypeId::SetParent().
Ptr< UeManager > ns3::EnbNetDevice::GetUeManager | ( | void | ) |
Get the UE manager.
References NS_LOG_FUNCTION.
Referenced by ns3::LteHelper::RegisterUeToTheEnb().
bool ns3::EnbNetDevice::SendPacket | ( | Ptr< PacketBurst > | p | ) | [virtual] |
Send a pachet burst to the physical layer.
p | the packet burst |
Implements ns3::LteNetDevice.
References ns3::LtePhy::GetDownlinkSpectrumPhy(), ns3::LteNetDevice::GetPhy(), NS_LOG_FUNCTION, and ns3::LteSpectrumPhy::StartTx().
void ns3::EnbNetDevice::SetMacEntity | ( | Ptr< EnbMacEntity > | m | ) |
void ns3::EnbNetDevice::SetUeManager | ( | Ptr< UeManager > | m | ) |