Drive Engine  1.0.0
Plateforme de reconstruction 3D
DynamicLibraryRecord.h
1 // Copyright (c) 2015. All rights reserved to DriveEngine Team.
2 
3 #pragma once
4 
5 #if defined WIN32
6 #include <Windows.h>
7 #endif
8 
9 #if defined WIN32
10 #define DYNAMIC_LIBRARY_RECORD_TYPE HINSTANCE
11 #elif defined LINUX
12 // TODO: To support Linux, please complete.
13 #define DYNAMIC_LIBRARY_RECORD_TYPE int
14 #endif
15 
16 
17 namespace DriveEngine
18 {
28  {
29  private:
30  DYNAMIC_LIBRARY_RECORD_TYPE handler;
31 
32  public:
33 
42  DynamicLibraryRecord(DYNAMIC_LIBRARY_RECORD_TYPE handler);
43 
52  DYNAMIC_LIBRARY_RECORD_TYPE GetHandler() const;
53 
54  friend bool operator== (const DynamicLibraryRecord &first, const DynamicLibraryRecord &second);
55  };
56 }
DynamicLibraryRecord(DYNAMIC_LIBRARY_RECORD_TYPE handler)
Constructor.
Definition: DynamicLibraryRecord.cpp:7
Definition: DefaultCalibrationInfoList.h:12
(Internal class) Dynamic library record
Definition: DynamicLibraryRecord.h:27
DYNAMIC_LIBRARY_RECORD_TYPE GetHandler() const
Gets the dynamic library handler.
Definition: DynamicLibraryRecord.cpp:9