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.

32 lines
702 B

/*
* signal_process.h
*
* Created on: Aug 22, 2017
* Author: Elmar
*/
#ifndef APP_SIGNAL_PROCESS_H_
#define APP_SIGNAL_PROCESS_H_
#include "../include/rijnfel_core/data_provider.h"
#include "../include/rijnfel_core/data_receiver.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;
};
} /* namespace rijnfel */
#endif /* APP_SIGNAL_PROCESS_H_ */