A Discrete-Event Network Simulator
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 
41 {
42  public:
44  ~Wifi80211pHelper() override;
45 
53  static Wifi80211pHelper Default();
54 
61  void SetStandard(WifiStandard standard) override;
62 
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 */
holds a vector of ns3::NetDevice pointers
keep track of a set of node pointers.
helps to create wifi 802.11p objects of WifiNetDevice class
void SetStandard(WifiStandard standard) override
static Wifi80211pHelper Default()
NetDeviceContainer Install(const WifiPhyHelper &phy, const WifiMacHelper &macHelper, NodeContainer c) const override
static void EnableLogComponents()
Helper to enable all WifiNetDevice log components with one statement.
helps to create WifiNetDevice objects
Definition: wifi-helper.h:325
create MAC layers for a ns3::WifiNetDevice.
create PHY objects
Definition: wifi-helper.h:50
WifiStandard
Identifies the IEEE 802.11 specifications that a Wifi device can be configured to use.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
phy
Definition: third.py:82