A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::QosWaveMacHelper Class Reference

#include <wave-mac-helper.h>

+ Inheritance diagram for ns3::QosWaveMacHelper:
+ Collaboration diagram for ns3::QosWaveMacHelper:

Public Member Functions

 QosWaveMacHelper (void)
 Create a QosWaveMacHelper that is used to make life easier when working with Wifi 802.11p devices using a QOS MAC layer. More...
 
virtual ~QosWaveMacHelper (void)
 
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())
 
- Public Member Functions inherited from ns3::QosWifiMacHelper
 QosWifiMacHelper ()
 Create a QosWifiMacHelper that is used to make life easier when working with Wifi devices using a QOS MAC layer. More...
 
virtual ~QosWifiMacHelper ()
 
void SetBlockAckInactivityTimeoutForAc (enum AcIndex ac, uint16_t timeout)
 Sets value of block ack inactivity timeout for a specific access class. More...
 
void SetBlockAckThresholdForAc (enum AcIndex ac, uint8_t threshold)
 This method sets value of block ack threshold for a specific access class. More...
 
void SetMsduAggregatorForAc (AcIndex ac, 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())
 Set the class, type and attributes for the Msdu aggregator. More...
 
- Public Member Functions inherited from ns3::WifiMacHelper
virtual ~WifiMacHelper ()
 

Static Public Member Functions

static QosWaveMacHelper Default (void)
 Create a mac helper in a default working state. More...
 
- Static Public Member Functions inherited from ns3::QosWifiMacHelper
static QosWifiMacHelper Default (void)
 Create a mac helper in a default working state. More...
 

Additional Inherited Members

- Protected Attributes inherited from ns3::QosWifiMacHelper
ObjectFactory m_mac
 

Detailed Description

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

Constructor & Destructor Documentation

ns3::QosWaveMacHelper::QosWaveMacHelper ( void  )

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 80 of file wave-mac-helper.cc.

ns3::QosWaveMacHelper::~QosWaveMacHelper ( void  )
virtual
Internal:
Destroy a QosWaveMacHelper

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

Member Function Documentation

QosWaveMacHelper ns3::QosWaveMacHelper::Default ( void  )
static

Create a mac helper in a default working state.

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

References SetType().

+ Here is the call graph for this function:

void ns3::QosWaveMacHelper::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 () 
)
virtual
Parameters
typethe type of ns3::WifiMac to create.
n0the name of the attribute to set
v0the value of the attribute to set
n1the name of the attribute to set
v1the value of the attribute to set
n2the name of the attribute to set
v2the value of the attribute to set
n3the name of the attribute to set
v3the value of the attribute to set
n4the name of the attribute to set
v4the value of the attribute to set
n5the name of the attribute to set
v5the value of the attribute to set
n6the name of the attribute to set
v6the value of the attribute to set
n7the name of the attribute to set
v7the 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::QosWifiMacHelper.

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

References NS_FATAL_ERROR, and ns3::QosWifiMacHelper::SetType().

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: