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


Protected Member Functions | |
| void | addRange (const FrequencyRange &frequencies, const bool &allowed=true) |
| Add a frequency range to allow or disallow. | |
| void | addRange (const DistanceRange &distances, const Pathloss *model) |
| Add a pathloss model for a distance range. | |
| virtual wns::Ratio | calculatePathloss (const antenna::Antenna &source, const antenna::Antenna &target, const wns::Frequency &frequency) const |
| Pathloss calculation function for models not dependent on the distance of source and target. | |
| const Pathloss * | getModel (const wns::Distance &distance) const |
| return model that's valid at a certain distance | |
| bool | knowsDistance (const wns::Distance &distance) const |
| Check, if a model for distance was set up. | |
| bool | knowsFrequency (const wns::Frequency &frequency) const |
| Check, if a frequency was allowed or disallowed. | |
| RangeChecked (const wns::pyconfig::View &config) | |
Private Types | |
| typedef wns::container::RangeMap < wns::Distance, const Pathloss * > | DistanceMap |
| typedef wns::container::RangeMap < wns::Frequency, bool > | FrequencyMap |
Private Attributes | |
| DistanceMap | distanceMap |
| FrequencyMap | frequencyMap |
Definition at line 46 of file RangeChecked.hpp.
typedef wns::container::RangeMap<wns::Distance, const Pathloss*> rise::scenario::pathloss::RangeChecked::DistanceMap [private] |
Definition at line 81 of file RangeChecked.hpp.
typedef wns::container::RangeMap<wns::Frequency, bool> rise::scenario::pathloss::RangeChecked::FrequencyMap [private] |
Definition at line 80 of file RangeChecked.hpp.
| RangeChecked::RangeChecked | ( | const wns::pyconfig::View & | config | ) | [protected] |
Definition at line 37 of file RangeChecked.cpp.
| void RangeChecked::addRange | ( | const FrequencyRange & | frequencies, | |
| const bool & | allowed = true | |||
| ) | [protected] |
Definition at line 46 of file RangeChecked.cpp.
| void RangeChecked::addRange | ( | const DistanceRange & | distances, | |
| const Pathloss * | model | |||
| ) | [protected] |
Definition at line 41 of file RangeChecked.cpp.
| wns::Ratio RangeChecked::calculatePathloss | ( | const antenna::Antenna & | source, | |
| const antenna::Antenna & | target, | |||
| const wns::Frequency & | frequency | |||
| ) | const [protected, virtual] |
For models dependent on the distance DistanceDepedent will provide an implementation of this method.
Reimplemented from rise::scenario::pathloss::DistanceDependent.
Reimplemented in rise::scenario::pathloss::MultiModel.
Definition at line 66 of file RangeChecked.cpp.
| const Pathloss * RangeChecked::getModel | ( | const wns::Distance & | distance | ) | const [protected] |
Definition at line 61 of file RangeChecked.cpp.
| bool RangeChecked::knowsDistance | ( | const wns::Distance & | distance | ) | const [protected] |
Definition at line 51 of file RangeChecked.cpp.
| bool RangeChecked::knowsFrequency | ( | const wns::Frequency & | frequency | ) | const [protected] |
Definition at line 56 of file RangeChecked.cpp.
Definition at line 83 of file RangeChecked.hpp.
Definition at line 82 of file RangeChecked.hpp.
1.5.5