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.
60 lines
1.3 KiB
60 lines
1.3 KiB
#ifndef __BASICVIDEOSOURCE_H_INCL__
|
|
#define __BASICVIDEOSOURCE_H_INCL__
|
|
|
|
#include "basicMediaInput.h"
|
|
|
|
/**
|
|
* TODO: Add class description
|
|
*
|
|
* @author gagua
|
|
*/
|
|
class basicVideoSource : public basicMediaInput
|
|
{
|
|
private:
|
|
public:
|
|
|
|
// Constructor
|
|
basicVideoSource();
|
|
|
|
// Destructor
|
|
virtual ~basicVideoSource();
|
|
|
|
// Copy constructor
|
|
// TODO: Uncomment the copy constructor when you need it.
|
|
// basicVideoSource(const basicVideoSource& src);
|
|
|
|
// Assignment operator
|
|
// TODO: Uncomment the assignment operator when you need it.
|
|
// basicVideoSource& operator=(const basicVideoSource& src);
|
|
void lock(void);
|
|
void unlock(void);
|
|
};
|
|
|
|
// Constructor implementation
|
|
inline basicVideoSource::basicVideoSource() :
|
|
basicMediaInput(MT_VIDEO)
|
|
{
|
|
}
|
|
|
|
// Destructor implementation
|
|
inline basicVideoSource::~basicVideoSource() {}
|
|
|
|
// TODO: Uncomment the copy constructor when you need it.
|
|
// inline basicVideoSource::basicVideoSource(const basicVideoSource& src)
|
|
//{
|
|
// // TODO: copy
|
|
//}
|
|
|
|
// TODO: Uncomment the assignment operator when you need it.
|
|
// inline basicVideoSource& basicVideoSource::operator=(const basicVideoSource& rhs)
|
|
//{
|
|
// if (this == &rhs) {
|
|
// return *this;
|
|
// }
|
|
//
|
|
// // TODO: assignment
|
|
//
|
|
// return *this;
|
|
//}
|
|
|
|
#endif // __BASICVIDEOSOURCE_H_INCL__
|