A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DownlinkGlobalPathlossDatabase Class Reference
+ Inheritance diagram for DownlinkGlobalPathlossDatabase:
+ Collaboration diagram for DownlinkGlobalPathlossDatabase:

Public Member Functions

virtual void UpdatePathloss (std::string context, Ptr< SpectrumPhy > txPhy, Ptr< SpectrumPhy > rxPhy, double lossDb)
- Public Member Functions inherited from GlobalPathlossDatabase
void Print ()
void Print ()

Additional Inherited Members

- Protected Attributes inherited from GlobalPathlossDatabase
std::map< uint16_t, std::map
< uint64_t, double > > 
m_pathlossMap

Detailed Description

Definition at line 90 of file lena-pathloss-traces.cc.

Member Function Documentation

void DownlinkGlobalPathlossDatabase::UpdatePathloss ( std::string  context,
Ptr< SpectrumPhy txPhy,
Ptr< SpectrumPhy rxPhy,
double  lossDb 
)
virtual

update the pathloss value

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

Implements GlobalPathlossDatabase.

Definition at line 98 of file lena-pathloss-traces.cc.

References ns3::SpectrumPhy::GetDevice(), ns3::Object::GetObject(), and NS_LOG_FUNCTION.

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


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