\doxysection{WRaw\+Data\+Sensor.\+h}
\hypertarget{a00257_source}{}\label{a00257_source}\index{WRawDataSensor.h@{WRawDataSensor.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#include\ <RawDataSensor.h>}}
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#include\ "{}WNetworkInformation.h"{}}}
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ "{}WAngleRange.h"{}}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ "{}WContaminationThreshold.h"{}}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#include\ "{}WRawDataError.h"{}}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#include\ <List>}}
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#include\ "{}WSensorLeds.h"{}}}
\DoxyCodeLine{00009\ \textcolor{preprocessor}{\#include\ "{}WSensorLamps.h"{}}}
\DoxyCodeLine{00010\ \textcolor{preprocessor}{\#include\ <array>}}
\DoxyCodeLine{00011\ \textcolor{preprocessor}{\#include\ <BadAcknowledgmentException.h>}}
\DoxyCodeLine{00012\ \textcolor{preprocessor}{\#include\ <CommunicationException.h>}}
\DoxyCodeLine{00013\ \textcolor{preprocessor}{\#include\ <SensorErrorException.h>}}
\DoxyCodeLine{00014\ \textcolor{preprocessor}{\#include\ <ThreadCreationException.h>}}
\DoxyCodeLine{00015\ }
\DoxyCodeLine{00016\ \textcolor{preprocessor}{\#include\ "{}../StarfleetToolboxWrapper/WCommunicationStatus.h"{}}}
\DoxyCodeLine{00017\ \textcolor{preprocessor}{\#include\ "{}../StarfleetToolboxWrapper/WContaminationStatus.h"{}}}
\DoxyCodeLine{00018\ }
\DoxyCodeLine{00019\ \textcolor{preprocessor}{\#pragma\ make\_public(ConfigurationResult)}}
\DoxyCodeLine{00020\ }
\DoxyCodeLine{00021\ \textcolor{keyword}{using\ namespace\ }System::Collections;}
\DoxyCodeLine{00022\ \textcolor{keyword}{using\ namespace\ }System::Collections::Generic;}
\DoxyCodeLine{00023\ \textcolor{keyword}{using\ namespace\ }\mbox{\hyperlink{a00611}{WBase}};}
\DoxyCodeLine{00024\ \textcolor{keyword}{using\ namespace\ }\mbox{\hyperlink{a00609}{WUtils}};}
\DoxyCodeLine{00025\ \textcolor{keyword}{using\ namespace\ }\mbox{\hyperlink{a00613}{WCommunication}};}
\DoxyCodeLine{00026\ \textcolor{keyword}{using\ namespace\ }\mbox{\hyperlink{a00610}{WToolboxException}};}
\DoxyCodeLine{00027\ \textcolor{keyword}{using\ namespace\ }\mbox{\hyperlink{a00615}{WSensorData}};}
\DoxyCodeLine{00028\ \textcolor{keyword}{using\ namespace\ }System::Runtime::InteropServices;}
\DoxyCodeLine{00029\ \textcolor{keyword}{using\ namespace\ }\mbox{\hyperlink{a00612}{WEnumerations}};}
\DoxyCodeLine{00030\ }
\DoxyCodeLine{00036\ \textcolor{keyword}{public\ ref\ class}\ \mbox{\hyperlink{a00776}{WRawDataSensor}}\ :\ \textcolor{keyword}{public}\ WBaseSensor}
\DoxyCodeLine{00037\ \{}
\DoxyCodeLine{00038\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00039\ \ \ \ \ \mbox{\hyperlink{a00776_ae866187bbb35a18ce0af12db3f0d5e01}{WRawDataSensor}}()\ \ \{}
\DoxyCodeLine{00040\ \ \ \ \ \ \ \ \ \ this-\/>\_sensor\ =\ (BaseSensor*)\textcolor{keyword}{new}\ \mbox{\hyperlink{a00748}{RawDataSensor}}();}
\DoxyCodeLine{00041\ \ \ \ \ \}}
\DoxyCodeLine{00042\ }
\DoxyCodeLine{00043\ \ \ \ \ \mbox{\hyperlink{a00776_a6d139bd852766efbeb87d5cbdb524bc8}{WRawDataSensor}}(WBaseCommunication\string^\ pcomm)\ \{}
\DoxyCodeLine{00044\ \ \ \ \ \ \ \ \ \_sensor\ =\ (BaseSensor*)\textcolor{keyword}{new}\ \mbox{\hyperlink{a00748}{RawDataSensor}}(pcomm-\/>\_\_nativeCommunication);}
\DoxyCodeLine{00045\ \ \ \ \ \ \ \ \ Communication\ =\ pcomm;}
\DoxyCodeLine{00046\ \ \ \ \ \}}
\DoxyCodeLine{00047\ }
\DoxyCodeLine{00048\ \ \ \ \ \mbox{\hyperlink{a00776_ab14e0f19431a0eec2ebc5760a6d533fc}{\string~WRawDataSensor}}()\ \{}
\DoxyCodeLine{00049\ \ \ \ \ \ \ \ \ \textcolor{keyword}{delete}(\_sensor);}
\DoxyCodeLine{00050\ \ \ \ \ \}}
\DoxyCodeLine{00051\ }
\DoxyCodeLine{00055\ \ \ \ \ \mbox{\hyperlink{a00948}{WCommunicationStatus}}\string^\ \mbox{\hyperlink{a00776_a9b9b753ecd47714322d9ec6d2ccfa3ef}{Initialize}}()\textcolor{keyword}{\ override\ }\{\ \ \ \ \ }
\DoxyCodeLine{00056\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00816}{CommunicationStatus}}\ status\ =\ \_sensor-\/>Initialize();}
\DoxyCodeLine{00057\ }
\DoxyCodeLine{00058\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00948}{WCommunicationStatus}}\string^\ toReturn\ =\ gcnew\ \mbox{\hyperlink{a00948}{WCommunicationStatus}}();}
\DoxyCodeLine{00059\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{for}\ (\textcolor{keywordtype}{int}\ i\ =\ 0;\ i\ <\ status.\mbox{\hyperlink{a00816_a87cc1983ca0089337a5f71ad795dcff8}{Channels}}.size();\ i++)\ \{}
\DoxyCodeLine{00060\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00936}{WChannel}}\string^\ toAdd\ =\ gcnew\ \mbox{\hyperlink{a00936}{WChannel}}();}
\DoxyCodeLine{00061\ \ \ \ \ \ \ \ \ \ \ \ \ toAdd-\/>RawDataAvailability\ =\ \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{a00612_a99a96c318c747eed449d5f38ca4bec30}{DataAvailabilityEnum}}\textcolor{keyword}{>}(status.\mbox{\hyperlink{a00816_a87cc1983ca0089337a5f71ad795dcff8}{Channels}}[i].RawDataAvailability);}
\DoxyCodeLine{00062\ \ \ \ \ \ \ \ \ \ \ \ \ toAdd-\/>\mbox{\hyperlink{a00936_a7cc59dd4b6cab51b0f1155dde4f85a36}{Type}}\ =\ \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{a00612_ae8530ef12e9933875ded9a884118229b}{ChannelTypeEnum}}\textcolor{keyword}{>}(status.\mbox{\hyperlink{a00816_a87cc1983ca0089337a5f71ad795dcff8}{Channels}}[i].Type);}
\DoxyCodeLine{00063\ }
\DoxyCodeLine{00064\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>\mbox{\hyperlink{a00948_a8c45b6f68a51768ba69be0c4fa95c763}{Channels}}-\/>Add(toAdd);}
\DoxyCodeLine{00065\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00066\ }
\DoxyCodeLine{00067\ \ \ \ \ \ \ \ \ toReturn-\/>ErrorCode\ =\ gcnew\ \mbox{\hyperlink{a00940}{WCommunicationErrorCode}}();}
\DoxyCodeLine{00068\ \ \ \ \ \ \ \ \ toReturn-\/>ErrorCode-\/>ErrorCode\ =\ status.\mbox{\hyperlink{a00816_aa6728b7808f69b23990630e64d37fbc0}{ErrorCode}}.\mbox{\hyperlink{a00808_af710215988a642bb36b0e93f61341e9a}{ErrorCode}};}
\DoxyCodeLine{00069\ \ \ \ \ \ \ \ \ toReturn-\/>ErrorCode-\/>ErrorMeaning\ =\ gcnew\ String(status.\mbox{\hyperlink{a00816_aa6728b7808f69b23990630e64d37fbc0}{ErrorCode}}.\mbox{\hyperlink{a00808_a2411f96315b686ae04af6c8ce56432fe}{ErrorMeaning}}.c\_str());}
\DoxyCodeLine{00070\ }
\DoxyCodeLine{00071\ \ \ \ \ \ \ \ \ toReturn-\/>Status\ =\ \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{a00612_aea54c0042f80c7dffb49c66a1869f924}{ConnectionStatusEnum}}\textcolor{keyword}{>}(status.\mbox{\hyperlink{a00816_a35b90bc5c1c8a18f59c0118b1181a95a}{Status}});}
\DoxyCodeLine{00072\ }
\DoxyCodeLine{00073\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{00074\ \ \ \ \ \}}
\DoxyCodeLine{00075\ }
\DoxyCodeLine{00076\ }
\DoxyCodeLine{00080\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a00776_aa77210421ffe208391804550336a7fe6}{ResetDevice}}()\ \{}
\DoxyCodeLine{00081\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00082\ \ \ \ \ \ \ \ \ \ \ \ \ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>ResetDevice();}
\DoxyCodeLine{00083\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00084\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00085\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00086\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00087\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00088\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00089\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00090\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00091\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00092\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00093\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00094\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00095\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00096\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00097\ }
\DoxyCodeLine{00098\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00099\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00100\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00101\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00102\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00103\ \ \ \ \ \}}
\DoxyCodeLine{00104\ }
\DoxyCodeLine{00108\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a00776_ae1333804f395ba8e3d0c95aceaf3899e}{RebootDevice}}()\ \{}
\DoxyCodeLine{00109\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00110\ \ \ \ \ \ \ \ \ \ \ \ \ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>RebootDevice();}
\DoxyCodeLine{00111\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00112\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00113\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00114\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00115\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00116\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00117\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00118\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00119\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00120\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00121\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00122\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00123\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00124\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00125\ }
\DoxyCodeLine{00126\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00127\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00128\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00129\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00130\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00131\ \ \ \ \ \}}
\DoxyCodeLine{00132\ }
\DoxyCodeLine{00133\ \ \ \ \ \textcolor{comment}{//\ Command\ settings\ management}}
\DoxyCodeLine{00134\ \ \ \ \ \textcolor{comment}{//\ Data\ retrieve}}
\DoxyCodeLine{00139\ \ \ \ \ \mbox{\hyperlink{a00768}{WNetworkInformation}}\string^\ \ \mbox{\hyperlink{a00776_a9d0e13f161dc88629083689b462db38a}{GetNetworkInformation}}()\ \{}
\DoxyCodeLine{00140\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00141\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00740}{NetworkInformation}}\ toFetch\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetNetworkInformation();}
\DoxyCodeLine{00142\ }
\DoxyCodeLine{00143\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00768}{WNetworkInformation}}\string^\ toReturn\ =\ gcnew\ \mbox{\hyperlink{a00768}{WNetworkInformation}}();}
\DoxyCodeLine{00144\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>DhcpMode\ =\ toFetch.\mbox{\hyperlink{a00740_a702eb15e36c794f9e5e66d6278fd331d}{GetDhcpMode}}();}
\DoxyCodeLine{00145\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Gateway\ =\ gcnew\ String(toFetch.\mbox{\hyperlink{a00740_a3394fd679bd67aa63e83f362b0562b25}{GetGateway}}().c\_str());}
\DoxyCodeLine{00146\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>\mbox{\hyperlink{a00768_a454bfe9d0e3ac11764c3782374384bed}{IpAddress}}\ =\ gcnew\ String(toFetch.\mbox{\hyperlink{a00740_a70d8ccf293dc138d81ae694e3f5c15ea}{GetIpAddress}}().c\_str());}
\DoxyCodeLine{00147\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>IpPort\ =\ toFetch.\mbox{\hyperlink{a00740_aa0a813788fe470a03929ebbc8a974a89}{GetIpPort}}();}
\DoxyCodeLine{00148\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>SubnetMask\ =\ gcnew\ \ String(toFetch.\mbox{\hyperlink{a00740_a063ee72bd404431bca8a7569c55cec02}{GetSubnetMask}}().c\_str());}
\DoxyCodeLine{00149\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>MacAddress\ =\ gcnew\ \ String(toFetch.\mbox{\hyperlink{a00740_a781099d851537608730ae7add2dd9daf}{GetMacAddress}}().c\_str());}
\DoxyCodeLine{00150\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00151\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{00152\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00153\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00154\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00155\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00156\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00157\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00158\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00159\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00160\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00161\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00162\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00163\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00164\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00165\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00166\ }
\DoxyCodeLine{00167\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00168\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00169\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00170\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00171\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00172\ \ \ \ \ \}}
\DoxyCodeLine{00173\ }
\DoxyCodeLine{00178\ \ \ \ \ \mbox{\hyperlink{a00612_abf8c989413796342738a437f0a5e26e7}{Protocol}}\ \mbox{\hyperlink{a00776_a42fa767c38a14d3eceea45c2952c49b4}{GetRawDataExchangeMode}}()\ \{}
\DoxyCodeLine{00179\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00180\ \ \ \ \ \ \ \ \ \ \ \ \ PROTOCOL\ actual\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetRawDataExchangeMode();}
\DoxyCodeLine{00181\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (actual\ ==\ UDP)\ \{}
\DoxyCodeLine{00182\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ Protocol::Udp;}
\DoxyCodeLine{00183\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00184\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \{}
\DoxyCodeLine{00185\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ Protocol::Tcp;}
\DoxyCodeLine{00186\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00187\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00188\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00189\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00190\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00191\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00192\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00193\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00194\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00195\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00196\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00197\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00198\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00199\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00200\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00201\ }
\DoxyCodeLine{00202\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00203\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00204\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00205\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00206\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00207\ \ \ \ \ \}}
\DoxyCodeLine{00208\ }
\DoxyCodeLine{00213\ \ \ \ \ \mbox{\hyperlink{a00612_a5d6fd1d522742fe4542f5c69f0945958}{ScanPacketType}}\ \mbox{\hyperlink{a00776_aa5d528e90da963638b30ec70bd203ef0}{GetDataPacketType}}()\ \{}
\DoxyCodeLine{00214\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00215\ \ \ \ \ \ \ \ \ \ \ \ \ SCAN\_PACKET\_TYPE\ actual\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetDataPacketType();}
\DoxyCodeLine{00216\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (actual\ ==\ DISTANCE)\ \{}
\DoxyCodeLine{00217\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ScanPacketType::Distance;}
\DoxyCodeLine{00218\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00219\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \{}
\DoxyCodeLine{00220\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ScanPacketType::DistanceAndIntensity;}
\DoxyCodeLine{00221\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00222\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00223\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00224\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00225\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00226\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00227\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00228\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00229\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00230\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00231\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00232\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00233\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00234\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00235\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00236\ }
\DoxyCodeLine{00237\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00238\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00239\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00240\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00241\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00242\ \ \ \ \ \}}
\DoxyCodeLine{00243\ }
\DoxyCodeLine{00248\ \ \ \ \ \mbox{\hyperlink{a00612_aaa578ed56a38f745817d3e738ca0e00d}{AngularResolution}}\ \mbox{\hyperlink{a00776_af1f5daee03b7d01b884bc75c932674b2}{GetAngularResolution}}()\ \{}
\DoxyCodeLine{00249\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00250\ \ \ \ \ \ \ \ \ \ \ \ \ SensorResolutionFrequencyEnum\ actual\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetAngularResolution();}
\DoxyCodeLine{00251\ }
\DoxyCodeLine{00252\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{a00612_aaa578ed56a38f745817d3e738ca0e00d}{AngularResolution}}\textcolor{keyword}{>}(actual);}
\DoxyCodeLine{00253\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00254\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00255\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00256\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00257\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00258\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00259\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00260\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00261\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00262\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00263\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00264\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00265\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00266\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00267\ }
\DoxyCodeLine{00268\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00269\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00270\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00271\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00272\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00273\ \ \ \ \ \}}
\DoxyCodeLine{00274\ }
\DoxyCodeLine{00279\ \ \ \ \ \mbox{\hyperlink{a00612_a058755d750aafa521ca94a6cb94ba3ad}{ScanningDirection}}\ \mbox{\hyperlink{a00776_a70131c8d2946c9f4cabf38c248f46bef}{GetScanningDirection}}()\ \{}
\DoxyCodeLine{00280\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00281\ \ \ \ \ \ \ \ \ \ \ \ \ SCANNING\_DIRECTION\ actual\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetScanningDirection();}
\DoxyCodeLine{00282\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (actual\ ==\ CLOCKWISE)\ \{}
\DoxyCodeLine{00283\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ScanningDirection::Clockwise;}
\DoxyCodeLine{00284\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00285\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \{}
\DoxyCodeLine{00286\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ScanningDirection::CounterClockwise;}
\DoxyCodeLine{00287\ \ \ \ \ \ \ \ \ \ \ \ \ \}\ \ \ }
\DoxyCodeLine{00288\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00289\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00290\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00291\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00292\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00293\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00294\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00295\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00296\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00297\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00298\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00299\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00300\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00301\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00302\ }
\DoxyCodeLine{00303\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00304\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00305\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00306\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00307\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00308\ \ \ \ \ \}}
\DoxyCodeLine{00309\ }
\DoxyCodeLine{00314\ \ \ \ \ \mbox{\hyperlink{a00760}{WAngleRange}}\string^\ \mbox{\hyperlink{a00776_a7334127cc18c19d24f63bc63df86b58c}{GetAngleRange}}()\ \{}
\DoxyCodeLine{00315\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00316\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00760}{WAngleRange}}\string^\ toReturn\ =\ gcnew\ \mbox{\hyperlink{a00760}{WAngleRange}}();}
\DoxyCodeLine{00317\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00732}{AngleRange}}\ actual\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetAngleRange();}
\DoxyCodeLine{00318\ }
\DoxyCodeLine{00319\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>\mbox{\hyperlink{a00760_a9fbfffcb46fcead00637c640f9097461}{Start}}\ =\ actual.\mbox{\hyperlink{a00732_a9d590a92a38aaaa6c3472f1be23642ba}{GetStart}}();}
\DoxyCodeLine{00320\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Stop\ =\ actual.\mbox{\hyperlink{a00732_adbf9a152f709886770868ea9980c3fda}{GetStop}}();}
\DoxyCodeLine{00321\ }
\DoxyCodeLine{00322\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{00323\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00324\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00325\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00326\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00327\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00328\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00329\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00330\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00331\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00332\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00333\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00334\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00335\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00336\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00337\ }
\DoxyCodeLine{00338\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00339\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00340\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00341\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00342\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00343\ \ \ \ \ \}}
\DoxyCodeLine{00344\ }
\DoxyCodeLine{00349\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a00776_af8af9a45b60ef292cbc97fb975300c26}{GetSkipScan}}()\ \{}
\DoxyCodeLine{00350\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00351\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetSkipScan();}
\DoxyCodeLine{00352\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00353\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00354\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00355\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00356\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00357\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00358\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00359\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00360\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00361\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00362\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00363\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00364\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00365\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00366\ }
\DoxyCodeLine{00367\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00368\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00369\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00370\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00371\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00372\ \ \ \ \ \}}
\DoxyCodeLine{00373\ }
\DoxyCodeLine{00378\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a00776_a6981199fd043f0005f51b8be461df2ba}{GetImmunityLevel}}()\ \{}
\DoxyCodeLine{00379\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00380\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetImmunityLevel();}
\DoxyCodeLine{00381\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00382\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00383\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00384\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00385\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00386\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00387\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00388\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00389\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00390\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00391\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00392\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00393\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00394\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00395\ }
\DoxyCodeLine{00396\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00397\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00398\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00399\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00400\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00401\ \ \ \ \ \}}
\DoxyCodeLine{00402\ }
\DoxyCodeLine{00407\ \ \ \ \ \mbox{\hyperlink{a00764}{WContaminationThreshold}}\string^\ \mbox{\hyperlink{a00776_abff3b1e1385545a0c0b9f0611b100fe6}{GetContaminationThreshold}}()\ \{}
\DoxyCodeLine{00408\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00409\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00764}{WContaminationThreshold}}\string^\ toReturn\ =\ gcnew\ \mbox{\hyperlink{a00764}{WContaminationThreshold}}();}
\DoxyCodeLine{00410\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00736}{ContaminationThreshold}}\ actual\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetContaminationThreshold();}
\DoxyCodeLine{00411\ }
\DoxyCodeLine{00412\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Error\ =\ actual.\mbox{\hyperlink{a00736_a9780899787c5a7bacdebebaaeba58a27}{GetError}}();}
\DoxyCodeLine{00413\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>\mbox{\hyperlink{a00764_a12d93fc5ad2ac6656bc04fbff2306d3e}{Warning}}\ =\ actual.\mbox{\hyperlink{a00736_a0e12f8340674592531f90f9263c94493}{GetWarning}}();}
\DoxyCodeLine{00414\ }
\DoxyCodeLine{00415\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{00416\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00417\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00418\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00419\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00420\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00421\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00422\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00423\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00424\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00425\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00426\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00427\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00428\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00429\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00430\ }
\DoxyCodeLine{00431\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00432\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00433\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00434\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00435\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00436\ \ \ \ \ \}}
\DoxyCodeLine{00437\ }
\DoxyCodeLine{00442\ \ \ \ \ \mbox{\hyperlink{a00984}{WSoftwareVersion}}\string^\ \mbox{\hyperlink{a00776_ae399c195141498866a6fa63395c45e25}{GetVersion}}()\textcolor{keyword}{\ override\ \ }\{}
\DoxyCodeLine{00443\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00444\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WSoftwareVersion}}\string^\ toReturn\ =\ gcnew\ \mbox{\hyperlink{a00984}{WSoftwareVersion}}();}
\DoxyCodeLine{00445\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00896}{SoftwareVersion}}\ actual\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00896_a351bc206e725d7ade69cee12b782ae97}{GetVersion}}();}
\DoxyCodeLine{00446\ }
\DoxyCodeLine{00447\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>PartNumber\ =\ actual.\mbox{\hyperlink{a00896_aa4360137bfd2cb8866022de23a9ca579}{GetPartNumber}}();}
\DoxyCodeLine{00448\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Prototype\ =\ actual.\mbox{\hyperlink{a00896_a23d0672abbb02301d18e4e60eeccfaf1}{GetPrototype}}();}
\DoxyCodeLine{00449\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Revision\ =\ actual.\mbox{\hyperlink{a00896_a0925fea024f28847368058687ea18555}{GetRevision}}();}
\DoxyCodeLine{00450\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>HardwareVersion\ =\ actual.\mbox{\hyperlink{a00896_afbfa6b3926cb173260296738cb08e6d2}{GetHardwareVersion}}();}
\DoxyCodeLine{00451\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>CanNumber\ =\ actual.\mbox{\hyperlink{a00896_abbddce5c0911c509c97dc4b2156dc709}{GetCanNumber}}();}
\DoxyCodeLine{00452\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>\mbox{\hyperlink{a00984_a17002cab075c6ef0439b80699c146d2a}{Version}}\ =\ actual.\mbox{\hyperlink{a00896_a351bc206e725d7ade69cee12b782ae97}{GetVersion}}();}
\DoxyCodeLine{00453\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{switch}\ (actual.\mbox{\hyperlink{a00896_a7909207e7ef81a446b11324d90d846a8}{GetProductIdentification}}())\ \{}
\DoxyCodeLine{00454\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ RAW\_DATA:}
\DoxyCodeLine{00455\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>ProductTypeIdentification\ =\ ProductIdentification::RawData;}
\DoxyCodeLine{00456\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{00457\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ NAVIGATION:}
\DoxyCodeLine{00458\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>ProductTypeIdentification\ =\ ProductIdentification::Navigation;}
\DoxyCodeLine{00459\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{00460\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ ANTI\_COLLISION:}
\DoxyCodeLine{00461\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>ProductTypeIdentification\ =\ ProductIdentification::AntiCollision;}
\DoxyCodeLine{00462\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{00463\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ ROD\_300:}
\DoxyCodeLine{00464\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>ProductTypeIdentification\ =\ ProductIdentification::Rod300;}
\DoxyCodeLine{00465\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{00466\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ ROD\_500:}
\DoxyCodeLine{00467\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>ProductTypeIdentification\ =\ ProductIdentification::Rod500;}
\DoxyCodeLine{00468\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{00469\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ ROD\_120:}
\DoxyCodeLine{00470\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>ProductTypeIdentification\ =\ ProductIdentification::Rod120;}
\DoxyCodeLine{00471\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{00472\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ ROD\_130:}
\DoxyCodeLine{00473\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>ProductTypeIdentification\ =\ ProductIdentification::Rod130;}
\DoxyCodeLine{00474\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{00475\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{default}:}
\DoxyCodeLine{00476\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>ProductTypeIdentification\ =\ ProductIdentification::Unknown;}
\DoxyCodeLine{00477\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{00478\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00479\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00480\ }
\DoxyCodeLine{00481\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{00482\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00483\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00484\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00485\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00486\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00487\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00488\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00489\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00490\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00491\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00492\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00493\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00494\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00495\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00496\ }
\DoxyCodeLine{00497\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00498\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00499\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00500\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00501\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00502\ \ \ \ \ \}}
\DoxyCodeLine{00503\ }
\DoxyCodeLine{00508\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a00776_a25c293a51ebd64e3f10adfc6768b73cb}{GetPlatformVersion}}()\textcolor{keyword}{\ override\ }\{}
\DoxyCodeLine{00509\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00510\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ platformVersion\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetPlatformVersion();}
\DoxyCodeLine{00511\ }
\DoxyCodeLine{00512\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ platformVersion;}
\DoxyCodeLine{00513\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00514\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00515\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00516\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00517\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00518\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00519\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00520\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00521\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00522\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00523\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00524\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00525\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00526\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00527\ }
\DoxyCodeLine{00528\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00529\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00530\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00531\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00532\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00533\ \ \ \ \ \}}
\DoxyCodeLine{00534\ }
\DoxyCodeLine{00539\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a00776_a05ed32948ab216dff983033f4446f1bb}{GetTemperature}}()\textcolor{keyword}{\ override\ }\{}
\DoxyCodeLine{00540\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00541\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetTemperature();}
\DoxyCodeLine{00542\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00543\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00544\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00545\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00546\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00547\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00548\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00549\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00550\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00551\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00552\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00553\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00554\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00555\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00556\ }
\DoxyCodeLine{00557\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00558\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00559\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00560\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00561\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00562\ \ \ \ \ \}}
\DoxyCodeLine{00563\ }
\DoxyCodeLine{00568\ \ \ \ \ List<WRawDataError\string^>\string^\ \mbox{\hyperlink{a00776_ad2faaecfaa05e7445a66a021e84bacef}{GetErrorLog}}()\ \{}
\DoxyCodeLine{00569\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00570\ \ \ \ \ \ \ \ \ \ \ \ \ vector<RawDataError>\ actual\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetErrorLog();}
\DoxyCodeLine{00571\ \ \ \ \ \ \ \ \ \ \ \ \ List<WRawDataError\string^>\string^\ toReturn\ =\ gcnew\ List<WRawDataError\string^>();}
\DoxyCodeLine{00572\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00772}{WRawDataError}}\string^\ toAdd;}
\DoxyCodeLine{00573\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{for}\ (\textcolor{keywordtype}{int}\ i\ =\ 0;\ i\ <\ actual.size();\ i++)\ \{}
\DoxyCodeLine{00574\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toAdd\ =\ gcnew\ \mbox{\hyperlink{a00772}{WRawDataError}}();}
\DoxyCodeLine{00575\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toAdd-\/>\mbox{\hyperlink{a00772_ae77dd6b9b729ff3c80dad0b7dc3c93f9}{ErrorCode}}\ =\ actual[i].GetErrorCode();}
\DoxyCodeLine{00576\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toAdd-\/>ErrorDate\ =\ actual[i].GetErrorDate();}
\DoxyCodeLine{00577\ }
\DoxyCodeLine{00578\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Add(toAdd);}
\DoxyCodeLine{00579\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00580\ }
\DoxyCodeLine{00581\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{00582\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00583\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00584\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00585\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00586\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00587\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00588\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00589\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00590\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00591\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00592\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00593\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00594\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00595\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00596\ }
\DoxyCodeLine{00597\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00598\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00599\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00600\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00601\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00602\ \ \ \ \ \}}
\DoxyCodeLine{00603\ }
\DoxyCodeLine{00608\ \ \ \ \ \mbox{\hyperlink{a00784}{WSensorLeds}}\string^\ \mbox{\hyperlink{a00776_a8abe148c841b7b12d57cf767847321f6}{GetSensorLeds}}()\ \{}
\DoxyCodeLine{00609\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00610\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00756}{SensorLeds}}\ actual\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetSensorLeds();}
\DoxyCodeLine{00611\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00784}{WSensorLeds}}\string^\ toReturn\ =\ gcnew\ \mbox{\hyperlink{a00784}{WSensorLeds}}();}
\DoxyCodeLine{00612\ }
\DoxyCodeLine{00613\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>LogoLed\ =\ actual.\mbox{\hyperlink{a00756_a5c12b2cbfbf43400436c1427be936568}{GetLogoLed}}();}
\DoxyCodeLine{00614\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>\mbox{\hyperlink{a00784_ae67a8c1a982fa137d73e74333bb91e64}{StatusLed}}\ =\ actual.\mbox{\hyperlink{a00756_aac4453ff31990f20c9b319d726c366eb}{GetStatusLed}}();}
\DoxyCodeLine{00615\ }
\DoxyCodeLine{00616\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{00617\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00618\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00619\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00620\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00621\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00622\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00623\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00624\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00625\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00626\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00627\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00628\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00629\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00630\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00631\ }
\DoxyCodeLine{00632\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00633\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00634\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00635\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00636\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00637\ \ \ \ \ \}}
\DoxyCodeLine{00638\ }
\DoxyCodeLine{00643\ \ \ \ \ \mbox{\hyperlink{a00780}{WSensorLamps}}\string^\ \mbox{\hyperlink{a00776_afb235592b1352ab87d27c20fec0bc378}{GetSensorLamps}}()\ \{\ \ \ \ \ \ }
\DoxyCodeLine{00644\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00645\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00780}{WSensorLamps}}\string^\ toReturn\ =\ gcnew\ \mbox{\hyperlink{a00780}{WSensorLamps}}();}
\DoxyCodeLine{00646\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00752}{SensorLamps}}\ actual\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetSensorLamps();}
\DoxyCodeLine{00647\ }
\DoxyCodeLine{00648\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>\mbox{\hyperlink{a00780_a8c1b5573fecf18ba416b4aaa12f0efa8}{Led1}}\ =\ (LedColor)actual.\mbox{\hyperlink{a00752_ab8f02baf5d9ad259a7c4f6cec29db3fe}{GetLed1}}();}
\DoxyCodeLine{00649\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Led2\ =\ (LedColor)actual.\mbox{\hyperlink{a00752_a82789c3f3d5b3ad2137d9a127c27bde7}{GetLed2}}();}
\DoxyCodeLine{00650\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Led3\ =\ (LedColor)actual.\mbox{\hyperlink{a00752_a319f00c6c387d5e94fbaad7e1fd7dde1}{GetLed3}}();}
\DoxyCodeLine{00651\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Led4\ =\ (LedColor)actual.\mbox{\hyperlink{a00752_a19250eee3b4e8e7591edd172682323ea}{GetLed4}}();}
\DoxyCodeLine{00652\ }
\DoxyCodeLine{00653\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{00654\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00655\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00656\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00657\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00658\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00659\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00660\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00661\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00662\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00663\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00664\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00665\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00666\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00667\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00668\ }
\DoxyCodeLine{00669\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00670\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00671\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00672\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00673\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00674\ \ \ \ \ \}}
\DoxyCodeLine{00675\ }
\DoxyCodeLine{00680\ \ \ \ \ \textcolor{keywordtype}{long}\ \mbox{\hyperlink{a00776_a9bdd5306c3964e792df3881d44e1666f}{GetRuntimeHours}}()\textcolor{keyword}{\ override\ }\{}
\DoxyCodeLine{00681\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00682\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{long}\ actual\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetRuntimeHours();}
\DoxyCodeLine{00683\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ actual;}
\DoxyCodeLine{00684\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00685\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00686\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00687\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00688\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00689\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00690\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00691\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00692\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00693\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00694\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00695\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00696\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00697\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00698\ }
\DoxyCodeLine{00699\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00700\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00701\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00702\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00703\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00704\ \ \ \ \ \}}
\DoxyCodeLine{00705\ }
\DoxyCodeLine{00710\ \ \ \ \ String\string^\ \mbox{\hyperlink{a00776_a4b5ced75d70220c41ddc1eb1f4431a79}{GetDeviceName}}()\textcolor{keyword}{\ override\ }\{}
\DoxyCodeLine{00711\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00712\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{string}\ actual\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetDeviceName();}
\DoxyCodeLine{00713\ }
\DoxyCodeLine{00714\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ gcnew\ String(actual.c\_str());}
\DoxyCodeLine{00715\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00716\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00717\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00718\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00719\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00720\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00721\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00722\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00723\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00724\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00725\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00726\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00727\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00728\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00729\ }
\DoxyCodeLine{00730\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00731\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00732\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00733\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00734\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00735\ \ \ \ \ \}}
\DoxyCodeLine{00736\ }
\DoxyCodeLine{00741\ \ \ \ \ \mbox{\hyperlink{a00612_a2aa4fd4bb9837a91e0878ebdd1355b78}{FilterStatus}}\ \mbox{\hyperlink{a00776_ad904dc6b371d62ca26786335c76d1281}{GetFilterStatus}}()\ \{}
\DoxyCodeLine{00742\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00743\ \ \ \ \ \ \ \ \ \ \ \ \ FILTER\_STATUS\ actual\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetFilterStatus();}
\DoxyCodeLine{00744\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (actual\ ==\ FILTER\_OFF)\ \{}
\DoxyCodeLine{00745\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ FilterStatus::Off;}
\DoxyCodeLine{00746\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00747\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \{}
\DoxyCodeLine{00748\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ FilterStatus::On;}
\DoxyCodeLine{00749\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00750\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00751\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00752\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00753\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00754\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00755\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00756\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00757\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00758\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00759\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00760\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00761\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00762\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00763\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00764\ }
\DoxyCodeLine{00765\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00766\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00767\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00768\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00769\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00770\ \ \ \ \ \}}
\DoxyCodeLine{00775\ \ \ \ \ \mbox{\hyperlink{a00612_a9d1f8f6ed22be7b4163130c279bb488e}{WindowCalibrationStatus}}\ \mbox{\hyperlink{a00776_ab323bb67ed480e356be58294a7a6778e}{GetWindowCalibrationStatus}}()\ \{}
\DoxyCodeLine{00776\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00777\ \ \ \ \ \ \ \ \ \ \ \ \ WINDOW\_CALIBRATION\ actual\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetWindowCalibrationStatus();}
\DoxyCodeLine{00778\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (actual\ ==\ PROCESSING)\ \{}
\DoxyCodeLine{00779\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ WindowCalibrationStatus::Processing;}
\DoxyCodeLine{00780\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00781\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (actual\ ==\ DONE)\ \{}
\DoxyCodeLine{00782\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ WindowCalibrationStatus::Done;}
\DoxyCodeLine{00783\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00784\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \{}
\DoxyCodeLine{00785\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ WindowCalibrationStatus::Failed;}
\DoxyCodeLine{00786\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00787\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00788\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00789\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00790\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00791\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00792\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00793\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00794\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00795\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00796\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00797\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00798\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00799\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00800\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00801\ }
\DoxyCodeLine{00802\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00803\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00804\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00805\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00806\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00807\ \ \ \ \ \}}
\DoxyCodeLine{00808\ }
\DoxyCodeLine{00814\ \ \ \ \ \mbox{\hyperlink{a00952}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00776_a0f0b3c680ee7ba09693bc2d40da9f6e3}{SetNetworkInformation}}(\mbox{\hyperlink{a00768}{WNetworkInformation}}\string^\ pNetwork)\ \{}
\DoxyCodeLine{00815\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00816\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00776_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00776_a0f0b3c680ee7ba09693bc2d40da9f6e3}{SetNetworkInformation}}(*pNetwork-\/>\_\_native));}
\DoxyCodeLine{00817\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00818\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00819\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00820\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00821\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00822\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00823\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00824\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00825\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00826\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00827\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00828\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00829\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00830\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00831\ }
\DoxyCodeLine{00832\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00833\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00834\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00835\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00836\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00837\ \ \ \ \ \}}
\DoxyCodeLine{00838\ }
\DoxyCodeLine{00844\ \ \ \ \ \mbox{\hyperlink{a00952}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00776_ac3cc5ede8cf324fc4479c5b42d247054}{SetRawDataExchangeMode}}(\mbox{\hyperlink{a00612_abf8c989413796342738a437f0a5e26e7}{Protocol}}\ pProtocol)\ \{\ \ \ \ }
\DoxyCodeLine{00845\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00846\ \ \ \ \ \ \ \ \ \ \ \ \ PROTOCOL\ toSet\ =\ -\/1;}
\DoxyCodeLine{00847\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (pProtocol\ ==\ Protocol::Tcp)\ \{}
\DoxyCodeLine{00848\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ TCP;}
\DoxyCodeLine{00849\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00850\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \{}
\DoxyCodeLine{00851\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ UDP;}
\DoxyCodeLine{00852\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00853\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00776_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00776_ac3cc5ede8cf324fc4479c5b42d247054}{SetRawDataExchangeMode}}(toSet));}
\DoxyCodeLine{00854\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00855\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00856\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00857\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00858\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00859\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00860\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00861\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00862\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00863\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00864\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00865\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00866\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00867\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00868\ }
\DoxyCodeLine{00869\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00870\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00871\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00872\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00873\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00874\ \ \ \ \ \}}
\DoxyCodeLine{00875\ }
\DoxyCodeLine{00881\ \ \ \ \ \mbox{\hyperlink{a00952}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00776_aa86bef34e41361c0757ae6641462e6a7}{SetDataPacketType}}(\mbox{\hyperlink{a00612_a5d6fd1d522742fe4542f5c69f0945958}{ScanPacketType}}\ pPacketType)\ \{}
\DoxyCodeLine{00882\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00883\ \ \ \ \ \ \ \ \ \ \ \ \ SCAN\_PACKET\_TYPE\ toSet\ =\ -\/1;}
\DoxyCodeLine{00884\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (pPacketType\ ==\ ScanPacketType::Distance)\ \{}
\DoxyCodeLine{00885\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ DISTANCE;}
\DoxyCodeLine{00886\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00887\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \{}
\DoxyCodeLine{00888\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ DISTANCE\_INTENSITY;}
\DoxyCodeLine{00889\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00890\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00776_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00776_aa86bef34e41361c0757ae6641462e6a7}{SetDataPacketType}}(toSet));}
\DoxyCodeLine{00891\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00892\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00893\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00894\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00895\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00896\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00897\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00898\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00899\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00900\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00901\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00902\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00903\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00904\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00905\ }
\DoxyCodeLine{00906\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00907\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00908\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00909\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00910\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00911\ \ \ \ \ \}}
\DoxyCodeLine{00912\ }
\DoxyCodeLine{00918\ \ \ \ \ \mbox{\hyperlink{a00952}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00776_a8aa312d461eec60e86b545388093dc1e}{SetAngularResolution}}(\mbox{\hyperlink{a00612_aaa578ed56a38f745817d3e738ca0e00d}{AngularResolution}}\ pResolution)\ \{}
\DoxyCodeLine{00919\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00920\ \ \ \ \ \ \ \ \ \ \ \ \ SensorResolutionFrequencyEnum\ toSet\ =\ \textcolor{keyword}{static\_cast<}SensorResolutionFrequencyEnum\textcolor{keyword}{>}(pResolution);}
\DoxyCodeLine{00921\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00922\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00776_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00776_a8aa312d461eec60e86b545388093dc1e}{SetAngularResolution}}(toSet));}
\DoxyCodeLine{00923\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00924\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00925\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00926\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00927\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00928\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00929\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00930\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00931\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00932\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00933\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00934\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00935\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00936\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00937\ }
\DoxyCodeLine{00938\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00939\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00940\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00941\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00942\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00943\ \ \ \ \ \}}
\DoxyCodeLine{00944\ }
\DoxyCodeLine{00950\ \ \ \ \ \mbox{\hyperlink{a00952}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00776_aa0251b2abe99b057acb783b06e7b29ff}{SetScanningDirection}}(\mbox{\hyperlink{a00612_a058755d750aafa521ca94a6cb94ba3ad}{ScanningDirection}}\ pScanDirection)\ \{}
\DoxyCodeLine{00951\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00952\ \ \ \ \ \ \ \ \ \ \ \ \ SCANNING\_DIRECTION\ toSet\ =\ -\/1;}
\DoxyCodeLine{00953\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (pScanDirection\ ==\ ScanningDirection::Clockwise)\ \{}
\DoxyCodeLine{00954\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ CLOCKWISE;}
\DoxyCodeLine{00955\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00956\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \{}
\DoxyCodeLine{00957\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ COUNTER\_CLOCKWISE;}
\DoxyCodeLine{00958\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00959\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00776_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00776_aa0251b2abe99b057acb783b06e7b29ff}{SetScanningDirection}}(toSet));}
\DoxyCodeLine{00960\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00961\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00962\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00963\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00964\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00965\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00966\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00967\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00968\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00969\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00970\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00971\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00972\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00973\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00974\ }
\DoxyCodeLine{00975\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00976\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00977\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00978\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00979\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00980\ \ \ \ \ \}}
\DoxyCodeLine{00981\ }
\DoxyCodeLine{00987\ \ \ \ \ \mbox{\hyperlink{a00952}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00776_af9314814d4f3c663a39279ebbe70c183}{SetAngleRange}}(\mbox{\hyperlink{a00760}{WAngleRange}}\string^\ pAngleRange)\ \{}
\DoxyCodeLine{00988\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00989\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00776_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00776_af9314814d4f3c663a39279ebbe70c183}{SetAngleRange}}(*pAngleRange-\/>\_\_native));}
\DoxyCodeLine{00990\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00991\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00992\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00993\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00994\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00995\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00996\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00997\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00998\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00999\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01000\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{01001\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01002\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{01003\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01004\ }
\DoxyCodeLine{01005\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01006\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{01007\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01008\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01009\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01010\ \ \ \ \ \}}
\DoxyCodeLine{01011\ }
\DoxyCodeLine{01017\ \ \ \ \ \mbox{\hyperlink{a00952}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00776_af2dcb745e68c223a98f3665d265061d2}{SetSkipScan}}(\textcolor{keywordtype}{int}\ pSkipScan)\ \{}
\DoxyCodeLine{01018\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{01019\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00776_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00776_af2dcb745e68c223a98f3665d265061d2}{SetSkipScan}}(pSkipScan));}
\DoxyCodeLine{01020\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01021\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{01022\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01023\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01024\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01025\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{01026\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01027\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{01028\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01029\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01030\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{01031\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01032\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{01033\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01034\ }
\DoxyCodeLine{01035\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01036\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{01037\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01038\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01039\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01040\ \ \ \ \ \}}
\DoxyCodeLine{01041\ }
\DoxyCodeLine{01042\ }
\DoxyCodeLine{01048\ \ \ \ \ \mbox{\hyperlink{a00952}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00776_a80c0cbe1a38b2901273e8c1ff68b7668}{SetImmunityLevel}}(\textcolor{keywordtype}{int}\ pImmunityLevel)\ \{}
\DoxyCodeLine{01049\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{01050\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00776_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00776_a80c0cbe1a38b2901273e8c1ff68b7668}{SetImmunityLevel}}(pImmunityLevel));}
\DoxyCodeLine{01051\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01052\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{01053\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01054\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01055\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01056\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{01057\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01058\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{01059\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01060\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01061\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{01062\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01063\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{01064\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01065\ }
\DoxyCodeLine{01066\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01067\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{01068\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01069\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01070\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01071\ \ \ \ \ \}}
\DoxyCodeLine{01072\ }
\DoxyCodeLine{01078\ \ \ \ \ \mbox{\hyperlink{a00952}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00776_a57ec51a6077207357149aef33a536404}{SetContaminationThreshold}}(\mbox{\hyperlink{a00764}{WContaminationThreshold}}\string^\ pContaminationThreshold)\ \{}
\DoxyCodeLine{01079\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{01080\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00776_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00776_a57ec51a6077207357149aef33a536404}{SetContaminationThreshold}}(*pContaminationThreshold-\/>\_\_native));}
\DoxyCodeLine{01081\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01082\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{01083\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01084\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01085\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01086\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{01087\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01088\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{01089\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01090\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01091\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{01092\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01093\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{01094\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01095\ }
\DoxyCodeLine{01096\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01097\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{01098\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01099\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01100\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01101\ \ \ \ \ \}}
\DoxyCodeLine{01102\ }
\DoxyCodeLine{01108\ \ \ \ \ \mbox{\hyperlink{a00952}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00776_a739dda50a48d4fb7c2b3ead6369d2469}{SetSensorLeds}}(\mbox{\hyperlink{a00784}{WSensorLeds}}\string^\ pLeds)\ \{}
\DoxyCodeLine{01109\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{01110\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00776_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00776_a739dda50a48d4fb7c2b3ead6369d2469}{SetSensorLeds}}(*pLeds-\/>\_\_native));}
\DoxyCodeLine{01111\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01112\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{01113\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01114\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01115\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01116\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{01117\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01118\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{01119\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01120\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01121\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{01122\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01123\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{01124\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01125\ }
\DoxyCodeLine{01126\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01127\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{01128\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01129\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01130\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01131\ \ \ \ \ \}}
\DoxyCodeLine{01132\ }
\DoxyCodeLine{01133\ }
\DoxyCodeLine{01138\ \ \ \ \ \mbox{\hyperlink{a00952}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00776_aa18762a6bb87d28034317c66a5d3bf00}{SetDeviceName}}(String\string^\ pName)\textcolor{keyword}{\ override\ \ }\{}
\DoxyCodeLine{01139\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{01140\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00776_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00776_aa18762a6bb87d28034317c66a5d3bf00}{SetDeviceName}}(\mbox{\hyperlink{a01004_abd61f8446cca891042dd652174c59385}{WConverter::ConvertToNativeString}}(pName)));}
\DoxyCodeLine{01141\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01142\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{01143\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01144\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01145\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01146\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{01147\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01148\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{01149\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01150\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01151\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{01152\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01153\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{01154\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01155\ }
\DoxyCodeLine{01156\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01157\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{01158\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01159\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01160\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01161\ \ \ \ \ \}}
\DoxyCodeLine{01162\ }
\DoxyCodeLine{01168\ \ \ \ \ \mbox{\hyperlink{a00952}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00776_a0e7c6faa04620388564a40c20e447067}{SetFilterStatus}}(\mbox{\hyperlink{a00612_a2aa4fd4bb9837a91e0878ebdd1355b78}{FilterStatus}}\ pFilterStatus)\ \{}
\DoxyCodeLine{01169\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{01170\ \ \ \ \ \ \ \ \ \ \ \ \ FILTER\_STATUS\ toSet\ =\ -\/1;}
\DoxyCodeLine{01171\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (pFilterStatus\ ==\ FilterStatus::Off)\ \{}
\DoxyCodeLine{01172\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ FILTER\_OFF;}
\DoxyCodeLine{01173\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01174\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \{}
\DoxyCodeLine{01175\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ FILTER\_ON;}
\DoxyCodeLine{01176\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01177\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00776_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00776_a0e7c6faa04620388564a40c20e447067}{SetFilterStatus}}(toSet));}
\DoxyCodeLine{01178\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01179\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{01180\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01181\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01182\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01183\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{01184\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01185\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{01186\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01187\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01188\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{01189\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01190\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{01191\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01192\ }
\DoxyCodeLine{01193\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01194\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{01195\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01196\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01197\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01198\ \ \ \ \ \}}
\DoxyCodeLine{01199\ }
\DoxyCodeLine{01203\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a00776_a798033cc91749d3c9fb84d65f6ce0d62}{StartWindowCalibrationStatus}}()\ \{}
\DoxyCodeLine{01204\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{01205\ \ \ \ \ \ \ \ \ \ \ \ \ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>StartWindowCalibration();}
\DoxyCodeLine{01206\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01207\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{01208\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01209\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01210\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01211\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{01212\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01213\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{01214\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01215\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01216\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{01217\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01218\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{01219\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01220\ }
\DoxyCodeLine{01221\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01222\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{01223\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01224\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01225\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01226\ \ \ \ \ \}}
\DoxyCodeLine{01227\ }
\DoxyCodeLine{01228\ }
\DoxyCodeLine{01229\ \ \ \ \ \mbox{\hyperlink{a00976}{WRawData}}\string^\ \mbox{\hyperlink{a00776_a7e1ab262982995b9d4066bd2549d022f}{RetrieveRawData}}()\ \{}
\DoxyCodeLine{01230\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{01231\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00888}{RawData}}\ data\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>RetrieveRawData();}
\DoxyCodeLine{01232\ }
\DoxyCodeLine{01233\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00976}{WRawData}}\string^\ toReturn\ =\ gcnew\ \mbox{\hyperlink{a00976}{WRawData}}();}
\DoxyCodeLine{01234\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//if\ (this-\/>Communication-\/>IsConnected())\ \{}}
\DoxyCodeLine{01235\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (data.\mbox{\hyperlink{a00888_ac9d3f7ac2976756f80850d8103756816}{\_scanCount}}\ >\ 0)\ \{}
\DoxyCodeLine{01236\ }
\DoxyCodeLine{01237\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Angles\ =\ gcnew\ cli::array<double>(data.\mbox{\hyperlink{a00888_ac9d3f7ac2976756f80850d8103756816}{\_scanCount}});}
\DoxyCodeLine{01238\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Distances\ =\ gcnew\ cli::array<double>(data.\mbox{\hyperlink{a00888_ac9d3f7ac2976756f80850d8103756816}{\_scanCount}});}
\DoxyCodeLine{01239\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Intensities\ =\ gcnew\ cli::array<double>(data.\mbox{\hyperlink{a00888_ac9d3f7ac2976756f80850d8103756816}{\_scanCount}});}
\DoxyCodeLine{01240\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>\mbox{\hyperlink{a00976_a12fb069527e6df30f781e2cb9ec77398}{Indexes}}\ =\ gcnew\ cli::array<int>(data.\mbox{\hyperlink{a00888_ac9d3f7ac2976756f80850d8103756816}{\_scanCount}});}
\DoxyCodeLine{01241\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Timestamps\ =\ gcnew\ cli::array<double>(data.\mbox{\hyperlink{a00888_ac9d3f7ac2976756f80850d8103756816}{\_scanCount}});}
\DoxyCodeLine{01242\ }
\DoxyCodeLine{01243\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//pin\_ptr<long>\ indexesStart\ =\ \&toReturn-\/>Indexes[0];}}
\DoxyCodeLine{01244\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//memcpy(indexesStart,\ data.\_indexes,\ data.\_scanCount\ *\ sizeof(int));}}
\DoxyCodeLine{01245\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Marshal::Copy(IntPtr((\textcolor{keywordtype}{void}*)data.\mbox{\hyperlink{a00888_a7d0a945f6e0fe4629e77032802811bd9}{\_indexes}}),\ toReturn-\/>\mbox{\hyperlink{a00976_a12fb069527e6df30f781e2cb9ec77398}{Indexes}},\ 0,\ data.\mbox{\hyperlink{a00888_ac9d3f7ac2976756f80850d8103756816}{\_scanCount}});}
\DoxyCodeLine{01246\ }
\DoxyCodeLine{01247\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//pin\_ptr<double>\ timestampsStart\ =\ \&toReturn-\/>Timestamps[0];}}
\DoxyCodeLine{01248\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//memcpy(timestampsStart,\ data.\_timestamps,\ data.\_scanCount\ *\ sizeof(double));}}
\DoxyCodeLine{01249\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Marshal::Copy(IntPtr((\textcolor{keywordtype}{void}*)data.\mbox{\hyperlink{a00888_a9f3a46a65608e9ba34791ec435b7dbdc}{\_timestamps}}),\ toReturn-\/>Timestamps,\ 0,\ data.\mbox{\hyperlink{a00888_ac9d3f7ac2976756f80850d8103756816}{\_scanCount}});}
\DoxyCodeLine{01250\ }
\DoxyCodeLine{01251\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//pin\_ptr<double>\ anglesStart\ =\ \&toReturn-\/>Angles[0];}}
\DoxyCodeLine{01252\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//memcpy(anglesStart,\ data.\_angles,\ data.\_scanCount\ *\ sizeof(double));}}
\DoxyCodeLine{01253\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Marshal::Copy(IntPtr((\textcolor{keywordtype}{void}*)data.\mbox{\hyperlink{a00888_a8a1625469825778b4b4fc31b4f28a680}{\_angles}}),\ toReturn-\/>Angles,\ 0,\ data.\mbox{\hyperlink{a00888_ac9d3f7ac2976756f80850d8103756816}{\_scanCount}});}
\DoxyCodeLine{01254\ }
\DoxyCodeLine{01255\ }
\DoxyCodeLine{01256\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//pin\_ptr<double>\ distanceStart\ =\ \&toReturn-\/>Distances[0];}}
\DoxyCodeLine{01257\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//memcpy(distanceStart,\ data.\_distance,\ data.\_scanCount\ *\ sizeof(double));}}
\DoxyCodeLine{01258\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Marshal::Copy(IntPtr((\textcolor{keywordtype}{void}*)data.\mbox{\hyperlink{a00888_a932f9c5bd1d0f396eb782824df8d6af3}{\_distances}}),\ toReturn-\/>Distances,\ 0,\ data.\mbox{\hyperlink{a00888_ac9d3f7ac2976756f80850d8103756816}{\_scanCount}});}
\DoxyCodeLine{01259\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{01260\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (data.\mbox{\hyperlink{a00888_af17340333a6847c14403d712bf076a1d}{\_intensities}}\ !=\ NULL)\ \{}
\DoxyCodeLine{01261\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{/*pin\_ptr<double>\ intensitiesStart\ =\ \&toReturn-\/>Intensities[0];}}
\DoxyCodeLine{01262\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ memcpy(intensitiesStart,\ data.\_intensities,\ data.\_scanCount\ *\ sizeof(double));*/}}
\DoxyCodeLine{01263\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Marshal::Copy(IntPtr((\textcolor{keywordtype}{void}*)data.\mbox{\hyperlink{a00888_af17340333a6847c14403d712bf076a1d}{\_intensities}}),\ toReturn-\/>Intensities,\ 0,\ data.\mbox{\hyperlink{a00888_ac9d3f7ac2976756f80850d8103756816}{\_scanCount}});}
\DoxyCodeLine{01264\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01265\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \{}
\DoxyCodeLine{01266\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{double}*\ dummy\ =\ (\textcolor{keywordtype}{double}*)malloc(data.\mbox{\hyperlink{a00888_ac9d3f7ac2976756f80850d8103756816}{\_scanCount}}\ *\ \textcolor{keyword}{sizeof}(\textcolor{keywordtype}{double}));}
\DoxyCodeLine{01267\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ fill\_n(dummy,\ data.\mbox{\hyperlink{a00888_ac9d3f7ac2976756f80850d8103756816}{\_scanCount}},\ -\/1);}
\DoxyCodeLine{01268\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Marshal::Copy(IntPtr((\textcolor{keywordtype}{void}*)dummy),\ toReturn-\/>Intensities,\ 0,\ data.\mbox{\hyperlink{a00888_ac9d3f7ac2976756f80850d8103756816}{\_scanCount}});}
\DoxyCodeLine{01269\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ free(dummy);}
\DoxyCodeLine{01270\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01271\ }
\DoxyCodeLine{01272\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ free(data.\mbox{\hyperlink{a00888_a7d0a945f6e0fe4629e77032802811bd9}{\_indexes}});}
\DoxyCodeLine{01273\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ free(data.\mbox{\hyperlink{a00888_a9f3a46a65608e9ba34791ec435b7dbdc}{\_timestamps}});}
\DoxyCodeLine{01274\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ free(data.\mbox{\hyperlink{a00888_a8a1625469825778b4b4fc31b4f28a680}{\_angles}});}
\DoxyCodeLine{01275\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ free(data.\mbox{\hyperlink{a00888_a932f9c5bd1d0f396eb782824df8d6af3}{\_distances}});}
\DoxyCodeLine{01276\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ free(data.\mbox{\hyperlink{a00888_af17340333a6847c14403d712bf076a1d}{\_intensities}});}
\DoxyCodeLine{01277\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01278\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//\}}}
\DoxyCodeLine{01279\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{01280\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01281\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{01282\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01283\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01284\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01285\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{01286\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01287\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{01288\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01289\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01290\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{01291\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01292\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{01293\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01294\ }
\DoxyCodeLine{01295\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01296\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{01297\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01298\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01299\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01300\ \ \ \ \ \}}
\DoxyCodeLine{01301\ }
\DoxyCodeLine{01305\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a00776_ac9537d5d122f3eccf78a4929eb0c56e4}{SendMdi}}()}
\DoxyCodeLine{01306\ \ \ \ \ \{}
\DoxyCodeLine{01307\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{01308\ \ \ \ \ \ \ \ \ \ \ \ \ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>SendMdi();}
\DoxyCodeLine{01309\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01310\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{01311\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01312\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01313\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01314\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{01315\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01316\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{01317\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01318\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01319\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{01320\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01321\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{01322\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01323\ }
\DoxyCodeLine{01324\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01325\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{01326\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01327\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01328\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01329\ \ \ \ \ \}}
\DoxyCodeLine{01330\ }
\DoxyCodeLine{01334\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a00776_a463a717e58b953758ff0c3c7842aadab}{StopMdi}}()}
\DoxyCodeLine{01335\ \ \ \ \ \{}
\DoxyCodeLine{01336\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{01337\ \ \ \ \ \ \ \ \ \ \ \ \ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>StopMdi();}
\DoxyCodeLine{01338\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01339\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{01340\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01341\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01342\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01343\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{01344\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01345\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{01346\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01347\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01348\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{01349\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01350\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{01351\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01352\ }
\DoxyCodeLine{01353\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01354\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{01355\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01356\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01357\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01358\ \ \ \ \ \}}
\DoxyCodeLine{01359\ }
\DoxyCodeLine{01364\ \ \ \ \ \mbox{\hyperlink{a00956}{WContaminationStatus}}\string^\ \mbox{\hyperlink{a00776_a405389b859d3b1637b93580fc59cb2b0}{GetContaminationStatus}}()\textcolor{keyword}{\ override\ }\{}
\DoxyCodeLine{01365\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{01366\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00824}{ContaminationStatus}}\ toFetch\ =\ ((\mbox{\hyperlink{a00748}{RawDataSensor}}*)\_sensor)-\/>GetContaminationStatus();}
\DoxyCodeLine{01367\ }
\DoxyCodeLine{01368\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00956}{WContaminationStatus}}\string^\ toReturn\ =\ gcnew\ \mbox{\hyperlink{a00956}{WContaminationStatus}}();}
\DoxyCodeLine{01369\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>\mbox{\hyperlink{a00956_af33a138b63eb8327ea07683880dfe810}{DataLeft}}\ =\ toFetch.\mbox{\hyperlink{a00824_a2f81450755df7e88a27f9acf14d54a46}{GetDataLeft}}();}
\DoxyCodeLine{01370\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>DataMiddle\ =\ toFetch.\mbox{\hyperlink{a00824_a2134f11d46e7634a2e2cc01af5d44e42}{GetDataMiddle}}();}
\DoxyCodeLine{01371\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>DataRight\ =\ toFetch.\mbox{\hyperlink{a00824_a0927336eee2eb3de6e89c1be626b1d6b}{GetDataRight}}();}
\DoxyCodeLine{01372\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Z1\ =\ toFetch.\mbox{\hyperlink{a00824_aab09d8ea0ca76b486b3cbfeb9fdbeb34}{GetZ1}}();}
\DoxyCodeLine{01373\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Z2\ =\ toFetch.\mbox{\hyperlink{a00824_a96787fab38bea59fbaae97d3dbab2493}{GetZ2}}();}
\DoxyCodeLine{01374\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Z3\ =\ toFetch.\mbox{\hyperlink{a00824_a1af793ab8f93d7ae4a6bcf8521de8fae}{GetZ3}}();}
\DoxyCodeLine{01375\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Z4\ =\ toFetch.\mbox{\hyperlink{a00824_af5b7161618d6b1290aee60607f52734f}{GetZ4}}();}
\DoxyCodeLine{01376\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Z5\ =\ toFetch.\mbox{\hyperlink{a00824_a918c09904dc939fdb4486cbfaca51adc}{GetZ5}}();}
\DoxyCodeLine{01377\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Z6\ =\ toFetch.\mbox{\hyperlink{a00824_acdfd3ba085f2fd3ec7309fdcc79aa492}{GetZ6}}();}
\DoxyCodeLine{01378\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Z7\ =\ toFetch.\mbox{\hyperlink{a00824_ad7dd61132b9846027d161a111b03f1e7}{GetZ7}}();}
\DoxyCodeLine{01379\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Z8\ =\ toFetch.\mbox{\hyperlink{a00824_a66048ff5dcf5aefe4f3b0309c76a1834}{GetZ8}}();}
\DoxyCodeLine{01380\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Z9\ =\ toFetch.\mbox{\hyperlink{a00824_a25df80951b9b65e829337e7b8151e209}{GetZ9}}();}
\DoxyCodeLine{01381\ }
\DoxyCodeLine{01382\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{01383\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01384\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00792}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{01385\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00928}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01386\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01387\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01388\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00804}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{01389\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00944}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00944}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01390\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00944_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{01391\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01392\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01393\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00892}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{01394\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00980}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00980}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01395\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00980_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{01396\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01397\ }
\DoxyCodeLine{01398\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01399\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00900}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{01400\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00988}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00792_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01401\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01402\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01403\ \ \ \ \ \}}
\DoxyCodeLine{01404\ }
\DoxyCodeLine{01405\ }
\DoxyCodeLine{01406\ \textcolor{keyword}{protected}:\ \ }
\DoxyCodeLine{01407\ \ \ \ \ \mbox{\hyperlink{a00952}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00776_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(\mbox{\hyperlink{a00820}{ConfigurationResult}}\ pResult)\ \{}
\DoxyCodeLine{01408\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00952}{WConfigurationResult}}\string^\ toReturn\ =\ gcnew\ \mbox{\hyperlink{a00952}{WConfigurationResult}}();}
\DoxyCodeLine{01409\ \ \ \ \ \ \ \ \ toReturn-\/>\mbox{\hyperlink{a00952_acf9b06a5fefc4790cdac47009bba72d2}{Result}}\ =\ pResult.\mbox{\hyperlink{a00820_a8ee93ca10df8f49160e43c9036f181eb}{GetResult}}();}
\DoxyCodeLine{01410\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{for}\ (\textcolor{keywordtype}{int}\ i\ =\ 0;\ i\ <\ pResult.\mbox{\hyperlink{a00820_af4b8e1aa062da99cf370405cb2a94f0c}{GetReasons}}().size();\ i++)\ \{}
\DoxyCodeLine{01411\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>PushReason(gcnew\ String(pResult.\mbox{\hyperlink{a00820_af4b8e1aa062da99cf370405cb2a94f0c}{GetReasons}}()[i].c\_str()));}
\DoxyCodeLine{01412\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01413\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{01414\ \ \ \ \ \}}
\DoxyCodeLine{01415\ \ \ \ \ }
\DoxyCodeLine{01416\ }
\DoxyCodeLine{01417\ \};}
\DoxyCodeLine{01418\ }

\end{DoxyCode}
