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.
60 lines
2.3 KiB
60 lines
2.3 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: DeviceCameraPhilipsG3AD.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of DeviceCameraPhilipsG3AD.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __DEVICE__CAMERA__PELCO__H__INCLUDED__
|
|
#define __DEVICE__CAMERA__PELCO__H__INCLUDED__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "..\DLIB\DevicePTZ.h"
|
|
#include "..\DLIB\Device.h"
|
|
#include "..\..\LgLib\Net\LgNetDevicePTZPelco.h"
|
|
#include "SocketCameraPelco.h"
|
|
|
|
class CDeviceCameraPelco :
|
|
public CDevice,
|
|
public CDevicePTZ,
|
|
public CLgNetDevicePTZPelco
|
|
{
|
|
public:
|
|
CDeviceCameraPelco();
|
|
virtual ~CDeviceCameraPelco();
|
|
|
|
public:
|
|
virtual void SetCameraPTZ( CVideoCameraPTZ *pPTZ )
|
|
{
|
|
CDevicePTZ::SetCameraPTZ( pPTZ );
|
|
CDevicePTZ::SetPTZ(0,0,0);
|
|
}
|
|
|
|
protected:
|
|
virtual void PTZ_PostInit() { CDevicePTZ::PTZ_PostInit(); ((CSocketCameraPelco*)m_pSocket)->Resume(); }
|
|
virtual void PTZ_PostReset() { CDevicePTZ::PTZ_PostReset(); ((CSocketCameraPelco*)m_pSocket)->Resume(); }
|
|
virtual void PTZ_PostSetPTZ( double pan, double tilt, double zoom ) { CDevicePTZ::PTZ_PostSetPTZ( pan, tilt, zoom ); ((CSocketCameraPelco*)m_pSocket)->Resume(); }
|
|
virtual void PTZ_PostGetPTZ() { CDevicePTZ::PTZ_PostGetPTZ(); ((CSocketCameraPelco*)m_pSocket)->Resume(); }
|
|
virtual void PTZ_PostPan( double speed, int nDir ) { CDevicePTZ::PTZ_PostPan( speed, nDir ); ((CSocketCameraPelco*)m_pSocket)->Resume(); }
|
|
virtual void PTZ_PostTilt( double speed, int nDir ) { CDevicePTZ::PTZ_PostTilt( speed, nDir ); ((CSocketCameraPelco*)m_pSocket)->Resume(); }
|
|
virtual void PTZ_PostZoom( double speed, int nDir ) { CDevicePTZ::PTZ_PostZoom( speed, nDir ); ((CSocketCameraPelco*)m_pSocket)->Resume(); }
|
|
virtual void PTZ_PostIris( double value ) { CDevicePTZ::PTZ_PostIris( value ); ((CSocketCameraPelco*)m_pSocket)->Resume(); }
|
|
virtual void PTZ_PostWiper( BOOL bOn ) { CDevicePTZ::SetReady(); }
|
|
|
|
protected:
|
|
virtual BOOL DeviceProc( CLgNetSocket *pSocket, CProtocol *pProtocol );
|
|
|
|
private:
|
|
CLgNetObject m_MessageDispatcher;
|
|
};
|
|
|
|
#endif
|