#include <channel.h>
Inheritance diagram for simthlib::FadingChannel:
Public Types | |
enum | fix_type { FIXED, UNFIXED } |
Public Member Functions | |
FadingChannel (int id, simth::DeviceSystemIntf *s, const simth::PropertyList &pl, fix_type fix=UNFIXED) | |
virtual | ~FadingChannel () |
destructor | |
int | IsFixed () const |
returns 1 if the transfer factors are fixed | |
virtual void | refresh () |
determines new random transfer factors | |
virtual void | getTransfer (int relative_time, simth::FreqSignal &trans) const |
void | transmit (const simth::TimeSignal &sym, simth::TimeSignal *outsym) |
transmits a symbol sequence over the channel | |
virtual void | startOfSimulation () |
virtual void | print (std::ostream &os) const |
Protected Attributes | |
fix_type | fixed |
flag for fixed or random channel | |
double | sigma |
scale factor sigma of rayleigh distribution | |
simth::RayleighRng * | ray |
pointer to a Rayleigh distributed random variable | |
simth::Array< simth::Complex > | transfer |
transfer function | |
Related Functions | |
(Note that these are not member functions.) | |
propertylist_FadingChannel (not_a_function) |
|
Flag for fixed or random channel. This is to be used for the Rayleigh fading channel only. |
|
Class constructor. |
|
destructor
|
|
Returns the channel transfer factors. This could be used for an ideal channel estimation. The result is written into the given simth::FreqSignal trans.
Implements simthlib::Channel. |
|
returns 1 if the transfer factors are fixed
|
|
Reimplemented from simthlib::Channel. |
|
determines new random transfer factors
Reimplemented from simth::Device. Reimplemented in simthlib::CmplFadingChannel. |
|
Called by the simulation system at the beginning of each simulation run. Reimplemented from simthlib::Channel. |
|
transmits a symbol sequence over the channel
Implements simthlib::Channel. |
|
These are the properties of class FadingChannel . This list is auto-generated from the XML-Devicelist of this device by means of an XSLT transformation script. Description of this device in the XML file: Channel with Rayleigh Fading in the amplitude, but zero phase rotation. Note that this class also has the Properties of its base classes. The direct base class is simthlib::Channel ; direct link to its propertylist should be propertylist_Channel(). The list below usually includes the properties that have been inherited from the base classes; the properties which belong only to this class can be found at the end of this list.
|
|
flag for fixed or random channel
|
|
pointer to a Rayleigh distributed random variable
|
|
scale factor sigma of rayleigh distribution
|
|
transfer function
|