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
mesh-stack-installer.cc
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015, Lawrence Livermore National Laboratory
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Peter D. Barnes, Jr. <pdbarnes@llnl.gov>
7
*/
8
9
#include "
mesh-stack-installer.h
"
10
11
namespace
ns3
12
{
13
NS_OBJECT_ENSURE_REGISTERED
(MeshStack);
14
15
TypeId
16
MeshStack::GetTypeId
()
17
{
18
static
TypeId
tid =
TypeId
(
"ns3::MeshStack"
).
SetParent
<
Object
>().SetGroupName(
"Mesh"
)
19
// No AddConstructor because this is an abstract class.
20
;
21
return
tid;
22
}
23
24
}
// namespace ns3
ns3::MeshStack::GetTypeId
static TypeId GetTypeId()
Register this type.
Definition
mesh-stack-installer.cc:16
ns3::Object
A base class which provides memory management and object aggregation.
Definition
object.h:78
ns3::TypeId
a unique identifier for an interface.
Definition
type-id.h:48
ns3::TypeId::SetParent
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Definition
type-id.cc:1001
NS_OBJECT_ENSURE_REGISTERED
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Definition
object-base.h:35
mesh-stack-installer.h
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
mesh
helper
mesh-stack-installer.cc
Generated on Fri Nov 1 2024 09:20:44 for ns-3 by
1.11.0