A Discrete-Event Network Simulator
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
15#include "lte-rrc-sap.h"
16
17namespace 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 */
30{
31 public:
32 /// Creates a No-op handover algorithm instance.
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
46
47 /// let the forwarder class access the protected and private members
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.
61 /// Receive API calls from the eNodeB RRC instance.
63
64}; // end of class NoOpHandoverAlgorithm
65
66} // end of namespace ns3
67
68#endif /* NO_OP_HANDOVER_ALGORITHM_H */
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.
Template for the implementation of the LteHandoverManagementSapProvider as a member of an owner class...
Handover algorithm implementation which simply does nothing.
static TypeId GetTypeId()
Get the type ID.
void DoReportUeMeas(uint16_t rnti, LteRrcSap::MeasResults measResults) override
Implementation of LteHandoverManagementSapProvider::ReportUeMeas.
void DoInitialize() override
Initialize() implementation.
void DoDispose() override
Destructor implementation.
LteHandoverManagementSapProvider * m_handoverManagementSapProvider
Receive API calls from the eNodeB RRC instance.
NoOpHandoverAlgorithm()
Creates a No-op handover algorithm instance.
LteHandoverManagementSapProvider * GetLteHandoverManagementSapProvider() override
Export the "provider" part of the Handover Management SAP interface.
LteHandoverManagementSapUser * m_handoverManagementSapUser
Interface to the eNodeB RRC instance.
void SetLteHandoverManagementSapUser(LteHandoverManagementSapUser *s) override
Set the "user" part of the Handover Management SAP interface that this handover algorithm instance wi...
a unique identifier for an interface.
Definition type-id.h:48
Every class exported by the ns3 library is enclosed in the ns3 namespace.
MeasResults structure.