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.
 
 
 
 
 

88 lines
2.4 KiB

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: DeviceLGSm.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of DeviceLGSm.h
//----------------------------------------------------------------------------
// DeviceLGS.h: interface for the CDeviceLGSm class.
//
//////////////////////////////////////////////////////////////////////
#ifndef __DEVICE__MULTI__LGS__H__INCLUDED__
#define __DEVICE__MULTI__LGS__H__INCLUDED__
#include "DeviceMD.h"
#include "DeviceLGS.h"
#if _MSC_VER > 1000
#pragma once
#endif
#include "..\..\LgLib\Net\LgNetDeviceLGS.h"
#include "DevicePTZ.h"
// Multidrop LGS
class CDeviceLGSm :
public CDeviceMD,
public CDeviceLGS,
public CDevicePTZ,
public CLgNetDeviceLGS
{
public:
CDeviceLGSm();
virtual ~CDeviceLGSm();
public:
virtual void SetCameraPTZ( CVideoCameraPTZ *pPTZ ) { CDevicePTZ::SetCameraPTZ( pPTZ ); PTZ_PostInit(); }
private:
// LGS commands
virtual BOOL LGS_PostReset();
virtual BOOL LGS_PostRestart();
virtual BOOL LGS_PostEnable( BOOL bEnable );
virtual BOOL LGS_PostGetHiddenZones();
virtual BOOL LGS_PostSetHiddenZones( CLgDeviceLGS::LGS_HZ_ARRAY& );
virtual BOOL LGS_PostGetCalibrationTable( INT nDevice );
virtual BOOL LGS_PostSetCalibrationTable( CLgDeviceLGS::LGS_CALIBRATION_TABLE& cTable );
// camera commands
virtual void PTZ_PostSetPTZ( double pan, double tilt, double zoom );
virtual void PTZ_PostGetPTZ();
virtual void PTZ_PostPan( double speed, int nDir );
virtual void PTZ_PostTilt( double speed, int nDir );
virtual void PTZ_PostZoom( double speed, int nDir );
virtual void PTZ_PostIris( double value );
virtual void PTZ_PostWiper( BOOL bOn );
protected:
virtual BOOL DeviceProc( CLgNetSocket *pSocket, CProtocol *pProtocol );
private:
BOOL DeviceProc_( CLgNetSocket *pSocket, CProtocol *pProtocol );
BOOL DeviceProcDemo_();
BOOL DeviceProcLGS_();
BOOL DeviceProcPTZ_();
BOOL DeviceProcDispatcher_();
protected:
virtual void SetSpyMode( BOOL bSpyMode );
private:
BOOL m_bEnable;
CLgNetObject m_MessageDispatcher;
private:
BOOL m_bDemoOperationMode;
private:
CDeviceLGSm *m_pThisValid;
};
#endif