22#include <ns3/object.h>
29class LteAnrSapProvider;
31class LteNeighbourRelation;
78 LteAnr(uint16_t servingCellId);
Automatic Neighbour Relation function.
void DoInitialize() override
Initialize() implementation.
virtual LteAnrSapProvider * GetLteAnrSapProvider()
Export the "provider" part of the ANR SAP interface.
void DoReportUeMeas(LteRrcSap::MeasResults measResults)
Implementation of LteAnrSapProvider::ReportUeMeas.
bool DoGetNoHo(uint16_t cellId) const
Implementation of LteAnrSapProvider::GetNoHo.
LteAnrSapProvider * m_anrSapProvider
Reference to the "provider" part of the ANR SAP interface, which is automatically created when this c...
uint8_t m_measId
The expected measurement identity.
LteAnrSapUser * m_anrSapUser
Reference to the "user" part of the ANR SAP interface, which is provided by the eNodeB RRC instance.
static TypeId GetTypeId()
Get the type ID.
void RemoveNeighbourRelation(uint16_t cellId)
Remove an existing Neighbour Relation entry.
bool DoGetNoRemove(uint16_t cellId) const
Implementation of LteAnrSapProvider::GetNoRemove.
const NeighbourRelation_t * Find(uint16_t cellId) const
uint8_t m_threshold
The attribute Threshold.
LteAnr(uint16_t servingCellId)
Creates an ANR instance.
NeighbourRelationTable_t m_neighbourRelationTable
neighbor relation table
void DoAddNeighbourRelation(uint16_t cellId)
Implementation of LteAnrSapProvider::AddNeighbourRelation.
void AddNeighbourRelation(uint16_t cellId)
Provide an advance information about a related neighbouring cell and add it as a new Neighbour Relati...
uint16_t m_servingCellId
Serving cell ID.
std::map< uint16_t, NeighbourRelation_t > NeighbourRelationTable_t
cellId
bool DoGetNoX2(uint16_t cellId) const
Implementation of LteAnrSapProvider::GetNoX2.
virtual void SetLteAnrSapUser(LteAnrSapUser *s)
Set the "user" part of the ANR SAP interface that this ANR instance will interact with.
void DoDispose() override
Destructor implementation.
Service Access Point (SAP) offered by the ANR instance to the eNodeB RRC instance.
Service Access Point (SAP) offered by the eNodeB RRC instance to the ANR instance.
Template for the implementation of the LteAnrSapProvider as a member of an owner class of type C to w...
A base class which provides memory management and object aggregation.
a unique identifier for an interface.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Neighbour Relation between two eNodeBs (serving eNodeB and neighbour eNodeB).
bool detectedAsNeighbour
detected as neighbor