Visioscan Set SDK Libraries 1.0.14
Visioscan Set SDK Help documentation file for C++ and C++/CLI
 
Loading...
Searching...
No Matches
SensorLamps.h
1#pragma once
2#ifdef RAWDATASENSOR_EXPORTS
3#define SENSLAMP __declspec(dllexport)
4#else
5#define SENSLAMP __declspec(dllimport)
6#endif
7
8#define BLACK 0;
9#define RED 1;
10#define GREEN 2;
11#define ORANGE 3;
12#define BLUE 4;
13
14typedef int LEDCOLOR;
15
19class SENSLAMP SensorLamps
20{
21public:
26
34 SensorLamps(LEDCOLOR pLed1, LEDCOLOR pLed2, LEDCOLOR pLed3, LEDCOLOR pLed4);
35
36
41 LEDCOLOR GetLed1();
42
47 void SetLed1(LEDCOLOR pColor);
48
53 LEDCOLOR GetLed2();
54
59 void SetLed2(LEDCOLOR pColor);
60
65 LEDCOLOR GetLed3();
66
71 void SetLed3(LEDCOLOR pColor);
72
77 LEDCOLOR GetLed4();
78
83 void SetLed4(LEDCOLOR pColor);
84
85private:
86 LEDCOLOR _led1 = BLACK;
87 LEDCOLOR _led2 = BLACK;
88 LEDCOLOR _led3 = BLACK;
89 LEDCOLOR _led4 = BLACK;
90
91};
92
Helper to encapsulate the sensor lamps state.
Definition SensorLamps.h:20