You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#ifndef __BASICMEDIAVIEWER_H_INCL__
#define __BASICMEDIAVIEWER_H_INCL__
#include <opencv2/opencv.hpp>
#ifdef USE_QT
#include <QtMultimedia/qvideoframe.h>
#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<basicMediaViewer*> mediaViewerCollection;
#endif // __BASICMEDIAVIEWER_H_INCL__
|