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 __BASICMEDIADESTINATION_H_INCL__
#define __BASICMEDIADESTINATION_H_INCL__
#include <opencv2/opencv.hpp>
#ifdef USE_QVideoFrame
#include <QtMultimedia/qvideoframe.h>
#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<basicMediaDestination*> mediaDestinationsCollection;
#endif // __BASICMEDIADESTINATION_H_INCL__
|