blocker.h
00001 #ifndef BLOCKER_H
00002 #define BLOCKER_H
00003 
00004 class INIParser;
00005 class Config;
00006 
00007 #include <string>
00008 
00009 
00013 class Blocker
00014 {
00015 public:
00016     Blocker(Config *config);
00017     void runBlocking();
00018     void blocking(double *values, int nValues, int blockSize, double *result);
00019     void loadConfiguration(INIParser *settings);
00020 private:
00021     int m_nProcesses;
00022     int nBlockSamples;
00023     int minBlockSize;
00024     int maxBlockSize;
00025     std::string scratchDir;
00026     Config *config;
00027 };
00028 
00029 #endif // BLOCKER_H
 All Classes Functions