Public Member Functions | Static Public Member Functions

ns3::PropagationLossModel Class Reference

Modelize the propagation loss through a transmission medium. More...

#include <propagation-loss-model.h>

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

List of all members.

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

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.


Member Function Documentation

virtual double ns3::PropagationLossModel::GetLoss ( Ptr< MobilityModel a,
Ptr< MobilityModel b 
) const [pure virtual]
Parameters:
a the mobility model of the source
b the mobility model of the destination
Returns:
the attenuation coefficient (dB)

Implemented in ns3::CompositePropagationLossModel, ns3::JakesPropagationLossModel, ns3::RandomPropagationLossModel, ns3::FriisPropagationLossModel, and ns3::LogDistancePropagationLossModel.

static TypeId ns3::PropagationLossModel::GetTypeId ( void   )  [static]

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

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

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

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

Reimplemented from ns3::Object.

Reimplemented in ns3::CompositePropagationLossModel, ns3::JakesPropagationLossModel, ns3::RandomPropagationLossModel, ns3::FriisPropagationLossModel, and ns3::LogDistancePropagationLossModel.


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