Marsyas  0.5.0-beta1
Public Member Functions

Multiply input realvec with a fixed value. More...

#include <Gain.h>

Inherits MarSystem.

Public Member Functions

MarSystemclone () const
 Gain (std::string name)
 Gain (const Gain &a)
void myProcess (realvec &in, realvec &out)
 Processes data.
 ~Gain ()

Detailed Description

Multiply input realvec with a fixed value.

Multiply all the values of the input realvec with mrs_real/gain and put them in the output vector.

Controls:

Definition at line 38 of file Gain.h.


Constructor & Destructor Documentation

Gain ( std::string  name)

Definition at line 24 of file Gain.cpp.

Gain ( const Gain a)

Definition at line 36 of file Gain.cpp.

~Gain ( )

Definition at line 44 of file Gain.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 49 of file Gain.cpp.

void myProcess ( realvec in,
realvec out 
) [virtual]

Processes data.

Parameters:
inInput data to read.
outOutput data to write.

Implement this method in subclass to define specific data processing.

Implements MarSystem.

Definition at line 70 of file Gain.cpp.


The documentation for this class was generated from the following files: