#include <wave-mac-helper.h>
Public Member Functions | |
NqosWaveMacHelper (void) | |
Create a NqosWaveMacHelper to make life easier for people who want to work with non-QOS Wave MAC layers. More... | |
virtual | ~NqosWaveMacHelper (void) |
Destroy a NqosWaveMacHelper. More... | |
virtual void | SetType (std::string type, std::string n0="", const AttributeValue &v0=EmptyAttributeValue(), std::string n1="", const AttributeValue &v1=EmptyAttributeValue(), std::string n2="", const AttributeValue &v2=EmptyAttributeValue(), std::string n3="", const AttributeValue &v3=EmptyAttributeValue(), std::string n4="", const AttributeValue &v4=EmptyAttributeValue(), std::string n5="", const AttributeValue &v5=EmptyAttributeValue(), std::string n6="", const AttributeValue &v6=EmptyAttributeValue(), std::string n7="", const AttributeValue &v7=EmptyAttributeValue()) |
![]() | |
NqosWifiMacHelper () | |
Create a NqosWifiMacHelper to make life easier for people who want to work with non-QOS Wifi MAC layers. More... | |
virtual | ~NqosWifiMacHelper () |
Destroy a NqosWifiMacHelper. More... | |
![]() | |
virtual | ~WifiMacHelper () |
Static Public Member Functions | |
static NqosWaveMacHelper | Default (void) |
Create a mac helper in a default working state. More... | |
![]() | |
static NqosWifiMacHelper | Default (void) |
Create a mac helper in a default working state. More... | |
Additional Inherited Members | |
![]() | |
ObjectFactory | m_mac |
Definition at line 31 of file wave-mac-helper.h.
ns3::NqosWaveMacHelper::NqosWaveMacHelper | ( | void | ) |
Create a NqosWaveMacHelper to make life easier for people who want to work with non-QOS Wave MAC layers.
Definition at line 29 of file wave-mac-helper.cc.
|
virtual |
Destroy a NqosWaveMacHelper.
Definition at line 33 of file wave-mac-helper.cc.
|
static |
Create a mac helper in a default working state.
i.e., this is an ocb mac by default.
Definition at line 38 of file wave-mac-helper.cc.
References SetType().
|
virtual |
type | the type of ns3::WifiMac to create. |
n0 | the name of the attribute to set |
v0 | the value of the attribute to set |
n1 | the name of the attribute to set |
v1 | the value of the attribute to set |
n2 | the name of the attribute to set |
v2 | the value of the attribute to set |
n3 | the name of the attribute to set |
v3 | the value of the attribute to set |
n4 | the name of the attribute to set |
v4 | the value of the attribute to set |
n5 | the name of the attribute to set |
v5 | the value of the attribute to set |
n6 | the name of the attribute to set |
v6 | the value of the attribute to set |
n7 | the name of the attribute to set |
v7 | the value of the attribute 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
Reimplemented from ns3::NqosWifiMacHelper.
Definition at line 49 of file wave-mac-helper.cc.
References NS_FATAL_ERROR, and ns3::NqosWifiMacHelper::SetType().
Referenced by Default().