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.

51 lines
1.3 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: SocketCameraVicon.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of SocketCameraVicon.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __SOCKET__CAMERA__VICON__H__INCLUDED__
  15. #define __SOCKET__CAMERA__VICON__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. #include "Socket.h"
  20. #include "..\..\LgLib\Net\LgNetSocketPTZVicon.h"
  21. class CSocketCameraVicon :
  22. public CSocket,
  23. public CLgNetSocketPTZVicon
  24. {
  25. public:
  26. CSocketCameraVicon();
  27. virtual ~CSocketCameraVicon();
  28. public:
  29. BOOL Create( CSensorArray* pSensorArray, LPCTSTR pPort );
  30. private:
  31. virtual void CommandLoopStart();
  32. virtual void CommandLoopStop();
  33. public:
  34. virtual __int64 GetFailure() { return CLgNetSocket::GetFailureCount().QuadPart; }
  35. virtual __int64 GetSuccess() { return CLgNetSocket::GetSuccessCount().QuadPart; }
  36. private:
  37. BOOL m_bRunning;
  38. protected:
  39. friend class CDeviceCameraVicon;
  40. void Resume();
  41. };
  42. #endif