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

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __BASICVIDEOSOURCE_H_INCL__
  2. #define __BASICVIDEOSOURCE_H_INCL__
  3. #include "basicMediaInput.h"
  4. /**
  5. * TODO: Add class description
  6. *
  7. * @author gagua
  8. */
  9. class basicVideoSource : public basicMediaInput
  10. {
  11. private:
  12. public:
  13. // Constructor
  14. basicVideoSource();
  15. // Destructor
  16. virtual ~basicVideoSource();
  17. // Copy constructor
  18. // TODO: Uncomment the copy constructor when you need it.
  19. // basicVideoSource(const basicVideoSource& src);
  20. // Assignment operator
  21. // TODO: Uncomment the assignment operator when you need it.
  22. // basicVideoSource& operator=(const basicVideoSource& src);
  23. void lock(void);
  24. void unlock(void);
  25. };
  26. // Constructor implementation
  27. inline basicVideoSource::basicVideoSource() :
  28. basicMediaInput(MT_VIDEO)
  29. {
  30. }
  31. // Destructor implementation
  32. inline basicVideoSource::~basicVideoSource() {}
  33. // TODO: Uncomment the copy constructor when you need it.
  34. // inline basicVideoSource::basicVideoSource(const basicVideoSource& src)
  35. //{
  36. // // TODO: copy
  37. //}
  38. // TODO: Uncomment the assignment operator when you need it.
  39. // inline basicVideoSource& basicVideoSource::operator=(const basicVideoSource& rhs)
  40. //{
  41. // if (this == &rhs) {
  42. // return *this;
  43. // }
  44. //
  45. // // TODO: assignment
  46. //
  47. // return *this;
  48. //}
  49. #endif // __BASICVIDEOSOURCE_H_INCL__