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
no-op-handover-algorithm.h
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
10
#ifndef NO_OP_HANDOVER_ALGORITHM_H
11
#define NO_OP_HANDOVER_ALGORITHM_H
12
13
#include "
lte-handover-algorithm.h
"
14
#include "
lte-handover-management-sap.h
"
15
#include "
lte-rrc-sap.h
"
16
17
namespace
ns3
18
{
19
20
/**
21
* \brief Handover algorithm implementation which simply does nothing.
22
*
23
* Selecting this handover algorithm is equivalent to disabling automatic
24
* triggering of handover. This is the default choice.
25
*
26
* To enable automatic handover, please select another handover algorithm, i.e.,
27
* another child class of LteHandoverAlgorithm.
28
*/
29
class
NoOpHandoverAlgorithm
:
public
LteHandoverAlgorithm
30
{
31
public
:
32
/// Creates a No-op handover algorithm instance.
33
NoOpHandoverAlgorithm
();
34
35
~NoOpHandoverAlgorithm
()
override
;
36
37
/**
38
* \brief Get the type ID.
39
* \return the object TypeId
40
*/
41
static
TypeId
GetTypeId
();
42
43
// inherited from LteHandoverAlgorithm
44
void
SetLteHandoverManagementSapUser
(
LteHandoverManagementSapUser
* s)
override
;
45
LteHandoverManagementSapProvider
*
GetLteHandoverManagementSapProvider
()
override
;
46
47
/// let the forwarder class access the protected and private members
48
friend
class
MemberLteHandoverManagementSapProvider
<
NoOpHandoverAlgorithm
>;
49
50
protected
:
51
// inherited from Object
52
void
DoInitialize
()
override
;
53
void
DoDispose
()
override
;
54
55
// inherited from LteHandoverAlgorithm as a Handover Management SAP implementation
56
void
DoReportUeMeas
(uint16_t rnti,
LteRrcSap::MeasResults
measResults)
override
;
57
58
private
:
59
/// Interface to the eNodeB RRC instance.
60
LteHandoverManagementSapUser
*
m_handoverManagementSapUser
;
61
/// Receive API calls from the eNodeB RRC instance.
62
LteHandoverManagementSapProvider
*
m_handoverManagementSapProvider
;
63
64
};
// end of class NoOpHandoverAlgorithm
65
66
}
// end of namespace ns3
67
68
#endif
/* NO_OP_HANDOVER_ALGORITHM_H */
ns3::LteHandoverAlgorithm
The abstract base class of a handover algorithm that operates using the Handover Management SAP inter...
Definition
lte-handover-algorithm.h:55
ns3::LteHandoverManagementSapProvider
Service Access Point (SAP) offered by the handover algorithm instance to the eNodeB RRC instance.
Definition
lte-handover-management-sap.h:27
ns3::LteHandoverManagementSapUser
Service Access Point (SAP) offered by the eNodeB RRC instance to the handover algorithm instance.
Definition
lte-handover-management-sap.h:54
ns3::MemberLteHandoverManagementSapProvider
Template for the implementation of the LteHandoverManagementSapProvider as a member of an owner class...
Definition
lte-handover-management-sap.h:101
ns3::NoOpHandoverAlgorithm
Handover algorithm implementation which simply does nothing.
Definition
no-op-handover-algorithm.h:30
ns3::NoOpHandoverAlgorithm::~NoOpHandoverAlgorithm
~NoOpHandoverAlgorithm() override
Definition
no-op-handover-algorithm.cc:29
ns3::NoOpHandoverAlgorithm::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition
no-op-handover-algorithm.cc:42
ns3::NoOpHandoverAlgorithm::DoReportUeMeas
void DoReportUeMeas(uint16_t rnti, LteRrcSap::MeasResults measResults) override
Implementation of LteHandoverManagementSapProvider::ReportUeMeas.
Definition
no-op-handover-algorithm.cc:73
ns3::NoOpHandoverAlgorithm::DoInitialize
void DoInitialize() override
Initialize() implementation.
Definition
no-op-handover-algorithm.cc:66
ns3::NoOpHandoverAlgorithm::DoDispose
void DoDispose() override
Destructor implementation.
Definition
no-op-handover-algorithm.cc:35
ns3::NoOpHandoverAlgorithm::m_handoverManagementSapProvider
LteHandoverManagementSapProvider * m_handoverManagementSapProvider
Receive API calls from the eNodeB RRC instance.
Definition
no-op-handover-algorithm.h:62
ns3::NoOpHandoverAlgorithm::NoOpHandoverAlgorithm
NoOpHandoverAlgorithm()
Creates a No-op handover algorithm instance.
Definition
no-op-handover-algorithm.cc:21
ns3::NoOpHandoverAlgorithm::GetLteHandoverManagementSapProvider
LteHandoverManagementSapProvider * GetLteHandoverManagementSapProvider() override
Export the "provider" part of the Handover Management SAP interface.
Definition
no-op-handover-algorithm.cc:59
ns3::NoOpHandoverAlgorithm::m_handoverManagementSapUser
LteHandoverManagementSapUser * m_handoverManagementSapUser
Interface to the eNodeB RRC instance.
Definition
no-op-handover-algorithm.h:60
ns3::NoOpHandoverAlgorithm::SetLteHandoverManagementSapUser
void SetLteHandoverManagementSapUser(LteHandoverManagementSapUser *s) override
Set the "user" part of the Handover Management SAP interface that this handover algorithm instance wi...
Definition
no-op-handover-algorithm.cc:52
ns3::TypeId
a unique identifier for an interface.
Definition
type-id.h:48
lte-handover-algorithm.h
lte-handover-management-sap.h
lte-rrc-sap.h
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::LteRrcSap::MeasResults
MeasResults structure.
Definition
lte-rrc-sap.h:706
src
lte
model
no-op-handover-algorithm.h
Generated on Fri Nov 8 2024 13:59:03 for ns-3 by
1.11.0