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 
28 namespace ns3 {
29 
40 {
41 public:
43  virtual ~Wifi80211pHelper ();
44 
52  static Wifi80211pHelper Default (void);
53 
62  virtual void SetStandard (enum WifiPhyStandard standard);
63 
70  virtual NetDeviceContainer Install (const WifiPhyHelper &phy, const WifiMacHelper &macHelper,NodeContainer c) const;
71 
75  static void EnableLogComponents (void);
76 };
77 
78 }
79 
80 #endif /* WIFI_802_11P_HELPER_H */
helps to create wifi 802.11p objects of WifiNetDevice class
create PHY objects
Definition: wifi-helper.h:42
virtual void SetStandard(enum WifiPhyStandard standard)
helps to create WifiNetDevice objects
Definition: wifi-helper.h:230
phy
Definition: third.py:86
WifiPhyStandard
Identifies the PHY specification that a Wifi device is configured to use.
holds a vector of ns3::NetDevice pointers
Every class exported by the ns3 library is enclosed in the ns3 namespace.
keep track of a set of node pointers.
static Wifi80211pHelper Default(void)
create MAC layers for a ns3::WifiNetDevice.
virtual NetDeviceContainer Install(const WifiPhyHelper &phy, const WifiMacHelper &macHelper, NodeContainer c) const
static void EnableLogComponents(void)
Helper to enable all WifiNetDevice log components with one statement.