\doxysection{WSensor\+Leds.\+h}
\hypertarget{a00293_source}{}\label{a00293_source}\index{WSensorLeds.h@{WSensorLeds.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#include\ <RawDataSensor.h>}}
\DoxyCodeLine{00003\ }
\DoxyCodeLine{00007\ \textcolor{keyword}{public\ ref\ class}\ \mbox{\hyperlink{a00824}{WSensorLeds}}}
\DoxyCodeLine{00008\ \{}
\DoxyCodeLine{00009\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00010\ \ \ \ \ \mbox{\hyperlink{a00824_ab960eb35d92800e54ef3fc94d7ade6ee}{WSensorLeds}}()\ \{}
\DoxyCodeLine{00011\ \ \ \ \ \ \ \ \ \_leds\ =\ \textcolor{keyword}{new}\ \mbox{\hyperlink{a00796}{SensorLeds}}();}
\DoxyCodeLine{00012\ \ \ \ \ \}}
\DoxyCodeLine{00013\ }
\DoxyCodeLine{00014\ \ \ \ \ \mbox{\hyperlink{a00824_ae8191aaf1bc287298e4b8e0a6ae2a74b}{WSensorLeds}}(\mbox{\hyperlink{a00824}{WSensorLeds}}\string^\ toCopy)\ \{}
\DoxyCodeLine{00015\ \ \ \ \ \ \ \ \ \_leds\ =\ \textcolor{keyword}{new}\ \mbox{\hyperlink{a00796}{SensorLeds}}();}
\DoxyCodeLine{00016\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00824_ae67a8c1a982fa137d73e74333bb91e64}{StatusLed}}\ =\ toCopy-\/>\mbox{\hyperlink{a00824_ae67a8c1a982fa137d73e74333bb91e64}{StatusLed}};}
\DoxyCodeLine{00017\ \ \ \ \ \ \ \ \ LogoLed\ =\ toCopy-\/>LogoLed;}
\DoxyCodeLine{00018\ \ \ \ \ \}}
\DoxyCodeLine{00019\ }
\DoxyCodeLine{00020\ \ \ \ \ \mbox{\hyperlink{a00824_aafb032aa83889d6c8fd961bb7fc0c6ed}{\string~WSensorLeds}}()\ \{}
\DoxyCodeLine{00021\ \ \ \ \ \ \ \ \ \textcolor{keyword}{delete}(\_leds);}
\DoxyCodeLine{00022\ \ \ \ \ \}}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00024\ \ \ \ \ \textcolor{keyword}{property}\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{a00824_ae67a8c1a982fa137d73e74333bb91e64}{StatusLed}}\ \{}
\DoxyCodeLine{00025\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ get()\ \{}
\DoxyCodeLine{00026\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \_leds-\/>GetStatusLed();}
\DoxyCodeLine{00027\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00028\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ set(\textcolor{keywordtype}{bool}\ x)\ \{}
\DoxyCodeLine{00029\ \ \ \ \ \ \ \ \ \ \ \ \ \_leds-\/>SetStatusLed(x);}
\DoxyCodeLine{00030\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00031\ \ \ \ \ \}}
\DoxyCodeLine{00032\ \ \ \ \ \textcolor{keyword}{property}\ \textcolor{keywordtype}{bool}\ LogoLed\ \{}
\DoxyCodeLine{00033\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ get()\ \{}
\DoxyCodeLine{00034\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \_leds-\/>GetLogoLed();}
\DoxyCodeLine{00035\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00036\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ set(\textcolor{keywordtype}{bool}\ x)\ \{}
\DoxyCodeLine{00037\ \ \ \ \ \ \ \ \ \ \ \ \ \_leds-\/>SetLogoLed(x);}
\DoxyCodeLine{00038\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00039\ \ \ \ \ \}}
\DoxyCodeLine{00040\ }
\DoxyCodeLine{00041\ \ \ \ \ \textcolor{keyword}{property}\ \mbox{\hyperlink{a00796}{SensorLeds}}*\ \_\_native\ \{}
\DoxyCodeLine{00042\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00796}{SensorLeds}}*\ get()\ \{}
\DoxyCodeLine{00043\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \_leds;}
\DoxyCodeLine{00044\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00045\ \ \ \ \ \}}
\DoxyCodeLine{00046\ }
\DoxyCodeLine{00047\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{bool}\ operator==\ (\mbox{\hyperlink{a00824}{WSensorLeds}}\string^\ pComp1,\ \mbox{\hyperlink{a00824}{WSensorLeds}}\string^\ pComp2)\ \{}
\DoxyCodeLine{00048\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (System::Object::ReferenceEquals(pComp1,\ pComp2))}
\DoxyCodeLine{00049\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{true};}
\DoxyCodeLine{00050\ }
\DoxyCodeLine{00051\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (System::Object::ReferenceEquals(pComp1,\ \textcolor{keyword}{nullptr})\ ||}
\DoxyCodeLine{00052\ \ \ \ \ \ \ \ \ \ \ \ \ System::Object::ReferenceEquals(pComp2,\ \textcolor{keyword}{nullptr}))\ \{}
\DoxyCodeLine{00053\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{false};}
\DoxyCodeLine{00054\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00055\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ pComp1-\/>LogoLed\ ==\ pComp2-\/>LogoLed\ \&\&}
\DoxyCodeLine{00056\ \ \ \ \ \ \ \ \ \ \ \ \ pComp1-\/>\mbox{\hyperlink{a00824_ae67a8c1a982fa137d73e74333bb91e64}{StatusLed}}\ ==\ pComp2-\/>\mbox{\hyperlink{a00824_ae67a8c1a982fa137d73e74333bb91e64}{StatusLed}};}
\DoxyCodeLine{00057\ \ \ \ \ \}}
\DoxyCodeLine{00058\ }
\DoxyCodeLine{00059\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{bool}\ operator!=\ (\mbox{\hyperlink{a00824}{WSensorLeds}}\string^\ pComp1,\ \mbox{\hyperlink{a00824}{WSensorLeds}}\string^\ pComp2)\ \{}
\DoxyCodeLine{00060\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ !(pComp1\ ==\ pComp2);}
\DoxyCodeLine{00061\ \ \ \ \ \}}
\DoxyCodeLine{00062\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00063\ \ \ \ \ \mbox{\hyperlink{a00796}{SensorLeds}}*\ \_leds;}
\DoxyCodeLine{00064\ \};}
\DoxyCodeLine{00065\ }

\end{DoxyCode}
