User Manual, Developers Guide and API Documentation

rise::scenario::pathloss::PathlossChooser Class Reference

This function chooses between NLoS or LoS scenario based on the LoS probability.

#include <scenario/pathloss/PathlossChooser.hpp>

Inheritance diagram for rise::scenario::pathloss::PathlossChooser:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

bool Distribution (const wns::Distance &distance) const
 PathlossChooser (const wns::pyconfig::View &config)

Public Attributes

std::string plModelName

Protected Member Functions

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

Private Attributes

wns::distribution::UniformdecisionDistribution
wns::logger::Logger logger
wns::probe::bus::ContextCollector losDecision
wns::probe::bus::ContextCollector losProbability
bool notYetDecided
bool pathLossModelLos
PathlossplLOS
PathlossplNLOS
double usedDistance


Detailed Description

Definition at line 52 of file PathlossChooser.hpp.


Constructor & Destructor Documentation

PathlossChooser::PathlossChooser ( const wns::pyconfig::View config  ) 

Definition at line 46 of file PathlossChooser.cpp.


Member Function Documentation

wns::Ratio PathlossChooser::calculatePathloss ( const antenna::Antenna source,
const antenna::Antenna target,
const wns::Frequency frequency,
const wns::Distance distance 
) const [protected, virtual]

For models not dependent on the distance DistanceIndependent will provide an implementation of this method.

Implements rise::scenario::pathloss::Pathloss.

Definition at line 61 of file PathlossChooser.cpp.

bool PathlossChooser::Distribution ( const wns::Distance distance  )  const

Definition at line 96 of file PathlossChooser.cpp.


Member Data Documentation

Definition at line 69 of file PathlossChooser.hpp.

Definition at line 68 of file PathlossChooser.hpp.

Definition at line 76 of file PathlossChooser.hpp.

Definition at line 75 of file PathlossChooser.hpp.

Definition at line 73 of file PathlossChooser.hpp.

Definition at line 72 of file PathlossChooser.hpp.

Definition at line 70 of file PathlossChooser.hpp.

Definition at line 56 of file PathlossChooser.hpp.

Definition at line 71 of file PathlossChooser.hpp.

Definition at line 74 of file PathlossChooser.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