A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
wifi-80211p-helper.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2008 INRIA
3
* Copyright (c) 2009 MIRKO BANCHI
4
* Copyright (c) 2013 Dalian University of Technology
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 2 as
8
* published by the Free Software Foundation;
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
*
19
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
20
* Author: Mirko Banchi <mk.banchi@gmail.com>
21
* Author: Junling Bu <linlinjavaer@gmail.com>
22
*/
23
#ifndef WIFI_802_11P_HELPER_H
24
#define WIFI_802_11P_HELPER_H
25
#include "ns3/deprecated.h"
26
#include "ns3/wifi-helper.h"
27
28
namespace
ns3
29
{
30
40
class
Wifi80211pHelper
:
public
WifiHelper
41
{
42
public
:
43
Wifi80211pHelper
();
44
~Wifi80211pHelper
()
override
;
45
53
static
Wifi80211pHelper
Default
();
54
61
void
SetStandard
(
WifiStandard
standard)
override
;
62
69
NetDeviceContainer
Install
(
const
WifiPhyHelper
&
phy
,
70
const
WifiMacHelper
& macHelper,
71
NodeContainer
c)
const override
;
72
76
static
void
EnableLogComponents
();
77
};
78
79
}
// namespace ns3
80
81
#endif
/* WIFI_802_11P_HELPER_H */
ns3::NetDeviceContainer
holds a vector of ns3::NetDevice pointers
Definition:
net-device-container.h:43
ns3::NodeContainer
keep track of a set of node pointers.
Definition:
node-container.h:40
ns3::Wifi80211pHelper
helps to create wifi 802.11p objects of WifiNetDevice class
Definition:
wifi-80211p-helper.h:41
ns3::Wifi80211pHelper::SetStandard
void SetStandard(WifiStandard standard) override
Definition:
wifi-80211p-helper.cc:59
ns3::Wifi80211pHelper::Default
static Wifi80211pHelper Default()
Definition:
wifi-80211p-helper.cc:44
ns3::Wifi80211pHelper::Wifi80211pHelper
Wifi80211pHelper()
Definition:
wifi-80211p-helper.cc:35
ns3::Wifi80211pHelper::~Wifi80211pHelper
~Wifi80211pHelper() override
Definition:
wifi-80211p-helper.cc:39
ns3::Wifi80211pHelper::Install
NetDeviceContainer Install(const WifiPhyHelper &phy, const WifiMacHelper &macHelper, NodeContainer c) const override
Definition:
wifi-80211p-helper.cc:81
ns3::Wifi80211pHelper::EnableLogComponents
static void EnableLogComponents()
Helper to enable all WifiNetDevice log components with one statement.
Definition:
wifi-80211p-helper.cc:72
ns3::WifiHelper
helps to create WifiNetDevice objects
Definition:
wifi-helper.h:325
ns3::WifiMacHelper
create MAC layers for a ns3::WifiNetDevice.
Definition:
wifi-mac-helper.h:48
ns3::WifiPhyHelper
create PHY objects
Definition:
wifi-helper.h:50
ns3::WifiStandard
WifiStandard
Identifies the IEEE 802.11 specifications that a Wifi device can be configured to use.
Definition:
wifi-standards.h:38
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
third.phy
phy
Definition:
third.py:82
src
wave
helper
wifi-80211p-helper.h
Generated on Fri Mar 31 2023 13:30:52 for ns-3 by
1.9.1