UppSense17- Open Source sensor for chemical analysis based on fuoresence.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
696 B

/*
* signal_process.h
*
* Created on: Aug 22, 2017
* Author: Elmar
*/
#ifndef APP_SIGNAL_PROCESS_H_
#define APP_SIGNAL_PROCESS_H_
7 years ago
#include <rijnfel_core/rijnfel_core.h>
#include <signal_processing.h>
namespace rijnfel {
class cSignalProcess: public cDataSink {
public:
cSignalProcess();
virtual ~cSignalProcess();
void ReceiveCallback(void * i_data, cDataReceiver * i_provider);
cDataReceiver m_incommingData;
cDataProvider m_processedData;
protected:
void process(uint32_t * io_array, size_t size);
uint32_t * m_currentBuffer;
uint32_t m_currentIndex;
uint32_t m_currentMaxIndex;
void print(double* vData);
};
} /* namespace rijnfel */
#endif /* APP_SIGNAL_PROCESS_H_ */