Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

simthlib::NoiseGenerator Class Reference

#include <noisegenerator.h>

Inheritance diagram for simthlib::NoiseGenerator:

Inheritance graph
[legend]
List of all members.

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 &regionQualifier="")

Detailed Description

Device that adds noise to an input sequence.


Constructor & Destructor Documentation

simthlib::NoiseGenerator::NoiseGenerator int  deviceID,
simth::DeviceSystemIntf system,
const simth::PropertyList pl = simth::PropertyList()
 

virtual simthlib::NoiseGenerator::~NoiseGenerator  )  [virtual]
 


Member Function Documentation

static void simthlib::NoiseGenerator::init const std::string  fileName,
simth::Device **  dev,
simth::DeviceSystemIntf sysPtr,
int  ID,
const std::string &  regionQualifier = ""
[static]
 

Reimplemented in simthlib::BasebandAwgnGenerator< T >.

virtual void simthlib::NoiseGenerator::print std::ostream &  os  )  const [virtual]
 

Reimplemented from simth::Device.

Reimplemented in simthlib::BasebandAwgnGenerator< T >.

virtual void simthlib::NoiseGenerator::setSNR double  snr  )  [pure virtual]
 

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 >.

virtual void simthlib::NoiseGenerator::updateInputLengths  )  [virtual]
 

Implements simth::Device.

virtual void simthlib::NoiseGenerator::updateOutputLengths  )  [virtual]
 

Implements simth::Device.


Generated on Tue Aug 9 14:39:04 2005 for simtheticlib by  doxygen 1.4.1