Modelize the propagation loss through a transmission medium. More...
#include <propagation-loss-model.h>
Public Member Functions | |
PropagationLossModel () | |
virtual | ~PropagationLossModel () |
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. | |
Private Member Functions | |
PropagationLossModel (const PropagationLossModel &o) | |
PropagationLossModel & | operator= (const PropagationLossModel &o) |
virtual double | DoCalcRxPower (double txPowerDbm, Ptr< MobilityModel > a, Ptr< MobilityModel > b) const =0 |
Private Attributes | |
Ptr< PropagationLossModel > | m_next |
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.
Definition at line 38 of file propagation-loss-model.h.
ns3::PropagationLossModel::PropagationLossModel | ( | ) |
Definition at line 47 of file propagation-loss-model.cc.
ns3::PropagationLossModel::~PropagationLossModel | ( | ) | [virtual] |
Definition at line 51 of file propagation-loss-model.cc.
ns3::PropagationLossModel::PropagationLossModel | ( | const PropagationLossModel & | o | ) | [private] |
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 |
Definition at line 61 of file propagation-loss-model.cc.
References DoCalcRxPower(), and m_next.
virtual double ns3::PropagationLossModel::DoCalcRxPower | ( | double | txPowerDbm, | |
Ptr< MobilityModel > | a, | |||
Ptr< MobilityModel > | b | |||
) | const [private, pure virtual] |
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, and ns3::NakagamiPropagationLossModel.
Definition at line 39 of file propagation-loss-model.cc.
References ns3::TypeId::SetParent().
PropagationLossModel& ns3::PropagationLossModel::operator= | ( | const PropagationLossModel & | o | ) | [private] |
void ns3::PropagationLossModel::SetNext | ( | Ptr< PropagationLossModel > | next | ) |
Definition at line 55 of file propagation-loss-model.cc.
References m_next.
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.
Definition at line 64 of file propagation-loss-model.h.
Referenced by CalcRxPower(), and SetNext().