A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
dot11s-installer.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2008,2009 IITP RAS
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation;
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
*
17
* Authors: Kirill Andreev <andreev@iitp.ru>
18
*/
19
20
#ifndef DOT11S_STACK_INSTALLER_H
21
#define DOT11S_STACK_INSTALLER_H
22
23
#include "ns3/mesh-stack-installer.h"
24
25
namespace
ns3
26
{
27
32
class
Dot11sStack
:
public
MeshStack
33
{
34
public
:
39
static
TypeId
GetTypeId
();
40
44
Dot11sStack
();
45
49
~Dot11sStack
()
override
;
50
55
void
DoDispose
()
override
;
56
62
bool
InstallStack
(
Ptr<MeshPointDevice>
mp)
override
;
63
70
void
Report
(
const
Ptr<MeshPointDevice>
mp, std::ostream&)
override
;
71
76
void
ResetStats
(
const
Ptr<MeshPointDevice>
mp)
override
;
77
78
private
:
79
Mac48Address
m_root
;
80
};
81
82
}
// namespace ns3
83
84
#endif
ns3::Dot11sStack
Helper class to allow easy installation of 802.11s stack.
Definition:
dot11s-installer.h:33
ns3::Dot11sStack::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition:
dot11s-installer.cc:32
ns3::Dot11sStack::~Dot11sStack
~Dot11sStack() override
Destroy a Dot11sStack() installer helper.
Definition:
dot11s-installer.cc:51
ns3::Dot11sStack::DoDispose
void DoDispose() override
Break any reference cycles in the installer helper.
Definition:
dot11s-installer.cc:56
ns3::Dot11sStack::Report
void Report(const Ptr< MeshPointDevice > mp, std::ostream &) override
Iterate through the referenced devices and protocols and print their statistics.
Definition:
dot11s-installer.cc:90
ns3::Dot11sStack::ResetStats
void ResetStats(const Ptr< MeshPointDevice > mp) override
Reset the statistics on the referenced devices and protocols.
Definition:
dot11s-installer.cc:113
ns3::Dot11sStack::InstallStack
bool InstallStack(Ptr< MeshPointDevice > mp) override
Install an 802.11s stack.
Definition:
dot11s-installer.cc:61
ns3::Dot11sStack::Dot11sStack
Dot11sStack()
Create a Dot11sStack() installer helper.
Definition:
dot11s-installer.cc:46
ns3::Dot11sStack::m_root
Mac48Address m_root
root
Definition:
dot11s-installer.h:79
ns3::Mac48Address
an EUI-48 address
Definition:
mac48-address.h:46
ns3::MeshStack
Prototype for class, which helps to install MAC-layer routing stack to ns3::MeshPointDevice.
Definition:
mesh-stack-installer.h:36
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition:
ptr.h:78
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:59
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
mesh
helper
dot11s
dot11s-installer.h
Generated on Sun Jul 2 2023 18:21:54 for ns-3 by
1.9.6