a Composite propagation loss model More...
#include <composite-propagation-loss-model.h>
Public Member Functions | |
virtual double | GetLoss (Ptr< MobilityModel > a, Ptr< MobilityModel > b) const |
void | AddPropagationLossModel (Ptr< PropagationLossModel > pl) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::CompositePropagationLossModel. |
a Composite propagation loss model
This model is use to compute the receivng power using more than one propagation loss model (e.g. distance loss and jakes).
The received power is computed considering the cascade of the models
void ns3::CompositePropagationLossModel::AddPropagationLossModel | ( | Ptr< PropagationLossModel > | pl | ) |
pl | the propagation loss model to add |
Insert a propagation loss model to the composite.
virtual double ns3::CompositePropagationLossModel::GetLoss | ( | Ptr< MobilityModel > | a, | |
Ptr< MobilityModel > | b | |||
) | const [virtual] |
a | the mobility model of the source | |
b | the mobility model of the destination |
Implements ns3::PropagationLossModel.
static TypeId ns3::CompositePropagationLossModel::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::CompositePropagationLossModel.
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::PropagationLossModel.