#include <channel.h>
Inheritance diagram for simthlib::Channel:
Public Member Functions | |
Channel (int id, simth::DeviceSystemIntf *s, const simth::PropertyList &pl, double noise=1.0) | |
virtual | ~Channel () |
double | getNoisePower () const |
virtual void | getTransfer (int relative_time, simth::FreqSignal &trans) const =0 |
virtual void | transmit (const simth::TimeSignal &sym, simth::TimeSignal *outsym)=0 |
virtual void | updateInputLengths () |
virtual void | updateOutputLengths () |
virtual void | process () |
virtual void | startOfSimulation () |
virtual void | print (std::ostream &os) const |
Channels | |
void | setNoisePower (double n=1.0) |
void | setSNR (double snr) |
Static Public Member Functions | |
static void | init (const std::string fileName, simth::Device **dev, simth::DeviceSystemIntf *sysPtr, int ID, const std::string ®ionQualifier="") |
Protected Member Functions | |
double | getGauss () const |
returns a Gaussian distributed variable | |
Related Functions | |
(Note that these are not member functions.) | |
propertylist_Channel (not_a_function) |
This could be, for example a 'pure' AWGN channel, which is only corrupted by noise, or an WSSUS channel, which is corrupted both by noise and by multipath fading.
|
Constructor.
|
|
Destructor. |
|
returns a Gaussian distributed variable
|
|
Returns the noise power. |
|
Returns the channel transfer factors. This could be used for an ideal channel estimation. The result is written into the given simth::FreqSignal trans. The frequency range is given by the number of elements of trans and its attribute deltaF().
Implemented in simthlib::IdealChannel, simthlib::AWGNChannel, simthlib::FadingChannel, and simthlib::WssusChannel. |
|
|
|
Reimplemented from simth::Device. Reimplemented in simthlib::IdealChannel, simthlib::AWGNChannel, simthlib::FadingChannel, simthlib::WssusChannel, simthlib::WssusChannelJakesUniform, and simthlib::WssusChannelDelayProfile. |
|
Implements simth::Device. |
|
Sets the noise power to 'noise'. NOTE: This is the complex-valued noise power (variance of the random variable). The real and imaginary part of the noise (each being a Gaussian) have half of that power as variance, each. |
|
Sets the signal-to-noise ratio to 'snr', while the signal power is kept constant. |
|
Reimplemented from simth::Device. Reimplemented in simthlib::FadingChannel, and simthlib::WssusChannel. |
|
Transmits a symbol sequence over the channel. Implemented in simthlib::IdealChannel, simthlib::AWGNChannel, simthlib::FadingChannel, and simthlib::WssusChannel. |
|
Implements simth::Device. |
|
Implements simth::Device. |
|
These are the properties of class Channel . 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: Base class for channel that are at least corrupted by additive white Gaussian noise (AWGN). Note that this class also has the Properties of its base classes. The direct base class is simth::Device ; direct link to its propertylist should be propertylist_Device(). 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.
|