Public Member Functions | Protected Attributes

SimplePathlossConstMapping Class Reference
[analogueModels - AnalogueModel implementationsmapping - classes representing mathematical mappings]

Mapping that represents a Pathloss-function. More...

#include <SimplePathlossModel.h>

Inherits SimpleConstMapping.

Collaboration diagram for SimplePathlossConstMapping:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SimplePathlossConstMapping (const DimensionSet &dimensions, SimplePathlossModel *model, const double distFactor)
 initializes the PathlossMapping for the passed dimensions, its model and the distance factor for the signal to attenuate.
virtual double getValue (const Argument &pos) const
 Calculates attenuation from the distance factor and the current positions frequency (or the models carrier frequency if we are using using signals without frequency domain.
ConstMappingconstClone () const
 creates a clone of this mapping. This method has to be implemented by every subclass. But most time the implementation will look like the implementation of this method (except of the class name).

Protected Attributes

const double distFactor
 The factor dependent on the distance of the transmission.
SimplePathlossModelmodel
 Pointer to the model.
bool hasFrequency
 Is the Signal to attenuate defined over frequency?

Detailed Description

Mapping that represents a Pathloss-function.

SimplePathlossConstMapping is subclassed from SimpleConstMapping for convenience. In this simple pathloss implementation, we assume one attenuation value being constant over the signals duration.

Definition at line 23 of file SimplePathlossModel.h.


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