A Discrete-Event Network Simulator
API
wifi-80211p-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 WIFI_802_11P_HELPER_H
25 #define WIFI_802_11P_HELPER_H
26 #include "ns3/wifi-helper.h"
27 #include "ns3/deprecated.h"
28 
29 namespace ns3 {
30 
41 {
42 public:
44  virtual ~Wifi80211pHelper ();
45 
53  static Wifi80211pHelper Default (void);
54 
61  virtual void SetStandard (enum WifiStandard standard);
62 
69  virtual NetDeviceContainer Install (const WifiPhyHelper &phy, const WifiMacHelper &macHelper,NodeContainer c) const;
70 
74  static void EnableLogComponents (void);
75 };
76 
77 }
78 
79 #endif /* WIFI_802_11P_HELPER_H */
ns3::NetDeviceContainer
holds a vector of ns3::NetDevice pointers
Definition: net-device-container.h:42
ns3::Wifi80211pHelper
helps to create wifi 802.11p objects of WifiNetDevice class
Definition: wifi-80211p-helper.h:41
ns3::Wifi80211pHelper::SetStandard
virtual void SetStandard(enum WifiStandard standard)
Definition: wifi-80211p-helper.cc:54
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::WifiHelper
helps to create WifiNetDevice objects
Definition: wifi-helper.h:327
ns3::Wifi80211pHelper::EnableLogComponents
static void EnableLogComponents(void)
Helper to enable all WifiNetDevice log components with one statement.
Definition: wifi-80211p-helper.cc:67
ns3::Wifi80211pHelper::~Wifi80211pHelper
virtual ~Wifi80211pHelper()
Definition: wifi-80211p-helper.cc:37
ns3::Wifi80211pHelper::Install
virtual NetDeviceContainer Install(const WifiPhyHelper &phy, const WifiMacHelper &macHelper, NodeContainer c) const
Definition: wifi-80211p-helper.cc:76
ns3::Wifi80211pHelper::Default
static Wifi80211pHelper Default(void)
Definition: wifi-80211p-helper.cc:42
ns3::WifiPhyHelper
create PHY objects
Definition: wifi-helper.h:48
ns3::Wifi80211pHelper::Wifi80211pHelper
Wifi80211pHelper()
Definition: wifi-80211p-helper.cc:33
ns3::NodeContainer
keep track of a set of node pointers.
Definition: node-container.h:39
ns3::WifiMacHelper
create MAC layers for a ns3::WifiNetDevice.
Definition: wifi-mac-helper.h:48
ns3::WifiStandard
WifiStandard
Identifies the allowed configurations that a Wifi device is configured to use.
Definition: wifi-standards.h:126
third.phy
phy
Definition: third.py:93