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.

27 lines
589 B

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