#include <noisegenerator.h>
Inheritance diagram for simthlib::NoiseGenerator:
Public Member Functions | |
NoiseGenerator (int deviceID, simth::DeviceSystemIntf *system, const simth::PropertyList &pl=simth::PropertyList()) | |
virtual | ~NoiseGenerator () |
virtual void | updateInputLengths () |
virtual void | updateOutputLengths () |
virtual void | setSNR (double snr)=0 |
virtual void | print (std::ostream &os) const |
Static Public Member Functions | |
static void | init (const std::string fileName, simth::Device **dev, simth::DeviceSystemIntf *sysPtr, int ID, const std::string ®ionQualifier="") |
|
|
|
|
|
Reimplemented in simthlib::BasebandAwgnGenerator< T >. |
|
Reimplemented from simth::Device. Reimplemented in simthlib::BasebandAwgnGenerator< T >. |
|
Sets the signal-to-noise ratio to the snr given in dB as argument. Hence, the corresponding linear signal-to-noise ratio is computed by 10^(snr/10). Implemented in simthlib::BasebandAwgnGenerator< T >. |
|
Implements simth::Device. |
|
Implements simth::Device. |