DexelaDetector API: BusScanner.h Source File

Dexela API

BusScanner.h
Go to the documentation of this file.
1 #pragma once
2 
3 #ifndef DEX_BUILD
4 #ifdef _DEBUG
5 #pragma comment(lib,"BusScanner-d.lib")
6 #else
7 #pragma comment(lib,"BusScanner.lib")
8 #endif
9 #endif
10 
12 #include "DexDefs.h"
13 #include "DexelaDetector.h"
14 #include <vector>
15 #include <boost/shared_ptr.hpp>
16 
17 using namespace std;
18 
19 
23 class DllExport BusScanner
24 {
25 public:
26  BusScanner(void);
27  ~BusScanner(void);
28 
29  int EnumerateDevices();
30  int EnumerateGEDevices();
31  int EnumerateCLDevices();
32 
33  DevInfo GetDevice(int index);
34  DevInfo GetDeviceGE(int index);
35  DevInfo GetDeviceCL(int index);
36 
37  friend class ScanMockSetter;
38 
39 #ifndef MOCK_TEST
40 private:
41 #endif
42  boost::shared_ptr<baseBusScanner> baseScanner;
43 
44 };
This class is used to scan the different interfaces and give information about devices found...
Definition: BusScanner.h:23
A structure to hold device information.
Definition: DexDefs.h:42
Generated on Tue Nov 25 2014 10:22:44 for DexelaDetector API by   doxygen 1.8.7