L2Setup class
Interface for constructing everything for the L2 devices (NR, wifi, whatever..)
Derived classes
- class NrSingleBwpSetup
- Setup NR as L2 technology with one bandwith part.
- class WifiSetup
- Setup Wi-Fi as L2 technology.
- class WigigSetup
- Setup Wigig as L2 technology.
Public types
- using SinrCb = Callback<void, uint32_t, double>
- SinrCb typedef First parameter is node ID, second is the SINR value.
Constructors, destructors, conversion operators
Public functions
- auto GetGnbDev() const -> const NetDeviceContainer& virtual
- Get a container of gnb devices.
- auto GetUeDev() const -> const NetDeviceContainer& virtual
- Get a container of user devices.
- void SetSinrCallback(const SinrCb& cb)
- Set Sinr Callback.
Protected functions
- auto GetGnbNodes() const -> const NodeContainer&
- Retrieve GNB node list from the scenario.
- auto GetUeNodes() const -> const NodeContainer&
- Retrieve UE node list from the scenario.
Protected variables
Function documentation
const NetDeviceContainer& ns3:: L2Setup:: GetGnbDev() const virtual
Get a container of gnb devices.
| Returns | A gnb device container |
|---|
const NetDeviceContainer& ns3:: L2Setup:: GetUeDev() const virtual
Get a container of user devices.
| Returns | A user device container |
|---|
const NodeContainer& ns3:: L2Setup:: GetGnbNodes() const protected
Retrieve GNB node list from the scenario.
| Returns | the GNB node container |
|---|
const NodeContainer& ns3:: L2Setup:: GetUeNodes() const protected
Retrieve UE node list from the scenario.
| Returns | the UE node container |
|---|