A Discrete-Event Network Simulator
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 "assert.h"
12#include "log.h"
13
14/**
15 * \file
16 * \ingroup scheduler
17 * ns3::Scheduler implementation.
18 */
19
20namespace ns3
21{
22
23NS_LOG_COMPONENT_DEFINE("Scheduler");
24
26
31
34{
35 static TypeId tid = TypeId("ns3::Scheduler").SetParent<Object>().SetGroupName("Core");
36 return tid;
37}
38
39} // namespace ns3
NS_ASSERT() and NS_ASSERT_MSG() macro definitions.
A base class which provides memory management and object aggregation.
Definition object.h:78
~Scheduler() override=0
Destructor.
Definition scheduler.cc:27
static TypeId GetTypeId()
Register this type.
Definition scheduler.cc:33
a unique identifier for an interface.
Definition type-id.h:48
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Definition type-id.cc:1001
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
Definition log.h:191
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ",...
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Definition object-base.h:35
Debug message logging.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::Scheduler abstract base class, ns3::Scheduler::Event and ns3::Scheduler::EventKey declarations.