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.4 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: SocketCameraMic1300.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of SocketCameraMic1300.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __SOCKET__CAMERA__MIC__1__300__H__INCLUDED__
  15. #define __SOCKET__CAMERA__MIC__1__300__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. #include "EventQueue.h"
  20. #include "DevicePTZ.h"
  21. #include "Socket.h"
  22. #include "SensorArray.h"
  23. #include "..\..\lglib\net\LgNetSocketMic1300PTZ.h"
  24. class CSocketCameraMic1300 :
  25. public CSocket,
  26. public CLgNetSocketMic1300PTZ
  27. {
  28. public:
  29. CSocketCameraMic1300();
  30. virtual ~CSocketCameraMic1300();
  31. public:
  32. BOOL Create( CSensorArray* pSensorArray, LPCTSTR pPort );
  33. private:
  34. virtual void CommandLoopStart();
  35. virtual void CommandLoopStop();
  36. public:
  37. virtual __int64 GetFailure() { return CLgNetSocket::GetFailureCount().QuadPart; }
  38. virtual __int64 GetSuccess() { return CLgNetSocket::GetSuccessCount().QuadPart; }
  39. private:
  40. BOOL m_bRunning;
  41. protected:
  42. friend class CDeviceCameraMic1300;
  43. void Resume();
  44. };
  45. #endif