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
simulator-impl.cc
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2010 INRIA
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
*/
7
8
#include "
simulator-impl.h
"
9
10
#include "
log.h
"
11
12
/**
13
* \file
14
* \ingroup simulator
15
* ns3::SimulatorImpl implementation.
16
*/
17
18
namespace
ns3
19
{
20
21
NS_LOG_COMPONENT_DEFINE
(
"SimulatorImpl"
);
22
23
NS_OBJECT_ENSURE_REGISTERED
(SimulatorImpl);
24
25
TypeId
26
SimulatorImpl::GetTypeId
()
27
{
28
static
TypeId
tid =
TypeId
(
"ns3::SimulatorImpl"
).
SetParent
<
Object
>().SetGroupName(
"Core"
);
29
return
tid;
30
}
31
32
}
// namespace ns3
ns3::Object
A base class which provides memory management and object aggregation.
Definition
object.h:78
ns3::SimulatorImpl::GetTypeId
static TypeId GetTypeId()
Get the registered TypeId for this class.
Definition
simulator-impl.cc:26
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_LOG_COMPONENT_DEFINE
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
Definition
log.h:191
NS_OBJECT_ENSURE_REGISTERED
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Definition
object-base.h:35
log.h
Debug message logging.
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
simulator-impl.h
ns3::SimulatorImpl declaration.
src
core
model
simulator-impl.cc
Generated on Fri Nov 8 2024 13:58:59 for ns-3 by
1.11.0