SBSDK 3.3.5
Polyga’s SB SDK is a set of programmable API’s that allow users to directly communicate and control any of Polyga’s 3D scanners using C++, C# or Command line.
SBDeviceList.h
Go to the documentation of this file.
1
2
11#pragma once
12#pragma warning( push )
13#pragma warning( disable : 4251)
14
15#include "SBSDK_API.h"
16#include "SBTypes.h"
17
18namespace SBSDK3
19{
25 {
26 public:
27 uint32_t serial = 0;
28 int type = 0;
29 };
36 {
37 public:
48 virtual ~SBDeviceList();
54 SBDeviceInfo& operator [](int idx);
59 size_t size();
70 void clear();
71
72 private:
73 std::vector<SBDeviceInfo> devices;
74 };
75}
76
77#pragma warning( pop )
78
SBSDK API dll imports.
#define SBSDK_API
Definition: SBSDK_API.h:15
SBTypes Header File. Structure types and Class Enum types defining parameter options and device infor...
Used to store information about a scanner.
Definition: SBDeviceList.h:25
Used to store information about the detected devices.
Definition: SBDeviceList.h:36
virtual ~SBDeviceList()
Default class deconstructor. Override to change what happens when an instance is destructed.
SBDeviceList()
Default class constructor.
size_t size()
Returns the size of the SBDeviceInfo vector.
void clear()
Clears the contents of the SBDeviceInfo Vector.
void push_back(SBDeviceInfo &info)
Appends new element to the back of the SBDeviceInfo vector.
Definition: ISBScanner.h:20