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

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  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. private:
  11. public:
  12. // Constructor
  13. basicVideoSource();
  14. // Destructor
  15. virtual ~basicVideoSource();
  16. // Copy constructor
  17. // TODO: Uncomment the copy constructor when you need it.
  18. //basicVideoSource(const basicVideoSource& src);
  19. // Assignment operator
  20. // TODO: Uncomment the assignment operator when you need it.
  21. //basicVideoSource& operator=(const basicVideoSource& src);
  22. void lock( void );
  23. void unlock( void );
  24. };
  25. // Constructor implementation
  26. inline basicVideoSource::basicVideoSource() : basicMediaInput( MT_VIDEO ) {
  27. };
  28. // Destructor implementation
  29. inline basicVideoSource::~basicVideoSource(){
  30. };
  31. // TODO: Uncomment the copy constructor when you need it.
  32. //inline basicVideoSource::basicVideoSource(const basicVideoSource& src)
  33. //{
  34. // // TODO: copy
  35. //}
  36. // TODO: Uncomment the assignment operator when you need it.
  37. //inline basicVideoSource& basicVideoSource::operator=(const basicVideoSource& rhs)
  38. //{
  39. // if (this == &rhs) {
  40. // return *this;
  41. // }
  42. //
  43. // // TODO: assignment
  44. //
  45. // return *this;
  46. //}
  47. #endif // __BASICVIDEOSOURCE_H_INCL__