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
29namespace ns3 {
30
41{
42public:
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 */
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
static void EnableLogComponents(void)
Helper to enable all WifiNetDevice log components with one statement.
virtual NetDeviceContainer Install(const WifiPhyHelper &phy, const WifiMacHelper &macHelper, NodeContainer c) const
static Wifi80211pHelper Default(void)
virtual void SetStandard(enum WifiStandard standard)
helps to create WifiNetDevice objects
Definition: wifi-helper.h:322
create MAC layers for a ns3::WifiNetDevice.
create PHY objects
Definition: wifi-helper.h:49
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:84