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.
|
|
#ifndef __PROTOCOL_PTZ_ONVIF_HEADER__
#define __PROTOCOL_PTZ_ONVIF_HEADER__
#include "protocolPTZ.h"
//#include "../onvif/include/onvifclient.hpp"
#include "../data/ponvif/ponvif.h"
class protocolPTZ_ONVIF: public protocolPTZ{ private: basicLogCollection * m_pLog; char m_pUser[MAX_CRED_LEN]; char m_pPassword[MAX_CRED_LEN]; char m_pDeviceURI[MAX_PATH_LEN]; pOnvif * m_pOnVif; videoSourceProfile * m_pProfile; config_setting_t * m_pSettings; basicMutex m_mInquiryMutex; public: explicit protocolPTZ_ONVIF( config_setting_t *Settings = NULL ); protocolPTZ_ONVIF( CSTR ip, CSTR username, CSTR password ); virtual ~protocolPTZ_ONVIF(); virtual bool create( void ); virtual bool move( uint32_t MoveMatrix ); virtual bool goAbsolute( double dPan, double dTilt, double dZoom );
bool setIPAddress( CSTR ip ); bool setUsername( CSTR username ); bool setPassword( CSTR password );};
#endif
|