Public Member Functions | Static Public Member Functions

ns3::CompositePropagationLossModel Class Reference

a Composite propagation loss model More...

#include <composite-propagation-loss-model.h>

Inheritance diagram for ns3::CompositePropagationLossModel:
Inheritance graph
[legend]
Collaboration diagram for ns3::CompositePropagationLossModel:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

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


Member Function Documentation

void ns3::CompositePropagationLossModel::AddPropagationLossModel ( Ptr< PropagationLossModel pl  ) 
Parameters:
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]
Parameters:
a the mobility model of the source
b the mobility model of the destination
Returns:
the attenuation coefficient (dB)

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:

  • /NodeList/[i]/DeviceList/[i]/$ns3WifiNetDevice/Channel/PropagationLossModel/$ns3CompositePropagationLossModel

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::PropagationLossModel.


The documentation for this class was generated from the following files: