User Manual, Developers Guide and API Documentation

rise::scenario::Propagation Class Reference

Propagation matrix. More...

#include <scenario/Propagation.hpp>

Collaboration diagram for rise::scenario::Propagation:

Collaboration graph
[legend]

List of all members.

Public Types

typedef PathlossMatrix::SizeType IdType

Public Member Functions

const fastfading::FastFadinggetFastFadingModel (const IdType &transmitterId, const IdType &receiverId) const
 Return model for (transmitterid, receiverId).
std::string getName (const IdType &id) const
const pathloss::PathlossgetPathlossModel (const IdType &transmitterId, const IdType &receiverId) const
 Return model for (transmitterid, receiverId).
const shadowing::ShadowinggetShadowingModel (const IdType &transmitterId, const IdType &receiverId) const
 Return model for (transmitterid, receiverId).
 Propagation (const wns::pyconfig::View &config)
virtual ~Propagation ()

Static Public Member Functions

template<class C>
static Ccreate (const wns::pyconfig::View &config)
 Create a propagation model using a StaticFactoryBroker.

Private Types

typedef wns::container::Matrix
< fastfading::FastFading *, 2 > 
FastFadingMatrix
typedef wns::container::Matrix
< pathloss::Pathloss *, 2 > 
PathlossMatrix
typedef wns::container::Matrix
< shadowing::Shadowing *, 2 > 
ShadowingMatrix

Static Private Member Functions

template<class C>
static
wns::StaticFactoryBroker< C,
wns::PyConfigViewCreator< C > > & 
getBroker ()

Private Attributes

const wns::pyconfig::View config
FastFadingMatrix fastFadingMatrix
PathlossMatrix pathlossMatrix
ShadowingMatrix shadowingMatrix

Classes

class  NoModelError
 Thrown, if a model for a not configured pair was requested. More...


Detailed Description

This class holds matrices containing the configured propagation models for each propagation characteristic pair.

Definition at line 52 of file Propagation.hpp.


Member Typedef Documentation

Definition at line 56 of file Propagation.hpp.

Definition at line 59 of file Propagation.hpp.

Definition at line 54 of file Propagation.hpp.

Definition at line 55 of file Propagation.hpp.


Constructor & Destructor Documentation

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

Definition at line 43 of file Propagation.cpp.

Propagation::~Propagation (  )  [virtual]

Definition at line 67 of file Propagation.cpp.


Member Function Documentation

template<class C>
static C* rise::scenario::Propagation::create ( const wns::pyconfig::View config  )  [inline, static]

Definition at line 109 of file Propagation.hpp.

template<class C>
static wns::StaticFactoryBroker<C, wns::PyConfigViewCreator<C> >& rise::scenario::Propagation::getBroker (  )  [inline, static, private]

Definition at line 127 of file Propagation.hpp.

const fastfading::FastFading & Propagation::getFastFadingModel ( const IdType transmitterId,
const IdType receiverId 
) const

Throws NoModelError, if no model was configured.

Definition at line 90 of file Propagation.cpp.

std::string Propagation::getName ( const IdType id  )  const

Definition at line 99 of file Propagation.cpp.

const pathloss::Pathloss & Propagation::getPathlossModel ( const IdType transmitterId,
const IdType receiverId 
) const

Throws NoModelError, if no model was configured.

Definition at line 72 of file Propagation.cpp.

const shadowing::Shadowing & Propagation::getShadowingModel ( const IdType transmitterId,
const IdType receiverId 
) const

Throws NoModelError, if no model was configured.

Definition at line 81 of file Propagation.cpp.


Member Data Documentation

Definition at line 123 of file Propagation.hpp.

Definition at line 121 of file Propagation.hpp.

Definition at line 119 of file Propagation.hpp.

Definition at line 120 of file Propagation.hpp.


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

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