#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 { public: basicLogCollection *m_pLog; // 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 int startRecord(uint32_t FramesToRecord) { return -1; }; virtual void startRecord(CSTR FileName) {}; virtual int stopRecord(void) { return -1; }; 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__