Inheritance diagram for GlobalPathlossDatabase:
Collaboration diagram for GlobalPathlossDatabase:Public Member Functions | |
| void | Print () |
| void | Print () |
| virtual void | UpdatePathloss (std::string context, Ptr< SpectrumPhy > txPhy, Ptr< SpectrumPhy > rxPhy, double lossDb)=0 |
| void | UpdatePathloss (std::string context, Ptr< SpectrumPhy > txPhy, Ptr< SpectrumPhy > rxPhy, double lossDb) |
Protected Attributes | |
| std::map< uint16_t, std::map < uint64_t, double > > | m_pathlossMap |
Private Attributes | |
| std::map< uint32_t, std::map < uint32_t, double > > | m_pathlossMap |
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 47 of file lena-pathloss-traces.cc.
| void GlobalPathlossDatabase::Print | ( | void | ) |
print the stored pathloss values to standard output
Definition at line 74 of file lena-pathloss-traces.cc.
References NS_LOG_FUNCTION.
Referenced by main().
Here is the caller graph for this function:| void GlobalPathlossDatabase::Print | ( | ) |
print the stored pathloss values to standard output
|
pure virtual |
update the pathloss value
| context | |
| txPhy | the transmitting PHY |
| rxPhy | the receiving PHY |
| lossDb | the loss in dB |
Implemented in UplinkGlobalPathlossDatabase, and DownlinkGlobalPathlossDatabase.
Definition at line 97 of file adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc.
References ns3::SpectrumPhy::GetMobility(), and ns3::Object::GetObject().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void GlobalPathlossDatabase::UpdatePathloss | ( | std::string | context, |
| Ptr< SpectrumPhy > | txPhy, | ||
| Ptr< SpectrumPhy > | rxPhy, | ||
| double | lossDb | ||
| ) |
update the pathloss value
| context | |
| txPhy | the transmitting PHY |
| rxPhy | the receiving PHY |
| lossDb | the loss in dB |
Reimplemented in UplinkGlobalPathlossDatabase, and DownlinkGlobalPathlossDatabase.
|
protected |
Definition at line 70 of file lena-pathloss-traces.cc.
|
private |
Definition at line 93 of file adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc.