ns3::RandomPropagationLossModel Class Reference

The propagation loss follows a random distribution. 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

 RandomPropagationLossModel ()
virtual ~RandomPropagationLossModel ()

Static Public Member Functions

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

Private Member Functions

 RandomPropagationLossModel (const RandomPropagationLossModel &o)
RandomPropagationLossModeloperator= (const RandomPropagationLossModel &o)
virtual double DoCalcRxPower (double txPowerDbm, Ptr< MobilityModel > a, Ptr< MobilityModel > b) const

Private Attributes

RandomVariable m_variable

Detailed Description

The propagation loss follows a random distribution.

Definition at line 70 of file propagation-loss-model.h.


Constructor & Destructor Documentation

ns3::RandomPropagationLossModel::RandomPropagationLossModel (  ) 

Definition at line 90 of file propagation-loss-model.cc.

ns3::RandomPropagationLossModel::~RandomPropagationLossModel (  )  [virtual]

Definition at line 94 of file propagation-loss-model.cc.

ns3::RandomPropagationLossModel::RandomPropagationLossModel ( const RandomPropagationLossModel o  )  [private]

Member Function Documentation

double ns3::RandomPropagationLossModel::DoCalcRxPower ( double  txPowerDbm,
Ptr< MobilityModel a,
Ptr< MobilityModel b 
) const [private, virtual]
TypeId ns3::RandomPropagationLossModel::GetTypeId ( void   )  [static]

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

Attributes defined for this type:

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

No TraceSources defined for this type.

Reimplemented from ns3::PropagationLossModel.

Definition at line 78 of file propagation-loss-model.cc.

References ns3::TypeId::AddAttribute(), m_variable, and ns3::TypeId::SetParent().

RandomPropagationLossModel& ns3::RandomPropagationLossModel::operator= ( const RandomPropagationLossModel o  )  [private]

Member Data Documentation

Definition at line 84 of file propagation-loss-model.h.

Referenced by DoCalcRxPower(), and GetTypeId().


The documentation for this class was generated from the following files:
Generated on Thu Dec 3 14:11:20 2009 for NS-3 by  doxygen 1.6.3