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
31 lines
569 B
#ifndef __BASIC_PTZ_ENGINE_HEADER__
|
|
#define __BASIC_PTZ_ENGINE_HEADER__
|
|
|
|
#include "basicEventHandler.h"
|
|
#include "basicPosition.h"
|
|
#include "basicSettingsProvider.h"
|
|
|
|
typedef enum E_PTZ_PROTOCOL_TYPE
|
|
{
|
|
PROTOCOL_NULL = 0,
|
|
PROTOCOL_VISCA = 1,
|
|
PROTOCOL_PELCO,
|
|
PROTOCOL_ONVIF
|
|
} PTZ_PROTOCOL_TYPE;
|
|
|
|
class basicPTZEngine : basicEventHandler
|
|
{
|
|
protected:
|
|
|
|
config_setting_t * m_pSettings;
|
|
PTZ_PROTOCOL_TYPE m_nType;
|
|
basicPosition * m_pLocation;
|
|
|
|
public:
|
|
|
|
basicPTZEngine();
|
|
~basicPTZEngine();
|
|
virtual bool readSettings(config_setting_t * Ptr);
|
|
};
|
|
|
|
#endif
|