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.

60 lines
1.8 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: LgUISiteEngine.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of LgUISiteEngine.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __LG__UI__SITE__ENGINE__H__INCLUDED__
  15. #define __LG__UI__SITE__ENGINE__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. #include "..\Templ.h"
  20. #include "..\HAL\LgHALEngine.h"
  21. class CLgUISiteCamera;
  22. class CLgUISiteTroubleWnd;
  23. class CLgUISiteSensorWnd;
  24. class CLgUISiteTroubleListWnd;
  25. class CLgUISiteSensor;
  26. class CLgUICameraEngine;
  27. class CLgHALEngine;
  28. class CLgUIMapEngine;
  29. class CLgUISiteClock;
  30. class CLgUISiteEngine :
  31. public CLgLink<CLgUISiteEngine,CLgUISiteCamera>,
  32. public CLgLinkS<CLgUISiteEngine,CLgUISiteTroubleWnd>,
  33. public CLgLinkS<CLgUISiteEngine,CLgUISiteSensorWnd>,
  34. public CLgLinkS<CLgUISiteEngine,CLgUISiteTroubleListWnd>,
  35. public CLgLink<CLgUISiteEngine,CLgUISiteSensor>,
  36. public CLgLinkS<CLgUISiteEngine,CLgUICameraEngine>,
  37. public CLgLinkS<CLgUISiteEngine,CLgUIMapEngine>,
  38. public CLgLinkS<CLgUISiteEngine,CLgUISiteClock>,
  39. public CLgLinkS<CLgUISiteEngine,CLgHALEngine>
  40. {
  41. public:
  42. CLgUISiteEngine();
  43. virtual ~CLgUISiteEngine();
  44. public:
  45. BOOL OnActivateSensor( CLgUISiteSensor* pSensor );
  46. BOOL OnActivateVideoCamera( CLgUISiteCamera* pCamera );
  47. public:
  48. BOOL OnHalCreate( HAL_OBJECT_ID, CLgHALCamera* );
  49. BOOL OnHalCreate( HAL_OBJECT_ID, CLgHALSensor* );
  50. BOOL OnHalLink( HAL_OBJECT_ID, HAL_OBJECT_ID );
  51. void DestroyAllObject();
  52. };
  53. #endif