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

Loading...
Searching...
No Matches
WMultipleSampling.h
1#pragma once
2#include "../AgvSensor/MultipleSampling.h"
3#include "../AgvSensor/Enumerations.h"
4 namespace Com {
5 namespace AgvSensorWrapper {
6 namespace Structs {
7 public ref class WMultipleSampling
8 {
9 public:
10 WMultipleSampling() {
11 _multipleSampling = new MultipleSampling();
12 }
13
14 WMultipleSampling(WMultipleSampling^ toCopy) {
15 _multipleSampling = new MultipleSampling();
16 Protection = toCopy->Protection;
17 Warning1 = toCopy->Warning1;
18 Warning2 = toCopy->Warning2;
19 }
20 ~WMultipleSampling() {
21 delete(_multipleSampling);
22 }
23
24 property unsigned int Protection {
25 unsigned int get() {
26 return _multipleSampling->GetProtection();
27 }
28 void set(unsigned int x) {
29 _multipleSampling->SetProtection(x);
30 }
31 }
32
33 property unsigned int Warning1 {
34 unsigned int get() {
35 return _multipleSampling->GetWarning1();
36 }
37 void set(unsigned int x) {
38 _multipleSampling->SetWarning1(x);
39 }
40 }
41
42 property unsigned int Warning2 {
43 unsigned int get() {
44 return _multipleSampling->GetWarning2();
45 }
46 void set(unsigned int x) {
47 _multipleSampling->SetWarning2(x);
48 }
49 }
50
51 property MultipleSampling* __native {
52 MultipleSampling* get() {
53 return _multipleSampling;
54 }
55 }
56
57 static bool operator== (WMultipleSampling^ pComp1, WMultipleSampling^ pComp2) {
58 return pComp1->Protection == pComp2->Protection
59 && pComp1->Warning1 == pComp2->Warning1
60 && pComp1->Warning2 == pComp2->Warning2;
61 }
62
63 static bool operator!= (WMultipleSampling^ pComp1, WMultipleSampling^ pComp2) {
64 return pComp1->Protection != pComp2->Protection
65 || pComp1->Warning1 != pComp2->Warning1
66 || pComp1->Warning2 != pComp2->Warning2;
67 }
68
69 private:
70 MultipleSampling* _multipleSampling;
71 };
72 }
73 }
74}
75
Com
Definition WAgvSensor.h:26
MultipleSampling
Definition MultipleSampling.h:10
Com::AgvSensorWrapper::Structs::WMultipleSampling
Definition WMultipleSampling.h:8
Com::AgvSensorWrapper::Structs::WMultipleSampling::Protection
property unsigned int Protection
Definition WMultipleSampling.h:24
Com::AgvSensorWrapper::Structs::WMultipleSampling::~WMultipleSampling
~WMultipleSampling()
Definition WMultipleSampling.h:20
Com::AgvSensorWrapper::Structs::WMultipleSampling::WMultipleSampling
WMultipleSampling()
Definition WMultipleSampling.h:10
Com::AgvSensorWrapper::Structs::WMultipleSampling::WMultipleSampling
WMultipleSampling(WMultipleSampling^ toCopy)
Definition WMultipleSampling.h:14