/** * @author Edouard DUPIN * * @copyright 2014, Edouard DUPIN, all right reserved * * @license BSD v3 (see license file) */ #ifndef __EAUDIOFX_PROCESSING_H__ #define __EAUDIOFX_PROCESSING_H__ #include #include #include #include #include #include namespace eaudiofx { class Processing : public eaudiofx::BlockMeta, eaudiofx::Thread { protected: Processing(); void init() { eaudiofx::BlockMeta::init(); }; public: DECLARE_FACTORY(Processing); virtual ~Processing() {}; public: int32_t process(); int32_t start(); int32_t stop(); int32_t waitEndOfProcess(); // Thread interface : virtual bool stateStart(); virtual bool stateRun(); virtual bool stateStop(); }; }; #endif