| Visioscan Set SDK Libraries 1.0.28 Visioscan Set SDK Help documentation file for C++ and C++/CLI |

Loading...
Searching...
No Matches
UsbSettings.h
1#pragma once
2#include "BaseSettings.h"
3
4#include<string>;
5
6#ifdef STARFLEETTOOLBOX_EXPORTS
7#define USBSETTENCAPS __declspec(dllexport)
8#else
9#define USBSETTENCAPS __declspec(dllimport)
10#endif
11
12 using namespace std;
16 class USBSETTENCAPS UsbSettings :
17 public BaseSettings
18{
19 public:
23 UsbSettings();
24
32 UsbSettings(unsigned int vendorId, unsigned int productId, unsigned int readChannel, unsigned int writeChannel);
33
37 ~UsbSettings();
38
43 unsigned int GetVendorId();
44
49 unsigned int GetProductId();
50
55 unsigned int GetReadChannel();
56
61 unsigned int GetWriteChannel();
62
67 void SetVendorId(unsigned int vendorId);
68
73 void SetProductId(unsigned int productId);
74
79 void SetReadChannel(unsigned int inputChannel);
80
85 void SetWriteChannel(unsigned int outputChannel);
86 private:
87 unsigned int _vendorId;
88 unsigned int _productId;
89 unsigned int _readChannel;
90 unsigned int _writeChannel;
91};
92
UsbSettings
The USB settings encapsulation for USB communication.
Definition UsbSettings.h:18