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.

33 lines
855 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __OBJECT_CAMERA_HEADER__
  2. #define __OBJECT_CAMERA_HEADER__
  3. #include "../base/basicObject.h"
  4. #include "../base/basicCameraInfo.h"
  5. #include "../base/basicEvtDispatcher.h"
  6. #include "../base/basicLogCollection.h"
  7. struct basicCameraCommand{
  8. CORE_CAMERA_COMMANDS m_cCode;
  9. int m_iParam;
  10. bool m_bParam;
  11. unsigned int m_nDataSize;
  12. void *m_pData;
  13. };
  14. class objectCamera: public basicObject, public EventDispatchService {
  15. private:
  16. _Core_Logging_Collection *m_pLog;
  17. void Log( CSTR Msg );
  18. void Log( U8 Level, CSTR Msg );
  19. protected:
  20. struct basicCameraInfo *m_pSettings;
  21. virtual bool init( void ){};
  22. public:
  23. objectCamera();
  24. objectCamera( _Core_Logging_Collection *Log, basicCameraInfo *Info );
  25. ~objectCamera();
  26. virtual void dispatch( basicEvent *Evt );
  27. };
  28. #endif