| Visioscan Set SDK Libraries 1.3.5 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
42 UsbSettings(unsigned int vendorId, unsigned int productId, unsigned int readChannel, unsigned int writeChannel, int pDataTimeout);
43
47 ~UsbSettings();
48
53 unsigned int GetVendorId();
54
59 unsigned int GetProductId();
60
65 unsigned int GetReadChannel();
66
71 unsigned int GetWriteChannel();
72
77 void SetVendorId(unsigned int vendorId);
78
83 void SetProductId(unsigned int productId);
84
89 void SetReadChannel(unsigned int inputChannel);
90
95 void SetWriteChannel(unsigned int outputChannel);
96 private:
97 unsigned int _vendorId;
98 unsigned int _productId;
99 unsigned int _readChannel;
100 unsigned int _writeChannel;
101};
102
UsbSettings
The USB settings encapsulation for USB communication.
Definition UsbSettings.h:18