A Discrete-Event Network Simulator
API
ns3::NqosWaveMacHelper Class Reference

Nqos Wave Mac Helper class. More...

#include "wave-mac-helper.h"

+ Inheritance diagram for ns3::NqosWaveMacHelper:
+ Collaboration diagram for ns3::NqosWaveMacHelper:

Public Member Functions

 NqosWaveMacHelper ()
 Create a NqosWaveMacHelper to make life easier for people who want to work with non-QOS Wave MAC layers. More...
 
 ~NqosWaveMacHelper () override
 Destroy a NqosWaveMacHelper. More...
 
template<typename... Ts>
void SetType (std::string type, Ts &&... args)
 
- Public Member Functions inherited from ns3::WifiMacHelper
 WifiMacHelper ()
 Create a WifiMacHelper to make life easier for people who want to work with Wifi MAC layers. More...
 
virtual ~WifiMacHelper ()
 Destroy a WifiMacHelper. More...
 
virtual Ptr< WifiMacCreate (Ptr< WifiNetDevice > device, WifiStandard standard) const
 
template<typename... Args>
void SetAckManager (std::string type, Args &&... args)
 Helper function used to set the Acknowledgment Manager. More...
 
template<typename... Args>
void SetAssocManager (std::string type, Args &&... args)
 Helper function used to set the Association Manager. More...
 
template<typename... Args>
void SetMacQueueScheduler (std::string type, Args &&... args)
 Helper function used to set the MAC queue scheduler. More...
 
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. More...
 
template<typename... Args>
void SetProtectionManager (std::string type, Args &&... args)
 Helper function used to set the Protection Manager. More...
 
template<typename... Args>
void SetType (std::string type, Args &&... args)
 

Static Public Member Functions

static NqosWaveMacHelper Default ()
 Create a mac helper in a default working state. More...
 

Additional Inherited Members

- Protected Attributes inherited from ns3::WifiMacHelper
ObjectFactory m_ackManager
 Factory to create an acknowledgment manager. More...
 
ObjectFactory m_assocManager
 Association Manager. More...
 
ObjectFactory m_mac
 MAC object factory. More...
 
ObjectFactory m_muScheduler
 Multi-user Scheduler object factory. More...
 
ObjectFactory m_protectionManager
 Factory to create a protection manager. More...
 
ObjectFactory m_queueScheduler
 MAC queue scheduler. More...
 

Detailed Description

Nqos Wave Mac Helper class.

Definition at line 34 of file wave-mac-helper.h.

Constructor & Destructor Documentation

◆ NqosWaveMacHelper()

ns3::NqosWaveMacHelper::NqosWaveMacHelper ( )

Create a NqosWaveMacHelper to make life easier for people who want to work with non-QOS Wave MAC layers.

Definition at line 30 of file wave-mac-helper.cc.

◆ ~NqosWaveMacHelper()

ns3::NqosWaveMacHelper::~NqosWaveMacHelper ( )
override

Destroy a NqosWaveMacHelper.

Definition at line 34 of file wave-mac-helper.cc.

Member Function Documentation

◆ Default()

NqosWaveMacHelper ns3::NqosWaveMacHelper::Default ( )
static

Create a mac helper in a default working state.

i.e., this is an ocb mac by default.

Returns
NqosWaveMacHelper

Definition at line 39 of file wave-mac-helper.cc.

References SetType().

+ Here is the call graph for this function:

◆ SetType()

template<typename... Ts>
void ns3::NqosWaveMacHelper::SetType ( std::string  type,
Ts &&...  args 
)
Template Parameters
Ts[deduced] Argument types
Parameters
typethe type of ns3::WifiMac to create.
[in]argsName 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 113 of file wave-mac-helper.h.

References check-style-clang-format::args, NS_FATAL_ERROR, ns3::WifiMacHelper::SetType(), and check-style-clang-format::type.

Referenced by Default().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: