User Manual, Developers Guide and API Documentation

rise::scenario::pathloss::Pathloss Class Reference

Base class for all pathloss models. More...

#include <scenario/pathloss/Pathloss.hpp>

Inheritance diagram for rise::scenario::pathloss::Pathloss:

Inheritance graph
[legend]
Collaboration diagram for rise::scenario::pathloss::Pathloss:

Collaboration graph
[legend]

List of all members.

Public Types

typedef wns::ArgumentFunctor
< const wns::Ratio
&, wns::Ratio
ReturnValueTransformation
 Interface for return value transformations.

Public Member Functions

wns::Ratio getPathloss (const antenna::Antenna &source, const antenna::Antenna &target, const wns::Frequency &frequency) const
 Return the pathloss between source and target at frequency.
virtual ~Pathloss ()

Protected Member Functions

virtual wns::Ratio calculatePathloss (const antenna::Antenna &source, const antenna::Antenna &target, const wns::Frequency &frequency, const wns::Distance &distance) const =0
 Pathloss calculation function for models dependent on the distance of source and target.
virtual wns::Ratio calculatePathloss (const antenna::Antenna &source, const antenna::Antenna &target, const wns::Frequency &frequency) const =0
 Pathloss calculation function for models not dependent on the distance of source and target.
 Pathloss (const ReturnValueTransformation *rvt)

Private Attributes

const ReturnValueTransformationtransform

Friends

class RangeChecked


Detailed Description

Pathloss models are expected to either derive from DistanceDependent or DistanceIndependent.

Definition at line 47 of file Pathloss.hpp.


Member Typedef Documentation

Classes deriving from pathloss must provide a return value transformation. The value calculated by the pathloss model can be further transformed. E.g. a minimal pathloss can be guaranteed, but return value transformations are of course not limited to such simple implementations.

Definition at line 61 of file Pathloss.hpp.


Constructor & Destructor Documentation

Pathloss::~Pathloss (  )  [virtual]

Definition at line 41 of file Pathloss.cpp.

Pathloss::Pathloss ( const ReturnValueTransformation rvt  )  [protected]

Definition at line 36 of file Pathloss.cpp.


Member Function Documentation

virtual wns::Ratio rise::scenario::pathloss::Pathloss::calculatePathloss ( const antenna::Antenna source,
const antenna::Antenna target,
const wns::Frequency frequency,
const wns::Distance distance 
) const [protected, pure virtual]

virtual wns::Ratio rise::scenario::pathloss::Pathloss::calculatePathloss ( const antenna::Antenna source,
const antenna::Antenna target,
const wns::Frequency frequency 
) const [protected, pure virtual]

wns::Ratio Pathloss::getPathloss ( const antenna::Antenna source,
const antenna::Antenna target,
const wns::Frequency frequency 
) const

Definition at line 46 of file Pathloss.cpp.


Friends And Related Function Documentation

friend class RangeChecked [friend]

Definition at line 49 of file Pathloss.hpp.


Member Data Documentation

Definition at line 99 of file Pathloss.hpp.


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

Generated on Sat May 26 03:32:39 2012 for openWNS by  doxygen 1.5.5