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

 PropagationLossModel ()
virtual ~PropagationLossModel ()
void SetNext (Ptr< PropagationLossModel > next)
double CalcRxPower (double txPowerDbm, Ptr< MobilityModel > a, Ptr< MobilityModel > b) const

Static Public Member Functions

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

Private Member Functions

 PropagationLossModel (const PropagationLossModel &o)
PropagationLossModeloperator= (const PropagationLossModel &o)
virtual double DoCalcRxPower (double txPowerDbm, Ptr< MobilityModel > a, Ptr< MobilityModel > b) const =0

Private Attributes

Ptr< PropagationLossModelm_next

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.

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


Constructor & Destructor Documentation

ns3::PropagationLossModel::PropagationLossModel (  ) 

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

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

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

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

Member Function Documentation

double ns3::PropagationLossModel::CalcRxPower ( double  txPowerDbm,
Ptr< MobilityModel a,
Ptr< MobilityModel b 
) const
Parameters:
txPowerDbm current transmission power (in dBm)
a the mobility model of the source
b the mobility model of the destination
Returns:
the reception power after adding/multiplying propagation loss (in dBm)

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

References DoCalcRxPower(), and m_next.

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

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

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

Reimplemented from ns3::Object.

Reimplemented in ns3::JakesPropagationLossModel, ns3::RandomPropagationLossModel, ns3::FriisPropagationLossModel, ns3::LogDistancePropagationLossModel, ns3::ThreeLogDistancePropagationLossModel, and ns3::NakagamiPropagationLossModel.

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

References ns3::TypeId::SetParent().

PropagationLossModel& ns3::PropagationLossModel::operator= ( const PropagationLossModel o  )  [private]
void ns3::PropagationLossModel::SetNext ( Ptr< PropagationLossModel next  ) 

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

References m_next.


Member Data Documentation

A pointer to the next aggregate object. This is a circular linked list of aggregated objects: the last one points back to the first one. If an object is not aggregated to any other object, the value of this field is equal to the value of the 'this' pointer.

Reimplemented from ns3::Object.

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

Referenced by CalcRxPower(), and SetNext().


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