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.
53 lines
1.3 KiB
53 lines
1.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: PTZNesher.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of PTZNesher.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __PTZ__NESHER__H__INCLUDED__
|
|
#define __PTZ__NESHER__H__INCLUDED__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#ifdef __BORLANDC__
|
|
#include "..\LgLib\Comm\Connect.h"
|
|
#include "..\LgLib\Comm\Protocol.h"
|
|
#include "..\LgLib\Device\LgDevPTZ.h"
|
|
#else
|
|
#include "Connect.h"
|
|
#include "Protocol.h"
|
|
#include "..\Device\LgDevPTZ.h"
|
|
#endif
|
|
|
|
|
|
class CProtocolPTZNesher : public CProtocol
|
|
{
|
|
public:
|
|
CProtocolPTZNesher();
|
|
virtual ~CProtocolPTZNesher();
|
|
|
|
public:
|
|
BOOL Create( CConnection *pConnection );
|
|
void Destroy();
|
|
|
|
public:
|
|
CConnection* GetConnection() { return m_pConnection; }
|
|
|
|
public:
|
|
virtual BOOL Read( PBYTE *ppBuffer, PINT pCount, DWORD dwTimeout, BOOL bHost );
|
|
virtual BOOL Write( PBYTE pBuffer, INT nCount, DWORD dwTimeout, BOOL bHost );
|
|
|
|
private:
|
|
CConnection*m_pConnection;
|
|
};
|
|
|
|
#endif
|