A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::LteGlobalPathlossDatabase Class Referenceabstract

#include <lte-global-pathloss-database.h>

+ Inheritance diagram for ns3::LteGlobalPathlossDatabase:

Public Member Functions

double GetPathloss (uint16_t cellId, uint64_t imsi)
 
void Print ()
 
virtual void UpdatePathloss (std::string context, Ptr< SpectrumPhy > txPhy, Ptr< SpectrumPhy > rxPhy, double lossDb)=0
 

Protected Attributes

std::map< uint16_t, std::map
< uint64_t, double > > 
m_pathlossMap
 

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 40 of file lte-global-pathloss-database.h.

Member Function Documentation

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 bewteen the UE and the eNB

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

References NS_LOG_FUNCTION.

Referenced by ns3::LteEnbAntennaTestCase::DoRun().

void ns3::LteGlobalPathlossDatabase::Print ( void  )

print the stored pathloss values to standard output

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

References NS_LOG_FUNCTION.

virtual void ns3::LteGlobalPathlossDatabase::UpdatePathloss ( std::string  context,
Ptr< SpectrumPhy txPhy,
Ptr< 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::UplinkLteGlobalPathlossDatabase, and ns3::DownlinkLteGlobalPathlossDatabase.


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