#ifndef __PROTOCOL_PTZ_BRCP_HEADER__ #define __PROTOCOL_PTZ_BRCP_HEADER__ #include "protocolPTZ.h" #include "../bosch_rcp/bosch_rcp.h" class protocolPTZ_BRCP : public protocolPTZ { private: basicLogCollection * m_pLog; char m_pUser[MAX_CRED_LEN]; char m_pPassword[MAX_CRED_LEN]; char m_pDeviceURI[MAX_PATH_LEN]; uint8_t m_bAuthMode; boschRCP * m_pBRCP; videoSourceProfile * m_pProfile; config_setting_t * m_pSettings; basicMutex m_mInquiryMutex; public: explicit protocolPTZ_BRCP(config_setting_t * Settings = NULL); protocolPTZ_BRCP(CSTR ip, uint16_t port, CSTR username, CSTR password, uint8_t AuthMode = 0); protocolPTZ_BRCP(CSTR ctl_url, CSTR username, CSTR password, uint8_t AuthMode = 0); virtual ~protocolPTZ_BRCP(); virtual bool create(void); virtual bool move(uint32_t MoveMatrix); virtual bool goAbsolute(float dPan, float dTilt, float dZoom); virtual bool goPreset(char * PresetToken); virtual bool getCameraPresets(void); bool setIPAddress(CSTR ip); bool setUsername(CSTR username); bool setPassword(CSTR password); bool setAuthMode(uint8_t Mode); virtual bool waitMoveIsDone(void); virtual bool validate(); }; #endif