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.

21 lines
576 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __OBJECT_PTZ_VISCA_HEADER__
  2. #define __OBJECT_PTZ_VISCA_HEADER__
  3. #include "../base/basicPTZEngine.h"
  4. #include "../../hardware/uart/serialPort.h"
  5. #include "../../data/protocol/protocolPTZ_VISCA.h"
  6. class objectPTZ_VISCA: public basicPTZEngine {
  7. protected:
  8. protocolPTZ_VISCA *m_pProtocol;
  9. serialPort *m_pTransport;
  10. public:
  11. objectPTZ_VISCA();
  12. ~objectPTZ_VISCA();
  13. bool create( int port, int speed );
  14. /* implement Virtual Methods */
  15. bool readSettings( config_setting_t *Ptr );
  16. void dispatchEvent( basicEvent *Evt );
  17. };
  18. #endif