libvisiontransfer  6.0.0
deviceenumeration.h
1 /*******************************************************************************
2  * Copyright (c) 2018 Nerian Vision GmbH
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in
12  * all copies or substantial portions of the Software.
13  *******************************************************************************/
14 
15 #ifndef VISIONTRANSFER_DEVICEENUMERATION_H
16 #define VISIONTRANSFER_DEVICEENUMERATION_H
17 
18 #include <vector>
19 #include "visiontransfer/common.h"
20 #include "visiontransfer/deviceinfo.h"
21 
28 class VT_EXPORT DeviceEnumeration {
29 public:
30  typedef std::vector<DeviceInfo> DeviceList;
31 
34 
40  DeviceList discoverDevices();
41 
42 private:
43  // We follow the pimpl idiom
44  class Pimpl;
45  Pimpl* pimpl;
46 
47  // This class cannot be copied
49  DeviceEnumeration& operator=(const DeviceEnumeration&);
50 };
51 
52 #endif
Allows for the discovery of devices in the network.
Nerian Vision Technologies