Old fashion design for PC-104
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.
|
|
//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright � 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT: Laserguard libraries
// SUBSYSTEM: Devices support library
// FILE: DPG3AD.h
// AUTHOR: Chizhevskiy Sergey
// OVERVIEW
// ~~~~~~~~
// Header file of CLgDevicePTZPG3AD
//----------------------------------------------------------------------------
#ifndef __LG__DEVICE__PTZ__PHILIPS__G3__AUTO__DOME__H__INCLUDED__
#define __LG__DEVICE__PTZ__PHILIPS__G3__AUTO__DOME__H__INCLUDED__
#if _MSC_VER > 1000
#pragma once
#endif
#ifdef __BORLANDC__
#include "..\LgLib\Device\LgDevPTZ.h"
#include "..\LgLib\Comm\PTZPG3AD.h"
#else
#include "LgDevPTZ.h"
#include "..\Comm\PTZPG3AD.h"
#endif
class CLgDevicePTZPG3AD : public CLgDevicePTZ {public: CLgDevicePTZPG3AD(); virtual ~CLgDevicePTZPG3AD();
public: BOOL SetOldType();
public: virtual BOOL WriteProc( void *pProtocol, PLONG pTimeout ); virtual BOOL ReadProc( void *pProtocol, LONG lTimeout, BOOL bLastChance );
private: enum { STAGE_GOTO_POSITION, STAGE_GET_POSITION, STAGE_SET_IRIS, };
private: INT m_nMode; INT m_nStage; INT m_nNoReplyCount; INT m_nNotInPositionCount;
private: PTZ_POSITION m_TempPosition;
private: PTZ_PHILIPS_G3_AUTODOME::PTZ_STATE m_PtzState;
private: void OnPerformCmd();
private: typedef PTZ_DEGREE (*PAN2DEGREE)( DWORD ); typedef DWORD (*DEGREE2PAN)( PTZ_DEGREE );
private: PAN2DEGREE m_pPan2Degree; DEGREE2PAN m_pDegree2Pan;};
#endif
|