Fading Class Reference

This computes the fading for a given signal at a receiver. More...

#include <fading.hpp>

Inheritance diagram for Fading:

Ricean Rayleigh List of all members.

Public Types

typedef boost::shared_ptr<
Fading
FadingPtr
 Smart pointer that clients should use.

Public Member Functions

virtual ~Fading ()
 A destructor.
virtual double fadingFactor (const WirelessCommSignal &signal, const NodeId &nodeId)=0
 Compute the fading factor for the signal.

Protected Member Functions

 Fading ()
 A constructor.
 Fading (const Fading &rhs)
 A copy constructor.

Protected Attributes

map< NodeId, int > m_nodeOffset
 To avoid a global correlation in fading, we need a randomly choosen offset for each receiver.

Detailed Description

This computes the fading for a given signal at a receiver.

Definition at line 19 of file fading.hpp.


Member Function Documentation

virtual double Fading::fadingFactor ( const WirelessCommSignal signal,
const NodeId nodeId 
) [pure virtual]

Compute the fading factor for the signal.

Parameters:
signal the signal being transmitted.
nodeId the ID of the receiver for which fading is being calculated.
Returns:
the fading factor.

Implemented in Ricean.


The documentation for this class was generated from the following files:
Generated on Tue Dec 12 17:04:40 2006 for rfidsim by  doxygen 1.4.7