A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::LteGlobalPathlossDatabase Class Referenceabstract

Store the last pathloss value for each TX-RX pair. More...

#include "lte-global-pathloss-database.h"

+ Inheritance diagram for ns3::LteGlobalPathlossDatabase:
+ Collaboration diagram for ns3::LteGlobalPathlossDatabase:

Public Member Functions

virtual ~LteGlobalPathlossDatabase ()
 
double GetPathloss (uint16_t cellId, uint64_t imsi)
 
void Print ()
 print the stored pathloss values to standard output
 
virtual void UpdatePathloss (std::string context, Ptr< const SpectrumPhy > txPhy, Ptr< const SpectrumPhy > rxPhy, double lossDb)=0
 update the pathloss value
 

Protected Attributes

std::map< uint16_t, std::map< uint64_t, double > > m_pathlossMap
 List of the last pathloss value for each UE by CellId.
 

Detailed Description

Store the last pathloss value for each TX-RX pair.

This is an example of how the PathlossTrace (provided by some SpectrumChannel implementations) work.

Definition at line 31 of file lte-global-pathloss-database.h.

Constructor & Destructor Documentation

◆ ~LteGlobalPathlossDatabase()

ns3::LteGlobalPathlossDatabase::~LteGlobalPathlossDatabase ( )
virtual

Definition at line 22 of file lte-global-pathloss-database.cc.

Member Function Documentation

◆ GetPathloss()

double ns3::LteGlobalPathlossDatabase::GetPathloss ( uint16_t cellId,
uint64_t imsi )
Parameters
cellIdthe id of the eNB
imsithe id of the UE
Returns
the pathloss value between the UE and the eNB

Definition at line 41 of file lte-global-pathloss-database.cc.

References m_pathlossMap, and NS_LOG_FUNCTION.

Referenced by LteEnbAntennaTestCase::DoRun().

+ Here is the caller graph for this function:

◆ Print()

void ns3::LteGlobalPathlossDatabase::Print ( )

print the stored pathloss values to standard output

Definition at line 27 of file lte-global-pathloss-database.cc.

References m_pathlossMap, and NS_LOG_FUNCTION.

◆ UpdatePathloss()

virtual void ns3::LteGlobalPathlossDatabase::UpdatePathloss ( std::string context,
Ptr< const SpectrumPhy > txPhy,
Ptr< const SpectrumPhy > rxPhy,
double lossDb )
pure virtual

update the pathloss value

Parameters
context
txPhythe transmitting PHY
rxPhythe receiving PHY
lossDbthe loss in dB

Implemented in ns3::DownlinkLteGlobalPathlossDatabase, and ns3::UplinkLteGlobalPathlossDatabase.

Member Data Documentation

◆ m_pathlossMap

std::map<uint16_t, std::map<uint64_t, double> > ns3::LteGlobalPathlossDatabase::m_pathlossMap
protected

List of the last pathloss value for each UE by CellId.

( CELL ID, ( IMSI,PATHLOSS ))

Definition at line 70 of file lte-global-pathloss-database.h.

Referenced by GetPathloss(), Print(), ns3::DownlinkLteGlobalPathlossDatabase::UpdatePathloss(), and ns3::UplinkLteGlobalPathlossDatabase::UpdatePathloss().


The documentation for this class was generated from the following files: