A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
39 {
40 public:
42  virtual ~Wifi80211pHelper ();
43 
51  static Wifi80211pHelper Default (void);
52 
61  virtual void SetStandard (enum WifiPhyStandard 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 */
helps to create wifi 802.11p objects of WifiNetDevice class
create PHY objects
Definition: wifi-helper.h:46
virtual void SetStandard(enum WifiPhyStandard standard)
helps to create WifiNetDevice objects
Definition: wifi-helper.h:88
WifiPhyStandard
Identifies the PHY specification that a Wifi device is configured to use.
holds a vector of ns3::NetDevice pointers
virtual NetDeviceContainer Install(const WifiPhyHelper &phy, const WifiMacHelper &macHelper, NodeContainer c) const
keep track of a set of node pointers.
static Wifi80211pHelper Default(void)
create MAC objects
Definition: wifi-helper.h:68
static void EnableLogComponents(void)
Helper to enable all WifiNetDevice log components with one statement.