#ifndef __BASICMEDIAVIEWER_H_INCL__ #define __BASICMEDIAVIEWER_H_INCL__ #include #ifdef USE_QT #include #endif #include "basicFunctionality.h" #include "basicLogCollection.h" #include "basicLIBAV.h" /** * TODO: Add class description * * @author Gagua */ class basicMediaViewer { protected: basicLogCollection *m_pLog; public: // Constructor basicMediaViewer(); // Destructor virtual ~basicMediaViewer(); // Copy constructor // TODO: Uncomment the copy constructor when you need it. //basicMediaViewer(const basicMediaViewer& src); // Assignment operator // TODO: Uncomment the assignment operator when you need it. //basicMediaViewer& operator=(const basicMediaViewer& src); virtual void pushFrame(cv::Mat *Frame){}; #ifdef USE_QT virtual void pushFrame(QVideoFrame *Frame){}; #endif virtual void setError(bool A, CSTR BOBO = NULL ){}; virtual bool init(void){ return true; }; }; // Constructor implementation inline basicMediaViewer::basicMediaViewer(){ m_pLog = basicLogCollection::getInstance(); } // Destructor implementation inline basicMediaViewer::~basicMediaViewer(){ } // TODO: Uncomment the copy constructor when you need it. //inline basicMediaViewer::basicMediaViewer(const basicMediaViewer& src) //{ // // TODO: copy //} // TODO: Uncomment the assignment operator when you need it. //inline basicMediaViewer& basicMediaViewer::operator=(const basicMediaViewer& rhs) //{ // if (this == &rhs) { // return *this; // } // // // TODO: assignment // // return *this; //} typedef vector mediaViewerCollection; #endif // __BASICMEDIAVIEWER_H_INCL__