Marsyas  0.5.0-beta1
Public Member Functions
Shifter Class Reference

Shifts the input and outputs the original and shifted version. More...

#include <Shifter.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

Shifts the input and outputs the original and shifted version.

Shifts the input by <shift> samples and send to output the original and shifted version as different observations.

Author:
lmartins@inescporto.pt

Controls:

Definition at line 41 of file Shifter.h.


Constructor & Destructor Documentation

Shifter ( std::string  name)

Definition at line 25 of file Shifter.cpp.

~Shifter ( )

Definition at line 31 of file Shifter.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 36 of file Shifter.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 68 of file Shifter.cpp.


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