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.
25 lines
551 B
25 lines
551 B
#ifndef __OBJECT_PTZ_VISCA_HEADER__
|
|
#define __OBJECT_PTZ_VISCA_HEADER__
|
|
|
|
#include "../../data/protocol/protocolPTZ_VISCA.h"
|
|
#include "../../hardware/uart/serialPort.h"
|
|
#include "../base/basicPTZEngine.h"
|
|
|
|
class objectPTZ_VISCA : public basicPTZEngine
|
|
{
|
|
protected:
|
|
|
|
protocolPTZ_VISCA * m_pProtocol;
|
|
serialPort * m_pTransport;
|
|
|
|
public:
|
|
|
|
objectPTZ_VISCA();
|
|
~objectPTZ_VISCA();
|
|
bool create(int port, int speed);
|
|
/* implement Virtual Methods */
|
|
bool readSettings(config_setting_t * Ptr);
|
|
void dispatchEvent(basicEvent * Evt);
|
|
};
|
|
|
|
#endif
|