A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
src
wave
helper
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
class
Wifi80211pHelper
:
public
WifiHelper
40
{
41
public
:
42
Wifi80211pHelper
();
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 */
ns3::Wifi80211pHelper
helps to create wifi 802.11p objects of WifiNetDevice class
Definition:
wifi-80211p-helper.h:39
ns3::Wifi80211pHelper::Wifi80211pHelper
Wifi80211pHelper()
Definition:
wifi-80211p-helper.cc:33
ns3::WifiPhyHelper
create PHY objects
Definition:
wifi-helper.h:42
ns3::Wifi80211pHelper::SetStandard
virtual void SetStandard(enum WifiPhyStandard standard)
Definition:
wifi-80211p-helper.cc:54
ns3::WifiHelper
helps to create WifiNetDevice objects
Definition:
wifi-helper.h:230
third.phy
phy
Definition:
third.py:86
ns3::WifiPhyStandard
WifiPhyStandard
Identifies the PHY specification that a Wifi device is configured to use.
Definition:
wifi-phy-standard.h:30
ns3::Wifi80211pHelper::~Wifi80211pHelper
virtual ~Wifi80211pHelper()
Definition:
wifi-80211p-helper.cc:37
ns3::NetDeviceContainer
holds a vector of ns3::NetDevice pointers
Definition:
net-device-container.h:41
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::NodeContainer
keep track of a set of node pointers.
Definition:
node-container.h:38
ns3::Wifi80211pHelper::Default
static Wifi80211pHelper Default(void)
Definition:
wifi-80211p-helper.cc:42
ns3::WifiMacHelper
create MAC layers for a ns3::WifiNetDevice.
Definition:
wifi-mac-helper.h:45
ns3::Wifi80211pHelper::Install
virtual NetDeviceContainer Install(const WifiPhyHelper &phy, const WifiMacHelper &macHelper, NodeContainer c) const
Definition:
wifi-80211p-helper.cc:77
ns3::Wifi80211pHelper::EnableLogComponents
static void EnableLogComponents(void)
Helper to enable all WifiNetDevice log components with one statement.
Definition:
wifi-80211p-helper.cc:68
Generated on Wed Nov 7 2018 10:02:12 for ns-3 by
1.8.14