A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
no-op-handover-algorithm.cc
Go to the documentation of this file.
1/*
2 * Copyright (c) 2013 Budiarto Herman
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 * Author: Budiarto Herman <budiarto.herman@magister.fi>
7 *
8 */
9
11
12#include <ns3/log.h>
13
14namespace ns3
15{
16
17NS_LOG_COMPONENT_DEFINE("NoOpHandoverAlgorithm");
18
19NS_OBJECT_ENSURE_REGISTERED(NoOpHandoverAlgorithm);
20
28
33
34void
40
43{
44 static TypeId tid = TypeId("ns3::NoOpHandoverAlgorithm")
46 .SetGroupName("Lte")
47 .AddConstructor<NoOpHandoverAlgorithm>();
48 return tid;
49}
50
51void
57
64
65void
71
72void
74{
75 NS_LOG_FUNCTION(this << rnti << (uint16_t)measResults.measId);
76}
77
78} // end of namespace ns3
The abstract base class of a handover algorithm that operates using the Handover Management SAP inter...
Service Access Point (SAP) offered by the handover algorithm instance to the eNodeB RRC instance.
Service Access Point (SAP) offered by the eNodeB RRC instance to the handover algorithm instance.
Handover algorithm implementation which simply does nothing.
static TypeId GetTypeId()
Get the type ID.
void DoReportUeMeas(uint16_t rnti, LteRrcSap::MeasResults measResults) override
Implementation of LteHandoverManagementSapProvider::ReportUeMeas.
void DoInitialize() override
Initialize() implementation.
void DoDispose() override
Destructor implementation.
LteHandoverManagementSapProvider * m_handoverManagementSapProvider
Receive API calls from the eNodeB RRC instance.
NoOpHandoverAlgorithm()
Creates a No-op handover algorithm instance.
LteHandoverManagementSapProvider * GetLteHandoverManagementSapProvider() override
Export the "provider" part of the Handover Management SAP interface.
LteHandoverManagementSapUser * m_handoverManagementSapUser
Interface to the eNodeB RRC instance.
friend class MemberLteHandoverManagementSapProvider< NoOpHandoverAlgorithm >
let the forwarder class access the protected and private members
void SetLteHandoverManagementSapUser(LteHandoverManagementSapUser *s) override
Set the "user" part of the Handover Management SAP interface that this handover algorithm instance wi...
virtual void DoInitialize()
Initialize() implementation.
Definition object.cc:440
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
Every class exported by the ns3 library is enclosed in the ns3 namespace.
MeasResults structure.
uint8_t measId
measure ID