Visioscan Set SDK Libraries 1.0.14
Visioscan Set SDK Help documentation file for C++ and C++/CLI
 
Loading...
Searching...
No Matches
WSensorLeds.h
1#pragma once
2#include <RawDataSensor.h>
3
7public ref class WSensorLeds
8{
9public:
11 _leds = new SensorLeds();
12 }
13
15 _leds = new SensorLeds();
16 StatusLed = toCopy->StatusLed;
17 LogoLed = toCopy->LogoLed;
18 }
19
21 delete(_leds);
22 }
23
24 property bool StatusLed {
25 bool get() {
26 return _leds->GetStatusLed();
27 }
28 void set(bool x) {
29 _leds->SetStatusLed(x);
30 }
31 }
32 property bool LogoLed {
33 bool get() {
34 return _leds->GetLogoLed();
35 }
36 void set(bool x) {
37 _leds->SetLogoLed(x);
38 }
39 }
40
41 property SensorLeds* __native {
42 SensorLeds* get() {
43 return _leds;
44 }
45 }
46
47 static bool operator== (WSensorLeds^ pComp1, WSensorLeds^ pComp2) {
48 return pComp1->LogoLed == pComp2->LogoLed &&
49 pComp1->StatusLed == pComp2->StatusLed;
50 }
51
52 static bool operator!= (WSensorLeds^ pComp1, WSensorLeds^ pComp2) {
53 return pComp1->LogoLed != pComp2->LogoLed ||
54 pComp1->StatusLed != pComp2->StatusLed ;
55 }
56private:
57 SensorLeds* _leds;
58};
59
Helper to encapsulate the sensor leds state.
Definition SensorLeds.h:11
A wrapper on the SensorLeds data encapsulation.
Definition WSensorLeds.h:8
~WSensorLeds()
Definition WSensorLeds.h:20
WSensorLeds()
Definition WSensorLeds.h:10
property bool StatusLed
Definition WSensorLeds.h:24
WSensorLeds(WSensorLeds^ toCopy)
Definition WSensorLeds.h:14