36 lines
844 B
C
36 lines
844 B
C
|
/** @file
|
||
|
* @author Edouard DUPIN
|
||
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||
|
* @license APACHE v2.0 (see license file)
|
||
|
*/
|
||
|
#ifndef __AIRT_ALGO_FORMAT_UPDATE_H__
|
||
|
#define __AIRT_ALGO_FORMAT_UPDATE_H__
|
||
|
|
||
|
#include <airtalgo/Algo.h>
|
||
|
|
||
|
namespace airtalgo {
|
||
|
class FormatUpdate : public Algo {
|
||
|
public:
|
||
|
/**
|
||
|
* @brief Constructor
|
||
|
*/
|
||
|
FormatUpdate();
|
||
|
/**
|
||
|
* @brief Destructor
|
||
|
*/
|
||
|
virtual ~FormatUpdate() {};
|
||
|
protected:
|
||
|
virtual void configurationChange();
|
||
|
public:
|
||
|
virtual bool process(std::chrono::system_clock::time_point& _time,
|
||
|
void* _input,
|
||
|
size_t _inputNbChunk,
|
||
|
void*& _output,
|
||
|
size_t& _outputNbChunk);
|
||
|
private:
|
||
|
void (*m_functionConvert)(void* _input, void* _output, size_t _nbSample);
|
||
|
};
|
||
|
};
|
||
|
|
||
|
#endif
|