#ifndef __BASICMEDIADESTINATION_H_INCL__ #define __BASICMEDIADESTINATION_H_INCL__ #include #ifdef USE_QVideoFrame #include #endif #include "basicFunctionality.h" #include "basicLogCollection.h" /** * TODO: Add class description * * @author Gagua */ class basicMediaDestination { protected: basicLogCollection *m_pLog; public: // Constructor basicMediaDestination(); // Destructor virtual ~basicMediaDestination(); // Copy constructor // TODO: Uncomment the copy constructor when you need it. //basicMediaDestination(const basicMediaDestination& src); // Assignment operator // TODO: Uncomment the assignment operator when you need it. //basicMediaDestination& operator=(const basicMediaDestination& src); virtual void pushFrame(cv::Mat *Frame, void *src = NULL ){}; #ifdef USE_QVideoFrame virtual void pushFrame(QVideoFrame *Frame, void *src = NULL ){}; #endif virtual void setError(bool A, CSTR BOBO = NULL ){}; //virtual bool init(void){ return true; }; virtual void startRecord( CSTR fileName ){}; virtual void stopRecord(void){}; virtual bool isRecorder(void){ return false; }; }; // Constructor implementation inline basicMediaDestination::basicMediaDestination() /*: basicThread()*/{ m_pLog = basicLogCollection::getInstance(); }; // Destructor implementation inline basicMediaDestination::~basicMediaDestination(){ }; typedef vector mediaDestinationsCollection; #endif // __BASICMEDIADESTINATION_H_INCL__