#include <propagation-loss-model.h>
Public Member Functions | |
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. | |
Private Attributes | |
Ptr< PropagationLossModel > | m_next |
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.
A pointer to the next aggregate object. This is a circular linked list of aggregated objects: the last one points back to the first one. If an object is not aggregated to any other object, the value of this field is equal to the value of the 'this' pointer.
Reimplemented from ns3::Object.