Public Member Functions | Static Public Member Functions

ns3::RandomPropagationLossModel Class Reference

The propagation loss is random. More...

#include <propagation-loss-model.h>

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

List of all members.

Public Member Functions

virtual double GetLoss (Ptr< MobilityModel > a, Ptr< MobilityModel > b) const

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::RandomPropagationLossModel.

Detailed Description

The propagation loss is random.


Member Function Documentation

virtual double ns3::RandomPropagationLossModel::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::RandomPropagationLossModel::GetTypeId ( void   )  [static]

This method returns the TypeId associated to ns3::RandomPropagationLossModel.

This object is accessible through the following paths with Config::Set and Config::Connect:

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

Attributes defined for this type:

  • Variable: The random variable used to pick a loss everytime GetLoss is invoked.

No TraceSources defined for this type.

Reimplemented from ns3::PropagationLossModel.


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