Qos Wave Mac Helper class. More...
#include "wave-mac-helper.h"
Public Member Functions | |
QosWaveMacHelper () | |
Create a QosWaveMacHelper that is used to make life easier when working with Wifi 802.11p devices using a QOS MAC layer. | |
~QosWaveMacHelper () override | |
Destroy a QosWaveMacHelper. | |
template<typename... Ts> | |
void | SetType (std::string type, Ts &&... args) |
![]() | |
WifiMacHelper () | |
Create a WifiMacHelper to make life easier for people who want to work with Wifi MAC layers. | |
virtual | ~WifiMacHelper () |
Destroy a WifiMacHelper. | |
virtual Ptr< WifiMac > | Create (Ptr< WifiNetDevice > device, WifiStandard standard) const |
template<typename... Args> | |
void | SetAckManager (std::string type, Args &&... args) |
Helper function used to set the Acknowledgment Manager. | |
template<typename... Args> | |
void | SetAssocManager (std::string type, Args &&... args) |
Helper function used to set the Association Manager. | |
template<typename... Args> | |
void | SetMacQueueScheduler (std::string type, Args &&... args) |
Helper function used to set the MAC queue scheduler. | |
template<typename... Args> | |
void | SetMultiUserScheduler (std::string type, Args &&... args) |
Helper function used to set the Multi User Scheduler that can be aggregated to an HE AP's MAC. | |
template<typename... Args> | |
void | SetProtectionManager (std::string type, Args &&... args) |
Helper function used to set the Protection Manager. | |
template<typename... Args> | |
void | SetType (std::string type, Args &&... args) |
Static Public Member Functions | |
static QosWaveMacHelper | Default () |
Create a mac helper in a default working state. | |
Additional Inherited Members | |
![]() | |
ObjectFactory | m_ackManager |
Factory to create an acknowledgment manager. | |
ObjectFactory | m_assocManager |
Association Manager. | |
ObjectFactory | m_mac |
MAC object factory. | |
ObjectFactory | m_muScheduler |
Multi-user Scheduler object factory. | |
ObjectFactory | m_protectionManager |
Factory to create a protection manager. | |
ObjectFactory | m_queueScheduler |
MAC queue scheduler. | |
Qos Wave Mac Helper class.
Definition at line 72 of file wave-mac-helper.h.
ns3::QosWaveMacHelper::QosWaveMacHelper | ( | ) |
Create a QosWaveMacHelper that is used to make life easier when working with Wifi 802.11p devices using a QOS MAC layer.
Definition at line 51 of file wave-mac-helper.cc.
|
override |
Destroy a QosWaveMacHelper.
Definition at line 55 of file wave-mac-helper.cc.
|
static |
Create a mac helper in a default working state.
Definition at line 60 of file wave-mac-helper.cc.
References SetType().
Referenced by WaveNetDeviceExample::CreateWaveNodes(), TestCaseHelper::CreatWaveDevice(), and VanetRoutingExperiment::SetupAdhocDevices().
void ns3::QosWaveMacHelper::SetType | ( | std::string | type, |
Ts &&... | args | ||
) |
Ts | [deduced] Argument types |
type | the type of ns3::WifiMac to create. | |
[in] | args | Name and AttributeValue pairs to set. |
All the attributes specified in this method should exist in the requested mac.
note: Here we require users set type with OcbWifiMac or its subclass, otherwise it will become error
Definition at line 124 of file wave-mac-helper.h.
References NS_FATAL_ERROR, and ns3::WifiMacHelper::SetType().
Referenced by Default().