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
queue-limits.cc
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2016 Universita' degli Studi di Napoli Federico II
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Authors: Pasquale Imputato <p.imputato@gmail.com>
7
* Stefano Avallone <stefano.avallone@unina.it>
8
*/
9
10
#include "
queue-limits.h
"
11
12
#include "ns3/log.h"
13
14
namespace
ns3
15
{
16
17
NS_LOG_COMPONENT_DEFINE
(
"QueueLimits"
);
18
19
NS_OBJECT_ENSURE_REGISTERED
(QueueLimits);
20
21
TypeId
22
QueueLimits::GetTypeId
()
23
{
24
static
TypeId
tid =
TypeId
(
"ns3::QueueLimits"
).
SetParent
<
Object
>().SetGroupName(
"Network"
);
25
return
tid;
26
}
27
28
QueueLimits::~QueueLimits
()
29
{
30
NS_LOG_FUNCTION
(
this
);
31
}
32
33
}
// namespace ns3
ns3::Object
A base class which provides memory management and object aggregation.
Definition
object.h:78
ns3::QueueLimits::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition
queue-limits.cc:22
ns3::QueueLimits::~QueueLimits
~QueueLimits() override
Definition
queue-limits.cc:28
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_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:229
NS_OBJECT_ENSURE_REGISTERED
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Definition
object-base.h:35
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
queue-limits.h
src
network
utils
queue-limits.cc
Generated on Fri Nov 8 2024 13:59:05 for ns-3 by
1.11.0