#include <fading.hpp>
Inheritance diagram for Fading:

| 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. | |
Definition at line 19 of file fading.hpp.
| virtual double Fading::fadingFactor | ( | const WirelessCommSignal & | signal, | |
| const NodeId & | nodeId | |||
| ) |  [pure virtual] | 
Compute the fading factor for the signal.
| signal | the signal being transmitted. | |
| nodeId | the ID of the receiver for which fading is being calculated. | 
Implemented in Ricean.
 1.4.7
 1.4.7