5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
nr-no-op-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 NO_OP_HANDOVER_ALGORITHM_H
8#define NO_OP_HANDOVER_ALGORITHM_H
9
10#include "nr-handover-algorithm.h"
11#include "nr-handover-management-sap.h"
12#include "nr-rrc-sap.h"
13
14namespace ns3
15{
16
27{
28 public:
31
32 ~NrNoOpHandoverAlgorithm() override;
33
38 static TypeId GetTypeId();
39
40 // inherited from NrHandoverAlgorithm
43
46
47 protected:
48 // inherited from Object
49 void DoInitialize() override;
50 void DoDispose() override;
51
52 // inherited from NrHandoverAlgorithm as a Handover Management SAP implementation
53 void DoReportUeMeas(uint16_t rnti, NrRrcSap::MeasResults measResults) override;
54
55 private:
57 NrHandoverManagementSapUser* m_handoverManagementSapUser;
59 NrHandoverManagementSapProvider* m_handoverManagementSapProvider;
60
61}; // end of class NrNoOpHandoverAlgorithm
62
63} // end of namespace ns3
64
65#endif /* NO_OP_HANDOVER_ALGORITHM_H */
Template for the implementation of the NrHandoverManagementSapProvider as a member of an owner class ...
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.
void DoReportUeMeas(uint16_t rnti, NrRrcSap::MeasResults measResults) override
Implementation of NrHandoverManagementSapProvider::ReportUeMeas.
NrNoOpHandoverAlgorithm()
Creates a No-op handover algorithm instance.
static TypeId GetTypeId()
Get the type ID.
void SetNrHandoverManagementSapUser(NrHandoverManagementSapUser *s) override
Set the "user" part of the Handover Management SAP interface that this handover algorithm instance wi...
NrHandoverManagementSapProvider * GetNrHandoverManagementSapProvider() override
Export the "provider" part of the Handover Management SAP interface.
MeasResults structure.
Definition nr-rrc-sap.h:723