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
scheduler.cc
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2006 INRIA
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
7
*/
8
9
#include "
scheduler.h
"
10
11
#include "
log.h
"
12
13
/**
14
* @file
15
* @ingroup scheduler
16
* ns3::Scheduler implementation.
17
*/
18
19
namespace
ns3
20
{
21
22
NS_LOG_COMPONENT_DEFINE
(
"Scheduler"
);
23
24
NS_OBJECT_ENSURE_REGISTERED
(
Scheduler
);
25
26
Scheduler::~Scheduler
()
27
{
28
NS_LOG_FUNCTION
(
this
);
29
}
30
31
TypeId
32
Scheduler::GetTypeId
()
33
{
34
static
TypeId
tid =
TypeId
(
"ns3::Scheduler"
).
SetParent
<
Object
>().SetGroupName(
"Core"
);
35
return
tid;
36
}
37
38
}
// namespace ns3
ns3::Object::Object
Object()
Caller graph was not generated because of its size.
Definition
object.cc:93
ns3::Scheduler
Maintain the event list.
Definition
scheduler.h:146
ns3::Scheduler::~Scheduler
~Scheduler() override=0
Destructor.
Definition
scheduler.cc:26
ns3::Scheduler::GetTypeId
static TypeId GetTypeId()
Register this type.
Definition
scheduler.cc:32
ns3::TypeId
a unique identifier for an interface.
Definition
type-id.h:49
ns3::TypeId::SetParent
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Definition
type-id.cc:999
NS_LOG_COMPONENT_DEFINE
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
Definition
log.h:194
NS_LOG_FUNCTION
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ",...
Definition
log-macros-enabled.h:231
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.
scheduler.h
ns3::Scheduler abstract base class, ns3::Scheduler::Event and ns3::Scheduler::EventKey declarations.
src
core
model
scheduler.cc
Generated on
for ns-3 by
1.15.0