2015-01-25 22:10:49 +01:00
|
|
|
/** @file
|
|
|
|
* @author Edouard DUPIN
|
|
|
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
|
|
|
* @license APACHE v2.0 (see license file)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __AIRT_ALGO_CHANNEL_REORDER_H__
|
|
|
|
#define __AIRT_ALGO_CHANNEL_REORDER_H__
|
|
|
|
|
|
|
|
#include <airtalgo/Algo.h>
|
|
|
|
|
|
|
|
namespace airtalgo{
|
|
|
|
class ChannelReorder : public Algo {
|
2015-01-29 21:46:01 +01:00
|
|
|
protected:
|
2015-01-25 22:10:49 +01:00
|
|
|
/**
|
|
|
|
* @brief Constructor
|
|
|
|
*/
|
|
|
|
ChannelReorder();
|
2015-01-29 21:46:01 +01:00
|
|
|
void init();
|
|
|
|
public:
|
|
|
|
static std::shared_ptr<ChannelReorder> create();
|
2015-01-25 22:10:49 +01:00
|
|
|
/**
|
|
|
|
* @brief Destructor
|
|
|
|
*/
|
2015-01-29 21:46:01 +01:00
|
|
|
virtual ~ChannelReorder() {};
|
2015-01-25 22:10:49 +01:00
|
|
|
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);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|