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
epc-helper.cc
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2011-2013 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Authors:
7
* Jaume Nin <jnin@cttc.es>
8
* Nicola Baldo <nbaldo@cttc.es>
9
* Manuel Requena <manuel.requena@cttc.es>
10
*/
11
12
#include "
epc-helper.h
"
13
14
#include <ns3/ipv4-address.h>
15
#include <ns3/ipv6-address.h>
16
#include <ns3/log.h>
17
#include <ns3/node.h>
18
19
namespace
ns3
20
{
21
22
NS_LOG_COMPONENT_DEFINE
(
"EpcHelper"
);
23
24
NS_OBJECT_ENSURE_REGISTERED
(EpcHelper);
25
26
EpcHelper::EpcHelper
()
27
{
28
NS_LOG_FUNCTION
(
this
);
29
}
30
31
EpcHelper::~EpcHelper
()
32
{
33
NS_LOG_FUNCTION
(
this
);
34
}
35
36
TypeId
37
EpcHelper::GetTypeId
()
38
{
39
static
TypeId
tid =
TypeId
(
"ns3::EpcHelper"
).
SetParent
<
Object
>().SetGroupName(
"Lte"
);
40
return
tid;
41
}
42
43
void
44
EpcHelper::DoDispose
()
45
{
46
NS_LOG_FUNCTION
(
this
);
47
Object::DoDispose
();
48
}
49
50
}
// namespace ns3
ns3::EpcHelper::GetTypeId
static TypeId GetTypeId()
Register this type.
Definition
epc-helper.cc:37
ns3::EpcHelper::EpcHelper
EpcHelper()
Constructor.
Definition
epc-helper.cc:26
ns3::EpcHelper::DoDispose
void DoDispose() override
Destructor implementation.
Definition
epc-helper.cc:44
ns3::EpcHelper::~EpcHelper
~EpcHelper() override
Destructor.
Definition
epc-helper.cc:31
ns3::Object
A base class which provides memory management and object aggregation.
Definition
object.h:78
ns3::Object::DoDispose
virtual void DoDispose()
Destructor implementation.
Definition
object.cc:433
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
epc-helper.h
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.
src
lte
helper
epc-helper.cc
Generated on Fri Nov 8 2024 13:59:02 for ns-3 by
1.11.0