5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
nr-handover-algorithm.h
1// Copyright (c) 2013 Budiarto Herman
2//
3// SPDX-License-Identifier: GPL-2.0-only
4//
5// Author: Budiarto Herman <budiarto.herman@magister.fi>
6
7#ifndef NR_HANDOVER_ALGORITHM_H
8#define NR_HANDOVER_ALGORITHM_H
9
10#include "nr-rrc-sap.h"
11
12#include "ns3/object.h"
13
14namespace ns3
15{
16
17class NrHandoverManagementSapUser;
18class NrHandoverManagementSapProvider;
19
51class NrHandoverAlgorithm : public Object
52{
53 public:
55 ~NrHandoverAlgorithm() override;
56
61 static TypeId GetTypeId();
62
70
77
78 protected:
79 // inherited from Object
80 void DoDispose() override;
81
82 // HANDOVER MANAGEMENT SAP PROVIDER IMPLEMENTATION
83
90 virtual void DoReportUeMeas(uint16_t rnti, NrRrcSap::MeasResults measResults) = 0;
91
92}; // end of class NrHandoverAlgorithm
93
94} // end of namespace ns3
95
96#endif /* NR_HANDOVER_ALGORITHM_H */
The abstract base class of a handover algorithm that operates using the Handover Management SAP inter...
virtual void DoReportUeMeas(uint16_t rnti, NrRrcSap::MeasResults measResults)=0
Implementation of NrHandoverManagementSapProvider::ReportUeMeas.
virtual NrHandoverManagementSapProvider * GetNrHandoverManagementSapProvider()=0
Export the "provider" part of the Handover Management SAP interface.
static TypeId GetTypeId()
Get the type ID.
virtual void SetNrHandoverManagementSapUser(NrHandoverManagementSapUser *s)=0
Set the "user" part of the Handover Management SAP interface that this handover algorithm instance wi...
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.
MeasResults structure.
Definition nr-rrc-sap.h:723