A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
no-op-handover-algorithm.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2013 Budiarto Herman
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation;
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
*
17
* Author: Budiarto Herman <budiarto.herman@magister.fi>
18
*
19
*/
20
21
#ifndef NO_OP_HANDOVER_ALGORITHM_H
22
#define NO_OP_HANDOVER_ALGORITHM_H
23
24
#include "
lte-handover-algorithm.h
"
25
#include "
lte-handover-management-sap.h
"
26
#include "
lte-rrc-sap.h
"
27
28
namespace
ns3
29
{
30
40
class
NoOpHandoverAlgorithm
:
public
LteHandoverAlgorithm
41
{
42
public
:
44
NoOpHandoverAlgorithm
();
45
46
~NoOpHandoverAlgorithm
()
override
;
47
52
static
TypeId
GetTypeId
();
53
54
// inherited from LteHandoverAlgorithm
55
void
SetLteHandoverManagementSapUser
(
LteHandoverManagementSapUser
* s)
override
;
56
LteHandoverManagementSapProvider
*
GetLteHandoverManagementSapProvider
()
override
;
57
59
friend
class
MemberLteHandoverManagementSapProvider
<
NoOpHandoverAlgorithm
>;
60
61
protected
:
62
// inherited from Object
63
void
DoInitialize
()
override
;
64
void
DoDispose
()
override
;
65
66
// inherited from LteHandoverAlgorithm as a Handover Management SAP implementation
67
void
DoReportUeMeas
(uint16_t rnti,
LteRrcSap::MeasResults
measResults)
override
;
68
69
private
:
71
LteHandoverManagementSapUser
*
m_handoverManagementSapUser
;
73
LteHandoverManagementSapProvider
*
m_handoverManagementSapProvider
;
74
75
};
// end of class NoOpHandoverAlgorithm
76
77
}
// end of namespace ns3
78
79
#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:66
ns3::LteHandoverManagementSapProvider
Service Access Point (SAP) offered by the handover algorithm instance to the eNodeB RRC instance.
Definition:
lte-handover-management-sap.h:38
ns3::LteHandoverManagementSapUser
Service Access Point (SAP) offered by the eNodeB RRC instance to the handover algorithm instance.
Definition:
lte-handover-management-sap.h:65
ns3::MemberLteHandoverManagementSapProvider
Template for the implementation of the LteHandoverManagementSapProvider as a member of an owner class...
Definition:
lte-handover-management-sap.h:112
ns3::NoOpHandoverAlgorithm
Handover algorithm implementation which simply does nothing.
Definition:
no-op-handover-algorithm.h:41
ns3::NoOpHandoverAlgorithm::~NoOpHandoverAlgorithm
~NoOpHandoverAlgorithm() override
Definition:
no-op-handover-algorithm.cc:40
ns3::NoOpHandoverAlgorithm::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition:
no-op-handover-algorithm.cc:53
ns3::NoOpHandoverAlgorithm::DoReportUeMeas
void DoReportUeMeas(uint16_t rnti, LteRrcSap::MeasResults measResults) override
Implementation of LteHandoverManagementSapProvider::ReportUeMeas.
Definition:
no-op-handover-algorithm.cc:84
ns3::NoOpHandoverAlgorithm::DoInitialize
void DoInitialize() override
Initialize() implementation.
Definition:
no-op-handover-algorithm.cc:77
ns3::NoOpHandoverAlgorithm::DoDispose
void DoDispose() override
Destructor implementation.
Definition:
no-op-handover-algorithm.cc:46
ns3::NoOpHandoverAlgorithm::m_handoverManagementSapProvider
LteHandoverManagementSapProvider * m_handoverManagementSapProvider
Receive API calls from the eNodeB RRC instance.
Definition:
no-op-handover-algorithm.h:73
ns3::NoOpHandoverAlgorithm::NoOpHandoverAlgorithm
NoOpHandoverAlgorithm()
Creates a No-op handover algorithm instance.
Definition:
no-op-handover-algorithm.cc:32
ns3::NoOpHandoverAlgorithm::GetLteHandoverManagementSapProvider
LteHandoverManagementSapProvider * GetLteHandoverManagementSapProvider() override
Export the "provider" part of the Handover Management SAP interface.
Definition:
no-op-handover-algorithm.cc:70
ns3::NoOpHandoverAlgorithm::m_handoverManagementSapUser
LteHandoverManagementSapUser * m_handoverManagementSapUser
Interface to the eNodeB RRC instance.
Definition:
no-op-handover-algorithm.h:71
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:63
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:59
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:717
src
lte
model
no-op-handover-algorithm.h
Generated on Sun Mar 3 2024 17:11:03 for ns-3 by
1.9.1