A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
lte-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 LTE_HANDOVER_ALGORITHM_H
22
#define LTE_HANDOVER_ALGORITHM_H
23
24
#include <ns3/lte-rrc-sap.h>
25
#include <ns3/object.h>
26
27
namespace
ns3
28
{
29
30
class
LteHandoverManagementSapUser;
31
class
LteHandoverManagementSapProvider;
32
64
class
LteHandoverAlgorithm
:
public
Object
65
{
66
public
:
67
LteHandoverAlgorithm
();
68
~LteHandoverAlgorithm
()
override
;
69
74
static
TypeId
GetTypeId
();
75
82
virtual
void
SetLteHandoverManagementSapUser
(
LteHandoverManagementSapUser
* s) = 0;
83
89
virtual
LteHandoverManagementSapProvider
*
GetLteHandoverManagementSapProvider
() = 0;
90
91
protected
:
92
// inherited from Object
93
void
DoDispose
()
override
;
94
95
// HANDOVER MANAGEMENT SAP PROVIDER IMPLEMENTATION
96
103
virtual
void
DoReportUeMeas
(uint16_t rnti,
LteRrcSap::MeasResults
measResults) = 0;
104
105
};
// end of class LteHandoverAlgorithm
106
107
}
// end of namespace ns3
108
109
#endif
/* LTE_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:65
ns3::LteHandoverAlgorithm::GetLteHandoverManagementSapProvider
virtual LteHandoverManagementSapProvider * GetLteHandoverManagementSapProvider()=0
Export the "provider" part of the Handover Management SAP interface.
ns3::LteHandoverAlgorithm::SetLteHandoverManagementSapUser
virtual void SetLteHandoverManagementSapUser(LteHandoverManagementSapUser *s)=0
Set the "user" part of the Handover Management SAP interface that this handover algorithm instance wi...
ns3::LteHandoverAlgorithm::DoDispose
void DoDispose() override
Destructor implementation.
Definition:
lte-handover-algorithm.cc:48
ns3::LteHandoverAlgorithm::DoReportUeMeas
virtual void DoReportUeMeas(uint16_t rnti, LteRrcSap::MeasResults measResults)=0
Implementation of LteHandoverManagementSapProvider::ReportUeMeas.
ns3::LteHandoverAlgorithm::~LteHandoverAlgorithm
~LteHandoverAlgorithm() override
Definition:
lte-handover-algorithm.cc:36
ns3::LteHandoverAlgorithm::LteHandoverAlgorithm
LteHandoverAlgorithm()
Definition:
lte-handover-algorithm.cc:32
ns3::LteHandoverAlgorithm::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition:
lte-handover-algorithm.cc:41
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::Object
A base class which provides memory management and object aggregation.
Definition:
object.h:89
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:60
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
lte-handover-algorithm.h
Generated on Fri Mar 31 2023 13:30:45 for ns-3 by
1.9.1