Modelize the propagation loss through a transmission medium. More...
#include <propagation-loss-model.h>
Public Member Functions | |
void | SetNext (Ptr< PropagationLossModel > next) |
double | CalcRxPower (double txPowerDbm, Ptr< MobilityModel > a, Ptr< MobilityModel > b) const |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::PropagationLossModel. |
Modelize the propagation loss through a transmission medium.
Calculate the receive power (dbm) from a transmit power (dbm) and a mobility model for the source and destination positions.
double ns3::PropagationLossModel::CalcRxPower | ( | double | txPowerDbm, | |
Ptr< MobilityModel > | a, | |||
Ptr< MobilityModel > | b | |||
) | const |
txPowerDbm | current transmission power (in dBm) | |
a | the mobility model of the source | |
b | the mobility model of the destination |
static TypeId ns3::PropagationLossModel::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::PropagationLossModel.
No Attributes defined for this type.
No TraceSources defined for this type.
Reimplemented from ns3::Object.
Reimplemented in ns3::JakesPropagationLossModel, ns3::RandomPropagationLossModel, ns3::FriisPropagationLossModel, ns3::LogDistancePropagationLossModel, ns3::ThreeLogDistancePropagationLossModel, ns3::NakagamiPropagationLossModel, and ns3::FixedRssLossModel.