Store the last pathloss value for each TX-RX pair for downlink. More...
#include "lte-global-pathloss-database.h"
Public Member Functions | |
void | UpdatePathloss (std::string context, Ptr< const SpectrumPhy > txPhy, Ptr< const SpectrumPhy > rxPhy, double lossDb) override |
update the pathloss value | |
Public Member Functions inherited from ns3::LteGlobalPathlossDatabase | |
virtual | ~LteGlobalPathlossDatabase () |
double | GetPathloss (uint16_t cellId, uint64_t imsi) |
void | Print () |
print the stored pathloss values to standard output | |
Additional Inherited Members | |
Protected Attributes inherited from ns3::LteGlobalPathlossDatabase | |
std::map< uint16_t, std::map< uint64_t, double > > | m_pathlossMap |
List of the last pathloss value for each UE by CellId. | |
Store the last pathloss value for each TX-RX pair for downlink.
Definition at line 77 of file lte-global-pathloss-database.h.
|
overridevirtual |
update the pathloss value
context | |
txPhy | the transmitting PHY |
rxPhy | the receiving PHY |
lossDb | the loss in dB |
Implements ns3::LteGlobalPathlossDatabase.
Definition at line 58 of file lte-global-pathloss-database.cc.
References ns3::LteGlobalPathlossDatabase::m_pathlossMap, and NS_LOG_FUNCTION.
Referenced by LteEnbAntennaTestCase::DoRun().