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

Loading...
Searching...
No Matches
WWarningSpot.h
1#pragma once
2#include "../AgvSensor/WarningSpot.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 WWarningSpot
11 {
12 public:
13 WWarningSpot() {
14 _warningSpot = new WarningSpot();
15 }
16 WWarningSpot(WWarningSpot^ toCopy) {
17 _warningSpot = new WarningSpot();
18 Middle = toCopy->Middle;
19 Far = toCopy->Far;
20 }
21 ~WWarningSpot() {
22 delete(_warningSpot);
23 }
24
25
26 property unsigned int Middle {
27 unsigned int get() {
28 return _warningSpot->GetMiddle();
29 }
30 void set(unsigned int x) {
31 _warningSpot->SetMiddle(x);
32 }
33 }
34 property unsigned int Far {
35 unsigned int get() {
36 return _warningSpot->GetFar();
37 }
38 void set(unsigned int x) {
39 _warningSpot->SetFar(x);
40 }
41 }
42
43 property WarningSpot* __native {
44 WarningSpot* get() {
45 return _warningSpot;
46 }
47 }
48
49 static bool operator== (WWarningSpot^ pComp1, WWarningSpot^ pComp2) {
50 if (System::Object::ReferenceEquals(pComp1, pComp2))
51 return true;
52
53 if (System::Object::ReferenceEquals(pComp1, nullptr) ||
54 System::Object::ReferenceEquals(pComp2, nullptr)) {
55 return false;
56 }
57 return pComp1->Middle == pComp2->Middle
58 && pComp1->Far == pComp2->Far;
59 }
60
61 static bool operator!= (WWarningSpot^ pComp1, WWarningSpot^ pComp2) {
62 return !(pComp1 == pComp2);
63 }
64
65 private:
66 WarningSpot* _warningSpot;
67 };
68 }
69 }
70}
71
Com
Definition WActiveLevel.h:7
WEnumerations
Definition WEnums.h:4
WarningSpot
Definition WarningSpot.h:13
Com::AgvSensorWrapper::Structs::WWarningSpot
Definition WWarningSpot.h:11
Com::AgvSensorWrapper::Structs::WWarningSpot::Middle
property unsigned int Middle
Definition WWarningSpot.h:26
Com::AgvSensorWrapper::Structs::WWarningSpot::WWarningSpot
WWarningSpot()
Definition WWarningSpot.h:13
Com::AgvSensorWrapper::Structs::WWarningSpot::WWarningSpot
WWarningSpot(WWarningSpot^ toCopy)
Definition WWarningSpot.h:16
Com::AgvSensorWrapper::Structs::WWarningSpot::~WWarningSpot
~WWarningSpot()
Definition WWarningSpot.h:21