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.
 
 
 
 
 

54 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: SocketMigvanPTZ.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of SocketMigvanPTZ.h
//----------------------------------------------------------------------------
#ifndef __SOCKET__MIGVAN__PTZ__H__INCLUDED__
#define __SOCKET__MIGVAN__PTZ__H__INCLUDED__
#if _MSC_VER > 1000
#pragma once
#endif
#include "EventQueue.h"
#include "DevicePTZ.h"
#include "Socket.h"
#include "SensorArray.h"
#include "..\..\lglib\net\LgNetSocketMigvanPTZ.h"
class CSocketMigvanPTZ :
public CSocket,
public CLgNetSocketMigvanPTZ
{
public:
CSocketMigvanPTZ();
virtual ~CSocketMigvanPTZ();
public:
BOOL Create( CSensorArray* pSensorArray, LPCTSTR pPort );
private:
virtual void CommandLoopStart();
virtual void CommandLoopStop();
public:
virtual __int64 GetFailure() { return CLgNetSocket::GetFailureCount().QuadPart; }
virtual __int64 GetSuccess() { return CLgNetSocket::GetSuccessCount().QuadPart; }
private:
BOOL m_bRunning;
protected:
friend class CDeviceMigvanPTZ;
void Resume();
};
#endif