A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
wave-mac-helper.h
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2008 INRIA
4
* Copyright (c) 2009 MIRKO BANCHI
5
* Copyright (c) 2013 Dalian University of Technology
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License version 2 as
9
* published by the Free Software Foundation;
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
*
20
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
21
* Author: Mirko Banchi <mk.banchi@gmail.com>
22
* Author: Junling Bu <linlinjavaer@gmail.com>
23
*/
24
#ifndef WAVE_MAC_HELPER_H
25
#define WAVE_MAC_HELPER_H
26
#include "ns3/qos-wifi-mac-helper.h"
27
#include "ns3/nqos-wifi-mac-helper.h"
28
29
namespace
ns3 {
30
31
class
NqosWaveMacHelper
:
public
NqosWifiMacHelper
32
{
33
public
:
38
NqosWaveMacHelper
(
void
);
39
44
virtual
~NqosWaveMacHelper
(
void
);
49
static
NqosWaveMacHelper
Default
(
void
);
75
virtual
void
SetType
(std::string type,
76
std::string n0 =
""
,
const
AttributeValue
&v0 =
EmptyAttributeValue
(),
77
std::string n1 =
""
,
const
AttributeValue
&v1 =
EmptyAttributeValue
(),
78
std::string n2 =
""
,
const
AttributeValue
&v2 =
EmptyAttributeValue
(),
79
std::string n3 =
""
,
const
AttributeValue
&v3 =
EmptyAttributeValue
(),
80
std::string n4 =
""
,
const
AttributeValue
&v4 =
EmptyAttributeValue
(),
81
std::string n5 =
""
,
const
AttributeValue
&v5 =
EmptyAttributeValue
(),
82
std::string n6 =
""
,
const
AttributeValue
&v6 =
EmptyAttributeValue
(),
83
std::string n7 =
""
,
const
AttributeValue
&v7 =
EmptyAttributeValue
());
84
};
85
86
class
QosWaveMacHelper
:
public
QosWifiMacHelper
87
{
88
public
:
93
QosWaveMacHelper
(
void
);
94
99
virtual
~QosWaveMacHelper
(
void
);
100
104
static
QosWaveMacHelper
Default
(
void
);
105
131
virtual
void
SetType
(std::string type,
132
std::string n0 =
""
,
const
AttributeValue
&v0 =
EmptyAttributeValue
(),
133
std::string n1 =
""
,
const
AttributeValue
&v1 =
EmptyAttributeValue
(),
134
std::string n2 =
""
,
const
AttributeValue
&v2 =
EmptyAttributeValue
(),
135
std::string n3 =
""
,
const
AttributeValue
&v3 =
EmptyAttributeValue
(),
136
std::string n4 =
""
,
const
AttributeValue
&v4 =
EmptyAttributeValue
(),
137
std::string n5 =
""
,
const
AttributeValue
&v5 =
EmptyAttributeValue
(),
138
std::string n6 =
""
,
const
AttributeValue
&v6 =
EmptyAttributeValue
(),
139
std::string n7 =
""
,
const
AttributeValue
&v7 =
EmptyAttributeValue
());
140
};
141
142
}
143
144
#endif
/* WAVE_MAC_HELPER_H */
ns3::AttributeValue
Hold a value for an Attribute.
Definition:
attribute.h:56
ns3::NqosWaveMacHelper::SetType
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())
Definition:
wave-mac-helper.cc:54
ns3::QosWaveMacHelper::SetType
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())
Definition:
wave-mac-helper.cc:100
ns3::QosWaveMacHelper::QosWaveMacHelper
QosWaveMacHelper(void)
Create a QosWaveMacHelper that is used to make life easier when working with Wifi 802...
Definition:
wave-mac-helper.cc:80
ns3::EmptyAttributeValue
A class for an empty attribute value.
Definition:
attribute.h:222
ns3::QosWaveMacHelper::~QosWaveMacHelper
virtual ~QosWaveMacHelper(void)
Definition:
wave-mac-helper.cc:83
ns3::QosWaveMacHelper
Definition:
wave-mac-helper.h:86
ns3::NqosWifiMacHelper
create non QoS-enabled MAC layers for a ns3::WifiNetDevice.
Definition:
nqos-wifi-mac-helper.h:33
ns3::QosWifiMacHelper
create QoS-enabled MAC layers for a ns3::WifiNetDevice.
Definition:
qos-wifi-mac-helper.h:36
ns3::NqosWaveMacHelper::NqosWaveMacHelper
NqosWaveMacHelper(void)
Create a NqosWaveMacHelper to make life easier for people who want to work with non-QOS Wave MAC laye...
Definition:
wave-mac-helper.cc:34
ns3::NqosWaveMacHelper
Definition:
wave-mac-helper.h:31
ns3::NqosWaveMacHelper::~NqosWaveMacHelper
virtual ~NqosWaveMacHelper(void)
Definition:
wave-mac-helper.cc:38
ns3::QosWaveMacHelper::Default
static QosWaveMacHelper Default(void)
Create a mac helper in a default working state.
Definition:
wave-mac-helper.cc:87
ns3::NqosWaveMacHelper::Default
static NqosWaveMacHelper Default(void)
Create a mac helper in a default working state.
Definition:
wave-mac-helper.cc:43
src
wave
helper
wave-mac-helper.h
Generated on Sat Apr 19 2014 14:07:10 for ns-3 by
1.8.6