![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <scenario/pathloss/Pathloss.hpp>


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 ReturnValueTransformation * | transform |
Friends | |
| class | RangeChecked |
Definition at line 47 of file Pathloss.hpp.
| typedef wns::ArgumentFunctor<const wns::Ratio&, wns::Ratio> rise::scenario::pathloss::Pathloss::ReturnValueTransformation |
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.
| 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.
| 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] |
For models not dependent on the distance DistanceIndependent will provide an implementation of this method.
Implemented in rise::scenario::pathloss::DistanceIndependent, rise::scenario::pathloss::ITUPathloss, rise::scenario::pathloss::ITUSMa, rise::scenario::pathloss::ITUUMi, rise::scenario::pathloss::MultiModel, rise::scenario::pathloss::MultiSlope, rise::scenario::pathloss::OneSlope< FreqAttFormula, DistAttFormula >, rise::scenario::pathloss::PathlossChooser, rise::scenario::pathloss::PyFunction, rise::scenario::pathloss::OneSlope< rise::scenario::pathloss::DefaultFreqAttFormula, rise::scenario::pathloss::Umts3003DistAttFormula >, and rise::scenario::pathloss::OneSlope< rise::scenario::pathloss::NoHeightFreqAttFormula, rise::scenario::pathloss::NoHeightDistAttFormula >.
| virtual wns::Ratio rise::scenario::pathloss::Pathloss::calculatePathloss | ( | const antenna::Antenna & | source, | |
| const antenna::Antenna & | target, | |||
| const wns::Frequency & | frequency | |||
| ) | const [protected, pure virtual] |
For models dependent on the distance DistanceDepedent will provide an implementation of this method.
Implemented in rise::scenario::pathloss::Constant, rise::scenario::pathloss::Deny, rise::scenario::pathloss::DistanceDependent, rise::scenario::pathloss::Map, rise::scenario::pathloss::MultiModel, and rise::scenario::pathloss::RangeChecked.
| 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.
friend class RangeChecked [friend] |
Definition at line 49 of file Pathloss.hpp.
const ReturnValueTransformation* rise::scenario::pathloss::Pathloss::transform [private] |
Definition at line 99 of file Pathloss.hpp.
1.5.5