This class is responsible of calculating the free space loss (FSL) based on two given node positions and used (center) frequency. More...
#include "satellite-free-space-loss.h"
Inheritance diagram for ns3::SatFreeSpaceLoss:
Collaboration diagram for ns3::SatFreeSpaceLoss:Public Member Functions | |
| SatFreeSpaceLoss () | |
| Default constructor. More... | |
| ~SatFreeSpaceLoss () | |
| virtual double | GetFsl (Ptr< MobilityModel > a, Ptr< MobilityModel > b, double frequencyHz) const |
| Calculate the free-space loss in linear format. More... | |
| virtual double | GetFsldB (Ptr< MobilityModel > a, Ptr< MobilityModel > b, double frequencyHz) const |
| Calculate the free-space loss in dB. More... | |
Static Public Member Functions | |
| static TypeId | GetTypeId (void) |
| Get the type ID. More... | |
This class is responsible of calculating the free space loss (FSL) based on two given node positions and used (center) frequency.
Definition at line 35 of file satellite-free-space-loss.h.
| ns3::SatFreeSpaceLoss::SatFreeSpaceLoss | ( | ) |
Default constructor.
Definition at line 49 of file satellite-free-space-loss.cc.
|
inline |
Definition at line 49 of file satellite-free-space-loss.h.
|
virtual |
Calculate the free-space loss in linear format.
| a | Mobility model of node a |
| b | Mobility model of node b |
| frequencyHz | Frequency in Hertz |
Definition at line 66 of file satellite-free-space-loss.cc.
References ns3::SatConstVariables::SPEED_OF_LIGHT.
Referenced by GetFsldB().
Here is the caller graph for this function:
|
virtual |
Calculate the free-space loss in dB.
| a | Mobility model of node a |
| b | Mobility model of node b |
| frequencyHz | Frequency in Hertz |
Definition at line 54 of file satellite-free-space-loss.cc.
References GetFsl(), and ns3::SatUtils::LinearToDb().
Referenced by SatFreeSpaceLossTestCase::DoRun().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get the type ID.
Definition at line 42 of file satellite-free-space-loss.cc.