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

Loading...
Searching...
No Matches
WUncoverZone.h
1#pragma once
2#include "../AgvSensor/UncoverZone.h"
3#include "../AgvSensor/Enumerations.h"
4
5 using namespace WEnumerations;
6
7 namespace Com {
8 namespace AgvSensorWrapper {
9 namespace Structs {
10 public ref class WUncoverZone
11 {
12 public:
13 WUncoverZone() {
14 _uncoveredZone = new UncoverZone();
15 }
16 WUncoverZone(WUncoverZone^ toCopy) {
17 _uncoveredZone = new UncoverZone();
18 Near = toCopy->Near;
19 Middle = toCopy->Middle;
20 Far = toCopy->Far;
21 }
22 ~WUncoverZone() {
23 delete(_uncoveredZone);
24 }
25
26
27 property UncoveredZoneSizeEnum Near {
28 UncoveredZoneSizeEnum get() {
29 return static_cast<UncoveredZoneSizeEnum>(_uncoveredZone->GetNear());
30 }
31 void set(UncoveredZoneSizeEnum x) {
32 _uncoveredZone->SetNear((NativeUncoverZoneSizeEnum)x);
33 }
34 }
35 property UncoveredZoneSizeEnum Middle {
36 UncoveredZoneSizeEnum get() {
37 return static_cast<UncoveredZoneSizeEnum>(_uncoveredZone->GetMiddle());
38 }
39 void set(UncoveredZoneSizeEnum x) {
40 _uncoveredZone->SetMiddle((NativeUncoverZoneSizeEnum)x);
41 }
42 }
43 property UncoveredZoneSizeEnum Far {
44 UncoveredZoneSizeEnum get() {
45 return static_cast<UncoveredZoneSizeEnum>(_uncoveredZone->GetFar());
46 }
47 void set(UncoveredZoneSizeEnum x) {
48 _uncoveredZone->SetFar((NativeUncoverZoneSizeEnum)x);
49 }
50 }
51
52 property UncoverZone* __native {
53 UncoverZone* get() {
54 return _uncoveredZone;
55 }
56 }
57
58 static bool operator== (WUncoverZone^ pComp1, WUncoverZone^ pComp2) {
59 if (System::Object::ReferenceEquals(pComp1, pComp2))
60 return true;
61
62 if (System::Object::ReferenceEquals(pComp1, nullptr) ||
63 System::Object::ReferenceEquals(pComp2, nullptr)) {
64 return false;
65 }
66 return pComp1->Near == pComp2->Near
67 && pComp1->Middle == pComp2->Middle
68 && pComp1->Far == pComp2->Far;
69 }
70
71 static bool operator!= (WUncoverZone^ pComp1, WUncoverZone^ pComp2) {
72 return !(pComp1 == pComp2);
73 }
74
75 private:
76 UncoverZone* _uncoveredZone;
77 };
78 }
79 }
80}
81
Com
Definition WActiveLevel.h:7
WEnumerations
Definition WEnums.h:4
WEnumerations::UncoveredZoneSizeEnum
UncoveredZoneSizeEnum
Definition WEnums.h:29
UncoverZone
Definition UncoverZone.h:13
Com::AgvSensorWrapper::Structs::WUncoverZone
Definition WUncoverZone.h:11
Com::AgvSensorWrapper::Structs::WUncoverZone::WUncoverZone
WUncoverZone()
Definition WUncoverZone.h:13
Com::AgvSensorWrapper::Structs::WUncoverZone::WUncoverZone
WUncoverZone(WUncoverZone^ toCopy)
Definition WUncoverZone.h:16
Com::AgvSensorWrapper::Structs::WUncoverZone::Near
property UncoveredZoneSizeEnum Near
Definition WUncoverZone.h:27
Com::AgvSensorWrapper::Structs::WUncoverZone::~WUncoverZone
~WUncoverZone()
Definition WUncoverZone.h:22