The propagation loss follows a random distribution. More...
#include <propagation-loss-model.h>
Public Member Functions | |
RandomPropagationLossModel () | |
virtual | ~RandomPropagationLossModel () |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::RandomPropagationLossModel. | |
Private Member Functions | |
RandomPropagationLossModel (const RandomPropagationLossModel &o) | |
RandomPropagationLossModel & | operator= (const RandomPropagationLossModel &o) |
virtual double | DoCalcRxPower (double txPowerDbm, Ptr< MobilityModel > a, Ptr< MobilityModel > b) const |
Private Attributes | |
RandomVariable | m_variable |
The propagation loss follows a random distribution.
Definition at line 70 of file propagation-loss-model.h.
ns3::RandomPropagationLossModel::RandomPropagationLossModel | ( | ) |
Definition at line 90 of file propagation-loss-model.cc.
ns3::RandomPropagationLossModel::~RandomPropagationLossModel | ( | ) | [virtual] |
Definition at line 94 of file propagation-loss-model.cc.
ns3::RandomPropagationLossModel::RandomPropagationLossModel | ( | const RandomPropagationLossModel & | o | ) | [private] |
double ns3::RandomPropagationLossModel::DoCalcRxPower | ( | double | txPowerDbm, | |
Ptr< MobilityModel > | a, | |||
Ptr< MobilityModel > | b | |||
) | const [private, virtual] |
Implements ns3::PropagationLossModel.
Definition at line 98 of file propagation-loss-model.cc.
References ns3::RandomVariable::GetValue(), m_variable, and NS_LOG_DEBUG.
TypeId ns3::RandomPropagationLossModel::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::RandomPropagationLossModel.
Attributes defined for this type:
No TraceSources defined for this type.
Reimplemented from ns3::PropagationLossModel.
Definition at line 78 of file propagation-loss-model.cc.
References ns3::TypeId::AddAttribute(), m_variable, and ns3::TypeId::SetParent().
RandomPropagationLossModel& ns3::RandomPropagationLossModel::operator= | ( | const RandomPropagationLossModel & | o | ) | [private] |
Definition at line 84 of file propagation-loss-model.h.
Referenced by DoCalcRxPower(), and GetTypeId().