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.

31 lines
569 B

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __BASIC_PTZ_ENGINE_HEADER__
  2. #define __BASIC_PTZ_ENGINE_HEADER__
  3. #include "basicEventHandler.h"
  4. #include "basicPosition.h"
  5. #include "basicSettingsProvider.h"
  6. typedef enum E_PTZ_PROTOCOL_TYPE
  7. {
  8. PROTOCOL_NULL = 0,
  9. PROTOCOL_VISCA = 1,
  10. PROTOCOL_PELCO,
  11. PROTOCOL_ONVIF
  12. } PTZ_PROTOCOL_TYPE;
  13. class basicPTZEngine : basicEventHandler
  14. {
  15. protected:
  16. config_setting_t * m_pSettings;
  17. PTZ_PROTOCOL_TYPE m_nType;
  18. basicPosition * m_pLocation;
  19. public:
  20. basicPTZEngine();
  21. ~basicPTZEngine();
  22. virtual bool readSettings(config_setting_t * Ptr);
  23. };
  24. #endif