ns-3
|
This class models the propagation loss model due to the path loss. More...
#include <path-loss-model.h>
Public Member Functions | |
void | SetValue (double pl) |
double | GetValue (Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::PathLossModel. |
This class models the propagation loss model due to the path loss.
TypeId ns3::PathLossModel::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::PathLossModel.
This object is accessible through the following paths with Config::Set and Config::Connect:
No Attributes defined for this type.
No TraceSources defined for this type.
Reimplemented from ns3::DiscreteTimeLossModel.
References ns3::TypeId::SetParent().
double ns3::PathLossModel::GetValue | ( | Ptr< const MobilityModel > | a, |
Ptr< const MobilityModel > | b | ||
) |
Get the value of the path loss model, expressed in dB
a | sender mobility |
b | receiver mobility |
References ns3::CalculateDistance(), NS_LOG_FUNCTION, and SetValue().
void ns3::PathLossModel::SetValue | ( | double | pl | ) |
Set the value of the path loss model, expressed in dB
pl | the path loss value |
References NS_LOG_FUNCTION.
Referenced by GetValue().