All Classes Namespaces Files Functions Variables Typedefs Macros
cliz::Preprocessor Class Reference

#include <clizPreprocessor.h>

Public Member Functions

 Preprocessor (PreprocessorHandle iHandle, std::vector< Save * > &iInputSaveVec, std::vector< Save * > &iOutputSaveVec, std::vector< IndicesStruct > &iIndicesOut)
 
void filter (float *intChunk)
 
void threadFunc ()
 
 ~Preprocessor ()
 

Detailed Description

Modules Except for the Accumulator and the Communicator, all Modules share the same structure. For initialization, each Module needs a parameter handle, an std::vector of Saves for their input, an std::vector of Saves for their output and an std::vector of IndicesStructs to know which output Saves require which output. During initialization a worker thread is spawned that tries to receive input from all input Saves. Once one ChunkPtrStruct from each input Save was obtained, functions are called that perform the respective jobs of the module. For each output Save, based on the respective IndicesStruct, the data obtained from these functions is copied and a ChunkPtrStruct that holds a pointer to that data is pushed in the output Save.Module: Preprocessor The Preprocessor band-pass filters each data chunk using a bidirectional elliptic filter.

Constructor & Destructor Documentation

cliz::Preprocessor::Preprocessor ( PreprocessorHandle  iHandle,
std::vector< Save * > &  iInputSaveVec,
std::vector< Save * > &  iOutputSaveVec,
std::vector< IndicesStruct > &  iIndicesOut 
)

Module: Preprocessor Constructor

Here is the call graph for this function:

cliz::Preprocessor::~Preprocessor ( )
inline

Here is the call graph for this function:

Member Function Documentation

void cliz::Preprocessor::filter ( float *  intChunk)

Module: Preprocessor Filters the data using an elliptic band-pass IIR filter

Parameters
[in]intChunkinternal data chunk

Here is the caller graph for this function:

void cliz::Preprocessor::threadFunc ( )

Module: Preprocessor Worker thread

Here is the call graph for this function:

Here is the caller graph for this function:


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