\doxysection{WNavigation\+Sensor.\+h}
\hypertarget{a00200_source}{}\label{a00200_source}\index{WNavigationSensor.h@{WNavigationSensor.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ }
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#include\ <NavigationSensor.h>}}
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ "{}WFilterType.h"{}}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ <List>}}
\DoxyCodeLine{00006\ }
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#include\ <CommunicationException.h>}}
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#include\ <SensorErrorException.h>}}
\DoxyCodeLine{00009\ \textcolor{preprocessor}{\#include\ <ThreadCreationException.h>}}
\DoxyCodeLine{00010\ \textcolor{preprocessor}{\#include\ <BadAcknowledgmentException.h>}}
\DoxyCodeLine{00011\ \textcolor{preprocessor}{\#include\ <CommunicationException.h>}}
\DoxyCodeLine{00012\ \textcolor{preprocessor}{\#include\ <ParameterNotSupportedException.h>}}
\DoxyCodeLine{00013\ }
\DoxyCodeLine{00014\ \textcolor{keyword}{using\ namespace\ }\mbox{\hyperlink{a00635}{WBase}};}
\DoxyCodeLine{00015\ \textcolor{keyword}{using\ namespace\ }\mbox{\hyperlink{a00633}{WUtils}};}
\DoxyCodeLine{00016\ \textcolor{keyword}{using\ namespace\ }\mbox{\hyperlink{a00637}{WCommunication}};}
\DoxyCodeLine{00017\ \textcolor{keyword}{using\ namespace\ }\mbox{\hyperlink{a00634}{WToolboxException}};}
\DoxyCodeLine{00018\ \textcolor{keyword}{using\ namespace\ }\mbox{\hyperlink{a00636}{WEnumerations}};}
\DoxyCodeLine{00019\ \textcolor{keyword}{using\ namespace\ }System::Collections;}
\DoxyCodeLine{00020\ \textcolor{keyword}{using\ namespace\ }System::Collections::Generic;}
\DoxyCodeLine{00021\ }
\DoxyCodeLine{00022\ \textcolor{keyword}{public\ ref\ class}\ \mbox{\hyperlink{a00768}{WNavigationSensor}}\ :}
\DoxyCodeLine{00023\ \ \ \ \ \textcolor{keyword}{public}\ \mbox{\hyperlink{a00816}{WRawDataSensor}}}
\DoxyCodeLine{00024\ \{}
\DoxyCodeLine{00025\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00026\ \ \ \ \ \mbox{\hyperlink{a00768_a8941fa8a2d6c9ece37c754bbbae5d0d1}{WNavigationSensor}}()\ \ \{}
\DoxyCodeLine{00027\ \ \ \ \ \ \ \ \ this-\/>\_sensor\ =\ (BaseSensor*)\textcolor{keyword}{new}\ \mbox{\hyperlink{a00760}{NavigationSensor}}();}
\DoxyCodeLine{00028\ \ \ \ \ \}}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00030\ \ \ \ \ \mbox{\hyperlink{a00768_a77f8d6a4cb3a79ac2d78df0e2c95d8b2}{WNavigationSensor}}(WBaseCommunication\string^\ pcomm)\ :\ \mbox{\hyperlink{a00816}{WRawDataSensor}}(pcomm)\ \{}
\DoxyCodeLine{00031\ \ \ \ \ \ \ \ \ \_sensor\ =\ (BaseSensor*)\textcolor{keyword}{new}\ \mbox{\hyperlink{a00760}{NavigationSensor}}(pcomm-\/>\_\_nativeCommunication);}
\DoxyCodeLine{00032\ \ \ \ \ \ \ \ \ Communication\ =\ pcomm;}
\DoxyCodeLine{00033\ \ \ \ \ \}}
\DoxyCodeLine{00034\ }
\DoxyCodeLine{00035\ \ \ \ \ \mbox{\hyperlink{a00768_a31728cb1d4aa37966eae27ca4e48d035}{\string~WNavigationSensor}}()\ \{}
\DoxyCodeLine{00036\ \ \ \ \ \ \ \ \ \textcolor{keyword}{delete}(\_sensor);}
\DoxyCodeLine{00037\ \ \ \ \ \}}
\DoxyCodeLine{00038\ }
\DoxyCodeLine{00042\ \ \ \ \ \mbox{\hyperlink{a00988}{WCommunicationStatus}}\string^\ \mbox{\hyperlink{a00768_a7c1db9db18874eb5fe3e05322400129b}{Initialize}}()\ new\ \{}
\DoxyCodeLine{00043\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00856}{CommunicationStatus}}\ status\ =\ \_sensor-\/>Initialize();}
\DoxyCodeLine{00044\ }
\DoxyCodeLine{00045\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00988}{WCommunicationStatus}}\string^\ toReturn\ =\ gcnew\ \mbox{\hyperlink{a00988}{WCommunicationStatus}}();}
\DoxyCodeLine{00046\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{for}\ (\textcolor{keywordtype}{int}\ i\ =\ 0;\ i\ <\ status.\mbox{\hyperlink{a00856_a87cc1983ca0089337a5f71ad795dcff8}{Channels}}.size();\ i++)\ \{}
\DoxyCodeLine{00047\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00976}{WChannel}}\string^\ toAdd\ =\ gcnew\ \mbox{\hyperlink{a00976}{WChannel}}();}
\DoxyCodeLine{00048\ \ \ \ \ \ \ \ \ \ \ \ \ toAdd-\/>RawDataAvailability\ =\ \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{a00636_a99a96c318c747eed449d5f38ca4bec30}{DataAvailabilityEnum}}\textcolor{keyword}{>}(status.\mbox{\hyperlink{a00856_a87cc1983ca0089337a5f71ad795dcff8}{Channels}}[i].RawDataAvailability);}
\DoxyCodeLine{00049\ \ \ \ \ \ \ \ \ \ \ \ \ toAdd-\/>\mbox{\hyperlink{a00976_a7cc59dd4b6cab51b0f1155dde4f85a36}{Type}}\ =\ \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{a00636_ae8530ef12e9933875ded9a884118229b}{ChannelTypeEnum}}\textcolor{keyword}{>}(status.\mbox{\hyperlink{a00856_a87cc1983ca0089337a5f71ad795dcff8}{Channels}}[i].Type);}
\DoxyCodeLine{00050\ }
\DoxyCodeLine{00051\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>\mbox{\hyperlink{a00988_a8c45b6f68a51768ba69be0c4fa95c763}{Channels}}-\/>Add(toAdd);}
\DoxyCodeLine{00052\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00053\ }
\DoxyCodeLine{00054\ \ \ \ \ \ \ \ \ toReturn-\/>ErrorCode\ =\ gcnew\ \mbox{\hyperlink{a00980}{WCommunicationErrorCode}}();}
\DoxyCodeLine{00055\ \ \ \ \ \ \ \ \ toReturn-\/>ErrorCode-\/>ErrorCode\ =\ status.\mbox{\hyperlink{a00856_aa6728b7808f69b23990630e64d37fbc0}{ErrorCode}}.\mbox{\hyperlink{a00848_af710215988a642bb36b0e93f61341e9a}{ErrorCode}};}
\DoxyCodeLine{00056\ \ \ \ \ \ \ \ \ toReturn-\/>ErrorCode-\/>ErrorMeaning\ =\ gcnew\ String(status.\mbox{\hyperlink{a00856_aa6728b7808f69b23990630e64d37fbc0}{ErrorCode}}.\mbox{\hyperlink{a00848_a2411f96315b686ae04af6c8ce56432fe}{ErrorMeaning}}.c\_str());}
\DoxyCodeLine{00057\ }
\DoxyCodeLine{00058\ \ \ \ \ \ \ \ \ toReturn-\/>Status\ =\ \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{a00636_aea54c0042f80c7dffb49c66a1869f924}{ConnectionStatusEnum}}\textcolor{keyword}{>}(status.\mbox{\hyperlink{a00856_a35b90bc5c1c8a18f59c0118b1181a95a}{Status}});}
\DoxyCodeLine{00059\ }
\DoxyCodeLine{00060\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{00061\ \ \ \ \ \}}
\DoxyCodeLine{00062\ }
\DoxyCodeLine{00063\ \ \ \ \ \mbox{\hyperlink{a00764}{WFilterType}}\string^\ \mbox{\hyperlink{a00768_a17901573f2f4cb0334607774de6f67de}{GetFilterType}}()\ \{}
\DoxyCodeLine{00064\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00065\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00764}{WFilterType}}\string^\ toReturn\ =\ gcnew\ \mbox{\hyperlink{a00764}{WFilterType}}();}
\DoxyCodeLine{00066\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00756}{FilterType}}\ toFetch\ =\ ((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>GetFilterType();}
\DoxyCodeLine{00067\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{switch}\ (toFetch.\mbox{\hyperlink{a00756_ab619ee564427a75a2c0272a43c1f3b57}{GetFilterMode}}())\ \{}
\DoxyCodeLine{00068\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ MEDIAN\_FILTER:}
\DoxyCodeLine{00069\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>FilterTypeValue\ =\ FilterMode::Median;}
\DoxyCodeLine{00070\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{00071\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ AVERAGE\_FILTER:}
\DoxyCodeLine{00072\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>FilterTypeValue\ =\ FilterMode::Average;}
\DoxyCodeLine{00073\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{00074\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ MAX\_FILTER:}
\DoxyCodeLine{00075\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>FilterTypeValue\ =\ FilterMode::Max;}
\DoxyCodeLine{00076\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{00077\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ COMBO\_FILTER:}
\DoxyCodeLine{00078\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>FilterTypeValue\ =\ FilterMode::Combo;}
\DoxyCodeLine{00079\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{00080\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00081\ }
\DoxyCodeLine{00082\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>\mbox{\hyperlink{a00764_afbb9bcc626d7f45cd6eb1ca35e6bf867}{NumH}}\ =\ toFetch.\mbox{\hyperlink{a00756_a632f44bcb4cc190d8725144b4a063075}{GetNumH}}();}
\DoxyCodeLine{00083\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>NumS\ =\ toFetch.\mbox{\hyperlink{a00756_ae6a04b45ce9723562950c068b4149cb5}{GetNumS}}();}
\DoxyCodeLine{00084\ }
\DoxyCodeLine{00085\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{00086\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00087\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00088\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00089\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00090\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00091\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00092\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00093\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00094\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00095\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00096\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00097\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00098\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00099\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00100\ }
\DoxyCodeLine{00101\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00102\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00103\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00104\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00105\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00106\ \ \ \ \ \}}
\DoxyCodeLine{00107\ }
\DoxyCodeLine{00108\ \ \ \ \ \mbox{\hyperlink{a00992}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00768_ae1cbdd1f594419b2157ba129a1c43679}{SetFilterType}}(\mbox{\hyperlink{a00764}{WFilterType}}\string^\ pFilterType)\ \{}
\DoxyCodeLine{00109\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00110\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00756}{FilterType}}\ toSet;}
\DoxyCodeLine{00111\ }
\DoxyCodeLine{00112\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{switch}\ (pFilterType-\/>FilterTypeValue)\ \{}
\DoxyCodeLine{00113\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ FilterMode::Median:}
\DoxyCodeLine{00114\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet.\mbox{\hyperlink{a00756_ae932657ae8156a4a1ffdccbc34241b08}{SetFilterMode}}(MEDIAN\_FILTER);}
\DoxyCodeLine{00115\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{00116\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ FilterMode::Average:}
\DoxyCodeLine{00117\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet.\mbox{\hyperlink{a00756_ae932657ae8156a4a1ffdccbc34241b08}{SetFilterMode}}(AVERAGE\_FILTER);}
\DoxyCodeLine{00118\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{00119\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ FilterMode::Max:}
\DoxyCodeLine{00120\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet.\mbox{\hyperlink{a00756_ae932657ae8156a4a1ffdccbc34241b08}{SetFilterMode}}(MAX\_FILTER);}
\DoxyCodeLine{00121\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{00122\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ FilterMode::Combo:}
\DoxyCodeLine{00123\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet.\mbox{\hyperlink{a00756_ae932657ae8156a4a1ffdccbc34241b08}{SetFilterMode}}(COMBO\_FILTER);}
\DoxyCodeLine{00124\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{break};}
\DoxyCodeLine{00125\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00126\ }
\DoxyCodeLine{00127\ \ \ \ \ \ \ \ \ \ \ \ \ toSet.\mbox{\hyperlink{a00756_a8eebeb5675a996df28d95ebef26c3480}{SetNumH}}(pFilterType-\/>\mbox{\hyperlink{a00764_afbb9bcc626d7f45cd6eb1ca35e6bf867}{NumH}});}
\DoxyCodeLine{00128\ \ \ \ \ \ \ \ \ \ \ \ \ toSet.\mbox{\hyperlink{a00756_a875a5b2fb472284268f55789aea2bcb7}{SetNumS}}(pFilterType-\/>NumS);}
\DoxyCodeLine{00129\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \ \mbox{\hyperlink{a00816_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(\&((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00768_ae1cbdd1f594419b2157ba129a1c43679}{SetFilterType}}(toSet));}
\DoxyCodeLine{00130\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00131\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00924}{ParameterNotSupportedException}}\ e)\ \{}
\DoxyCodeLine{00132\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01012}{WParameterNotSupportedException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01012}{WParameterNotSupportedException}}(gcnew\ String(e.\mbox{\hyperlink{a00924_a83c1b54adb4e1e137af33e27696c0916}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00133\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00134\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00135\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00136\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00924_a83c1b54adb4e1e137af33e27696c0916}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00137\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00138\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00139\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00140\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00924_a83c1b54adb4e1e137af33e27696c0916}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00141\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00142\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00143\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00144\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00145\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00924_a83c1b54adb4e1e137af33e27696c0916}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00146\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00147\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00148\ }
\DoxyCodeLine{00149\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00150\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00151\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00924_a83c1b54adb4e1e137af33e27696c0916}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00152\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00153\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00154\ \ \ \ \ \}}
\DoxyCodeLine{00155\ }
\DoxyCodeLine{00160\ \ \ \ \ \mbox{\hyperlink{a00636_aaa578ed56a38f745817d3e738ca0e00d}{AngularResolution}}\ \mbox{\hyperlink{a00768_a8acc6a4644be13f133826c3c9afed173}{GetAngularResolution}}()\ new\ \{}
\DoxyCodeLine{00161\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00162\ \ \ \ \ \ \ \ \ \ \ \ \ ANGULAR\_RESOLUTION\ actual\ =\ ((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>GetAngularResolution();}
\DoxyCodeLine{00163\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (actual\ ==\ ZERO\_TO\_ZERO\_POINT\_ONE\_AT\_FOURTY\_HZ)\ \{}
\DoxyCodeLine{00164\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ AngularResolution::ZeroToZeroPointOneAtFourtyHz;}
\DoxyCodeLine{00165\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00166\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (actual\ ==\ ZERO\_TO\_ZERO\_POINT\_TWO\_AT\_EIGHTY\_HZ)\ \ \{}
\DoxyCodeLine{00167\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ AngularResolution::ZeroToZeroPointTwoAtEightyHz;}
\DoxyCodeLine{00168\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00169\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (actual\ ==\ ZERO\_TO\_ZERO\_POINT\_ZERO\_FIVE\_AT\_TWENTY\_HZ)\ \{}
\DoxyCodeLine{00170\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ AngularResolution::ZeroToZeroPointZeroFiveAtTwentyHz;}
\DoxyCodeLine{00171\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00172\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (actual\ ==\ ZERO\_TO\_ZERO\_POINT\_ZERO\_TWENTYFIVE\_AT\_TEN\_HZ)\ \{}
\DoxyCodeLine{00173\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ AngularResolution::ZeroToZeroPointZeroTwoFiveAtTenHz;}
\DoxyCodeLine{00174\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00175\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (actual\ ==\ ZERO\_TO\_ZERO\_POINT\_ZERO\_SOMETHING\_AT\_FIFTY\_HZ)\ \{}
\DoxyCodeLine{00176\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ AngularResolution::ZeroToZeroSomethingAtFiftyHz;}
\DoxyCodeLine{00177\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00178\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00179\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00180\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00181\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00182\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00183\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00184\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00185\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00186\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00187\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00188\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00189\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00190\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00191\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00192\ }
\DoxyCodeLine{00193\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00194\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00195\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00196\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00197\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00198\ \ \ \ \ \}}
\DoxyCodeLine{00199\ }
\DoxyCodeLine{00200\ }
\DoxyCodeLine{00206\ \ \ \ \ \mbox{\hyperlink{a00992}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00768_ac393f9d7dd132ef1f0abc3e50aa946e0}{SetAngularResolution}}(\mbox{\hyperlink{a00636_aaa578ed56a38f745817d3e738ca0e00d}{AngularResolution}}\ pResolution)\ \textcolor{keyword}{new}\ \{}
\DoxyCodeLine{00207\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00208\ \ \ \ \ \ \ \ \ \ \ \ \ ANGULAR\_RESOLUTION\ toSet\ =\ -\/1;}
\DoxyCodeLine{00209\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (pResolution\ ==\ AngularResolution::ZeroToZeroPointOneAtFourtyHz)\ \{}
\DoxyCodeLine{00210\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ ZERO\_TO\_ZERO\_POINT\_ONE\_AT\_FOURTY\_HZ;}
\DoxyCodeLine{00211\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00212\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(pResolution\ ==\ AngularResolution::ZeroToZeroPointTwoAtEightyHz)\ \{}
\DoxyCodeLine{00213\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ ZERO\_TO\_ZERO\_POINT\_TWO\_AT\_EIGHTY\_HZ;}
\DoxyCodeLine{00214\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00215\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pResolution\ ==\ AngularResolution::ZeroToZeroPointZeroFiveAtTwentyHz)\ \{}
\DoxyCodeLine{00216\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ ZERO\_TO\_ZERO\_POINT\_ZERO\_FIVE\_AT\_TWENTY\_HZ;}
\DoxyCodeLine{00217\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00218\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pResolution\ ==\ AngularResolution::ZeroToZeroPointZeroTwoFiveAtTenHz)\ \{}
\DoxyCodeLine{00219\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ ZERO\_TO\_ZERO\_POINT\_ZERO\_TWENTYFIVE\_AT\_TEN\_HZ;}
\DoxyCodeLine{00220\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00221\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pResolution\ ==\ AngularResolution::ZeroToZeroSomethingAtFiftyHz)\ \{}
\DoxyCodeLine{00222\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ ZERO\_TO\_ZERO\_POINT\_ZERO\_SOMETHING\_AT\_FIFTY\_HZ;}
\DoxyCodeLine{00223\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00224\ }
\DoxyCodeLine{00225\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00816_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(\&((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00768_ac393f9d7dd132ef1f0abc3e50aa946e0}{SetAngularResolution}}(toSet));}
\DoxyCodeLine{00226\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00227\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00228\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00229\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00230\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00231\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00232\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00233\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00234\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00235\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00236\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00237\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00238\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00239\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00240\ }
\DoxyCodeLine{00241\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00242\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00243\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00244\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00245\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00246\ \ \ \ \ \}}
\DoxyCodeLine{00247\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00252\ \ \ \ \ \mbox{\hyperlink{a00636_a8f71920149f3e7980cf5233af62055d8}{DisplayPageIndex}}\ \mbox{\hyperlink{a00768_a9f6716e3f0a452a00c92740549fcadc4}{GetDisplayPageIndex}}()\ \{}
\DoxyCodeLine{00253\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00254\ \ \ \ \ \ \ \ \ \ \ \ \ PAGE\_INDEX\ actual\ =\ ((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>GetDisplayPageIndex();}
\DoxyCodeLine{00255\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (actual\ ==\ CUSTOMIZE\_LOGO\_PAGE)\ \{}
\DoxyCodeLine{00256\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayPageIndex::CustomLogoPage;}
\DoxyCodeLine{00257\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00258\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (actual\ ==\ OPERATING\_STATUS\_PAGE)\ \{}
\DoxyCodeLine{00259\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayPageIndex::OperatingStatus;}
\DoxyCodeLine{00260\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00261\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (actual\ ==\ WMS\_STATUS\_PAGE)\ \{}
\DoxyCodeLine{00262\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayPageIndex::WmsStatus;}
\DoxyCodeLine{00263\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00264\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (actual\ ==\ ETH\_USB\_CONNECT\_STATUS\_PAGE)\ \{}
\DoxyCodeLine{00265\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayPageIndex::EthUsbConnectStatus;}
\DoxyCodeLine{00266\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00267\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (actual\ ==\ NETWORK\_INFORMATION\_PAGE)\ \{}
\DoxyCodeLine{00268\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayPageIndex::NetworkInfo;}
\DoxyCodeLine{00269\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00270\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (actual\ ==\ BLUETHOOT\_CONNECTION\_PAGE)\ \{}
\DoxyCodeLine{00271\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayPageIndex::BluethootConnection;}
\DoxyCodeLine{00272\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00273\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00274\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00275\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00276\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00277\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00278\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00279\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00280\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00281\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00282\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00283\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00284\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00285\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00286\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00287\ }
\DoxyCodeLine{00288\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00289\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00290\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00291\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00292\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00293\ \ \ \ \ \}}
\DoxyCodeLine{00294\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00295\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00301\ \ \ \ \ \mbox{\hyperlink{a00992}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00768_ac48dcb5f742eb6c89de77e439917d90a}{SetDisplayPageIndex}}(\mbox{\hyperlink{a00636_a8f71920149f3e7980cf5233af62055d8}{DisplayPageIndex}}\ pPageIndex)\ \{}
\DoxyCodeLine{00302\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00303\ \ \ \ \ \ \ \ \ \ \ \ \ PAGE\_INDEX\ toSet\ =\ -\/1;}
\DoxyCodeLine{00304\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (pPageIndex\ ==\ DisplayPageIndex::CustomLogoPage)\ \{}
\DoxyCodeLine{00305\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ CUSTOMIZE\_LOGO\_PAGE;}
\DoxyCodeLine{00306\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00307\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pPageIndex\ ==\ DisplayPageIndex::OperatingStatus)\ \{}
\DoxyCodeLine{00308\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ OPERATING\_STATUS\_PAGE;}
\DoxyCodeLine{00309\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00310\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pPageIndex\ ==\ DisplayPageIndex::WmsStatus)\ \{}
\DoxyCodeLine{00311\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ WMS\_STATUS\_PAGE;}
\DoxyCodeLine{00312\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00313\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pPageIndex\ ==\ DisplayPageIndex::EthUsbConnectStatus)\ \{}
\DoxyCodeLine{00314\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ ETH\_USB\_CONNECT\_STATUS\_PAGE;}
\DoxyCodeLine{00315\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00316\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pPageIndex\ ==\ DisplayPageIndex::NetworkInfo)\ \{}
\DoxyCodeLine{00317\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ NETWORK\_INFORMATION\_PAGE;}
\DoxyCodeLine{00318\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00319\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pPageIndex\ ==\ DisplayPageIndex::BluethootConnection)\ \{}
\DoxyCodeLine{00320\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ BLUETHOOT\_CONNECTION\_PAGE;}
\DoxyCodeLine{00321\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00322\ }
\DoxyCodeLine{00323\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00816_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(\&((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00768_ac48dcb5f742eb6c89de77e439917d90a}{SetDisplayPageIndex}}(toSet));}
\DoxyCodeLine{00324\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00325\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00326\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00327\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00328\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00329\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00330\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00331\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00332\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00333\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00334\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00335\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00336\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00337\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00338\ }
\DoxyCodeLine{00339\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00340\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00341\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00342\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00343\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00344\ \ \ \ \ \}}
\DoxyCodeLine{00345\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00346\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00351\ \ \ \ \ \mbox{\hyperlink{a00636_a581bd5f9e251b1ef9409bf90d955d5e2}{PageDirection}}\ \mbox{\hyperlink{a00768_a82a256e927e890786e28b7b04eccd109}{GetDisplayPageDirection}}()\ \{}
\DoxyCodeLine{00352\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00353\ \ \ \ \ \ \ \ \ \ \ \ \ PAGE\_DIRECTION\ actual\ =\ ((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>GetDisplayPageDirection();}
\DoxyCodeLine{00354\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (actual\ ==\ NORMAL)\ \{}
\DoxyCodeLine{00355\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ PageDirection::Normal;}
\DoxyCodeLine{00356\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00357\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (actual\ ==\ UPSIDE\_DOWN)\ \{}
\DoxyCodeLine{00358\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ PageDirection::UpsideDown;}
\DoxyCodeLine{00359\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00360\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00361\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00362\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00363\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00364\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00365\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00366\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00367\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00368\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00369\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00370\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00371\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00372\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00373\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00374\ }
\DoxyCodeLine{00375\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00376\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00377\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00378\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00379\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00380\ \ \ \ \ \}}
\DoxyCodeLine{00381\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00382\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00388\ \ \ \ \ \mbox{\hyperlink{a00992}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00768_adae8aba9218bf1555c745a444e19c3bd}{SetDisplayPageDirection}}(\mbox{\hyperlink{a00636_a581bd5f9e251b1ef9409bf90d955d5e2}{PageDirection}}\ pPageDirection)\ \{}
\DoxyCodeLine{00389\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00390\ \ \ \ \ \ \ \ \ \ \ \ \ PAGE\_DIRECTION\ toSet\ =\ -\/1;}
\DoxyCodeLine{00391\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (pPageDirection\ ==\ PageDirection::Normal)\ \{}
\DoxyCodeLine{00392\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ NORMAL;}
\DoxyCodeLine{00393\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00394\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pPageDirection\ ==\ PageDirection::UpsideDown)\ \{}
\DoxyCodeLine{00395\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ UPSIDE\_DOWN;}
\DoxyCodeLine{00396\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00397\ }
\DoxyCodeLine{00398\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00816_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(\&((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00768_adae8aba9218bf1555c745a444e19c3bd}{SetDisplayPageDirection}}(toSet));}
\DoxyCodeLine{00399\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00400\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00401\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00402\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00403\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00404\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00405\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00406\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00407\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00408\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00409\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00410\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00411\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00412\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00413\ }
\DoxyCodeLine{00414\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00415\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00416\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00417\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00418\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00419\ \ \ \ \ \}}
\DoxyCodeLine{00420\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00421\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00426\ \ \ \ \ \mbox{\hyperlink{a00636_a9dccfeab8180001fec573a70f384354e}{DisplayMode}}\ \mbox{\hyperlink{a00768_ad555b35fdee5e3797661019602a93c90}{GetDisplayMode}}()\ \{}
\DoxyCodeLine{00427\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00428\ \ \ \ \ \ \ \ \ \ \ \ \ DISPLAY\_MODE\ actual\ =\ ((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>GetDisplayMode();}
\DoxyCodeLine{00429\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (actual\ ==\ NORMAL\_MODE)\ \{}
\DoxyCodeLine{00430\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayMode::Normal;}
\DoxyCodeLine{00431\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00432\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (actual\ ==\ ON\_MODE)\ \{}
\DoxyCodeLine{00433\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayMode::On;}
\DoxyCodeLine{00434\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00435\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (actual\ ==\ OFF\_MODE)\ \{}
\DoxyCodeLine{00436\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayMode::Off;}
\DoxyCodeLine{00437\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00438\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00439\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00440\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00441\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00442\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00443\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00444\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00445\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00446\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00447\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00448\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00449\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00450\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00451\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00452\ }
\DoxyCodeLine{00453\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00454\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00455\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00456\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00457\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00458\ \ \ \ \ \}}
\DoxyCodeLine{00459\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00460\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00466\ \ \ \ \ \mbox{\hyperlink{a00992}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00768_a75d3b724ddac4d2db358f37c5cb80704}{SetDisplayMode}}(\mbox{\hyperlink{a00636_a9dccfeab8180001fec573a70f384354e}{DisplayMode}}\ pdisplayMode)\ \{}
\DoxyCodeLine{00467\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00468\ \ \ \ \ \ \ \ \ \ \ \ \ DISPLAY\_MODE\ toSet\ =\ -\/1;}
\DoxyCodeLine{00469\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (pdisplayMode\ ==\ DisplayMode::Normal)\ \{}
\DoxyCodeLine{00470\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ NORMAL;}
\DoxyCodeLine{00471\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00472\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pdisplayMode\ ==\ DisplayMode::On)\ \{}
\DoxyCodeLine{00473\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ ON\_MODE;}
\DoxyCodeLine{00474\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00475\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pdisplayMode\ ==\ DisplayMode::Off)\ \{}
\DoxyCodeLine{00476\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ OFF\_MODE;}
\DoxyCodeLine{00477\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00478\ }
\DoxyCodeLine{00479\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00816_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(\&((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00768_a75d3b724ddac4d2db358f37c5cb80704}{SetDisplayMode}}(toSet));}
\DoxyCodeLine{00480\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00481\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00482\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00483\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00484\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00485\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00486\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00487\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00488\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00489\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00490\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00491\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00492\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00493\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00494\ }
\DoxyCodeLine{00495\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00496\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00497\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00498\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00499\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00500\ \ \ \ \ \}}
\DoxyCodeLine{00501\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00502\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00507\ \ \ \ \ List<List<UInt16>\string^>\string^\ \mbox{\hyperlink{a00768_a9ab5d27d2569ea3e3c19f6f61fc6bcaa}{GetLogoImage}}()\ \{}
\DoxyCodeLine{00508\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00509\ \ \ \ \ \ \ \ \ \ \ \ \ List<List<UInt16>\string^>\string^\ toReturn\ =\ gcnew\ List<List<UInt16>\string^>();}
\DoxyCodeLine{00510\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00511\ \ \ \ \ \ \ \ \ \ \ \ \ vector<LOGO\_IMAGE\_SEGMENT>\ sensorImage\ =\ ((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>GetLogoImage();}
\DoxyCodeLine{00512\ }
\DoxyCodeLine{00513\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{for}\ (\textcolor{keywordtype}{int}\ segment\ =\ 0;\ segment\ <\ IMAGE\_SEGMENT\_SIZE;\ segment++)\ \{}
\DoxyCodeLine{00514\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ List<UInt16>\string^\ \ segmentOfPixelToAdd\ =\ gcnew\ List<UInt16>();}
\DoxyCodeLine{00515\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{for}\ (\textcolor{keywordtype}{int}\ pixel\ =\ 0;\ pixel\ <\ PIXELS\_PER\_SEGMENT;\ pixel++)\ \{}
\DoxyCodeLine{00516\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ segmentOfPixelToAdd-\/>Add(\ sensorImage[segment][pixel]);}
\DoxyCodeLine{00517\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00518\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Add(segmentOfPixelToAdd);}
\DoxyCodeLine{00519\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00520\ }
\DoxyCodeLine{00521\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{00522\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00523\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00524\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00525\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00526\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00527\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00528\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00529\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00530\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00531\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00532\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00533\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00534\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00535\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00536\ }
\DoxyCodeLine{00537\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00538\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00539\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00540\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00541\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00542\ \ \ \ \ \}}
\DoxyCodeLine{00543\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00544\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00545\ }
\DoxyCodeLine{00551\ \ \ \ \ \mbox{\hyperlink{a00992}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00768_ae679a667c1776ddeb62206a0d2dc09c3}{SetLogoImage}}(List<List<UInt16>\string^>\string^\ logoToFetch)\ \{}
\DoxyCodeLine{00552\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00992}{WConfigurationResult}}\string^\ toReturn;\ \ \ \ \ }
\DoxyCodeLine{00553\ \ \ \ \ \ \ \ \ vector<LOGO\_IMAGE\_SEGMENT>\ toFetch;\ }
\DoxyCodeLine{00554\ }
\DoxyCodeLine{00555\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00556\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{for\ each}\ (List<UInt16>\string^\ segment\ \textcolor{keywordflow}{in}\ logoToFetch)\ \{}
\DoxyCodeLine{00557\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ vector<IMAGE\_PIXEL>\ segmentToFetch;}
\DoxyCodeLine{00558\ }
\DoxyCodeLine{00559\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{for\ each}\ (UInt16\ pixel\ \textcolor{keywordflow}{in}\ segment)\ \{}
\DoxyCodeLine{00560\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ segmentToFetch.push\_back(pixel);}
\DoxyCodeLine{00561\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00562\ }
\DoxyCodeLine{00563\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toFetch.push\_back(segmentToFetch);}
\DoxyCodeLine{00564\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00565\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00816_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(\&((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00768_ae679a667c1776ddeb62206a0d2dc09c3}{SetLogoImage}}(toFetch));}
\DoxyCodeLine{00566\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00567\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00568\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00569\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00570\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00571\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00572\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00573\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00574\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00575\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00576\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00577\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00578\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00579\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00580\ }
\DoxyCodeLine{00581\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00582\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00583\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00584\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00585\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00586\ }
\DoxyCodeLine{00587\ }
\DoxyCodeLine{00588\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{00589\ \ \ \ \ \}}
\DoxyCodeLine{00590\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00591\ }
\DoxyCodeLine{00592\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00597\ \ \ \ \ \mbox{\hyperlink{a00992}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00768_ad01b962be2a977b4bbcd6fdfa4aea15b}{ResetLogoImage}}()\ \{}
\DoxyCodeLine{00598\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00599\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00600\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00816_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(\&((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00768_ad01b962be2a977b4bbcd6fdfa4aea15b}{ResetLogoImage}}());}
\DoxyCodeLine{00601\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00602\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00603\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00604\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00605\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00606\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00607\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00608\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00609\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00610\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00611\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00612\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00613\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00614\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00615\ }
\DoxyCodeLine{00616\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00617\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00618\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00619\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00620\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00621\ \ \ \ \ \}}
\DoxyCodeLine{00622\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00627\ \ \ \ \ List<unsigned\ int>\string^\ \mbox{\hyperlink{a00768_abb71ee729667dca08822bbdba630d745}{GetWms}}()\ \{}
\DoxyCodeLine{00628\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00629\ \ \ \ \ \ \ \ \ \ \ \ \ vector<unsigned\ int>\ actual\ =\ ((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>GetWms();}
\DoxyCodeLine{00630\ \ \ \ \ \ \ \ \ \ \ \ \ List<unsigned\ int>\string^\ toReturn\ =\ gcnew\ List<unsigned\ int>();}
\DoxyCodeLine{00631\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00632\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{for}\ (\textcolor{keywordtype}{int}\ i\ =\ 0;\ i\ <\ actual.size();\ i++)\ \{}
\DoxyCodeLine{00633\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00634\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Add(actual[i]);}
\DoxyCodeLine{00635\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00636\ }
\DoxyCodeLine{00637\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{00638\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00639\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00640\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00641\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00642\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00643\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00644\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00645\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00646\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00647\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00648\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00649\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00650\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00651\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00652\ }
\DoxyCodeLine{00653\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00654\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00655\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00656\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00657\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00658\ \ \ \ \ \}\ \ \ }
\DoxyCodeLine{00659\ }
\DoxyCodeLine{00664\ \ \ \ \ \mbox{\hyperlink{a00824}{WSensorLeds}}\string^\ \mbox{\hyperlink{a00768_a44142c84654f3395f905c92061658241}{GetSensorLeds}}()\ new\ \{}
\DoxyCodeLine{00665\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00666\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00796}{SensorLeds}}\ actual\ =\ ((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>GetSensorLeds();}
\DoxyCodeLine{00667\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00824}{WSensorLeds}}\string^\ toReturn\ =\ gcnew\ \mbox{\hyperlink{a00824}{WSensorLeds}}();}
\DoxyCodeLine{00668\ }
\DoxyCodeLine{00669\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>\mbox{\hyperlink{a00824_ae67a8c1a982fa137d73e74333bb91e64}{StatusLed}}\ =\ actual.\mbox{\hyperlink{a00796_aac4453ff31990f20c9b319d726c366eb}{GetStatusLed}}();}
\DoxyCodeLine{00670\ }
\DoxyCodeLine{00671\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{00672\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00673\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00674\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00675\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00676\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00677\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00678\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00679\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00680\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00681\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00682\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00683\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00684\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00685\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00686\ }
\DoxyCodeLine{00687\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00688\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00689\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00690\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00691\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00692\ \ \ \ \ \}}
\DoxyCodeLine{00693\ }
\DoxyCodeLine{00694\ }
\DoxyCodeLine{00700\ \ \ \ \ \mbox{\hyperlink{a00992}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00768_afb9f3f5bde7bd9a71c5895ce7487723a}{SetSensorLeds}}(\mbox{\hyperlink{a00824}{WSensorLeds}}\string^\ pLeds)\ \textcolor{keyword}{new}\ \{}
\DoxyCodeLine{00701\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00702\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00796}{SensorLeds}}\ toSet;}
\DoxyCodeLine{00703\ }
\DoxyCodeLine{00704\ \ \ \ \ \ \ \ \ \ \ \ \ toSet.\mbox{\hyperlink{a00796_a92821ddb582ed647087965db9c457aec}{SetStatusLed}}(pLeds-\/>StatusLed);}
\DoxyCodeLine{00705\ }
\DoxyCodeLine{00706\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00816_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(\&((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00768_afb9f3f5bde7bd9a71c5895ce7487723a}{SetSensorLeds}}(toSet));}
\DoxyCodeLine{00707\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00708\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00709\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00710\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00711\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00712\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00713\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00714\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00715\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00716\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00717\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00718\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00719\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00720\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00721\ }
\DoxyCodeLine{00722\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00723\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00724\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00725\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00726\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00727\ \ \ \ \ \}}
\DoxyCodeLine{00728\ }
\DoxyCodeLine{00729\ }
\DoxyCodeLine{00734\ \ \ \ \ \mbox{\hyperlink{a00820}{WSensorLamps}}\string^\ \mbox{\hyperlink{a00768_a5988a62aa125d31ace6e52122bb3bc34}{GetSensorLamps}}()\ \{}
\DoxyCodeLine{00735\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00736\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00820}{WSensorLamps}}\string^\ toReturn\ =\ gcnew\ \mbox{\hyperlink{a00820}{WSensorLamps}}();}
\DoxyCodeLine{00737\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00792}{SensorLamps}}\ actual\ =\ ((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>GetSensorLamps();}
\DoxyCodeLine{00738\ }
\DoxyCodeLine{00739\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>\mbox{\hyperlink{a00820_a8c1b5573fecf18ba416b4aaa12f0efa8}{Led1}}\ =\ (LedColor)actual.\mbox{\hyperlink{a00792_ab8f02baf5d9ad259a7c4f6cec29db3fe}{GetLed1}}();}
\DoxyCodeLine{00740\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Led2\ =\ (LedColor)actual.\mbox{\hyperlink{a00792_a82789c3f3d5b3ad2137d9a127c27bde7}{GetLed2}}();}
\DoxyCodeLine{00741\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Led3\ =\ (LedColor)actual.\mbox{\hyperlink{a00792_a319f00c6c387d5e94fbaad7e1fd7dde1}{GetLed3}}();}
\DoxyCodeLine{00742\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Led4\ =\ LedColor::Black;}
\DoxyCodeLine{00743\ }
\DoxyCodeLine{00744\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{00745\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00746\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00747\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00748\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00749\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00750\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00751\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00752\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00753\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00754\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00755\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00756\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00757\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00758\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00759\ }
\DoxyCodeLine{00760\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00761\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00762\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00763\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00764\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00765\ \ \ \ \ \}}
\DoxyCodeLine{00766\ \ \ \ \ }
\DoxyCodeLine{00767\ \ \ \ \ \textcolor{comment}{//\ Command\ settings\ management}}
\DoxyCodeLine{00768\ \ \ \ \ \textcolor{comment}{//\ Data\ retrieve}}
\DoxyCodeLine{00773\ \ \ \ \ \mbox{\hyperlink{a00808}{WNetworkInformation}}\string^\ \mbox{\hyperlink{a00768_a238af75bac4c913fa50efc95544d7845}{GetNetworkInformation}}()\ \{}
\DoxyCodeLine{00774\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00775\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00780}{NetworkInformation}}\ toFetch\ =\ ((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>GetNetworkInformation();}
\DoxyCodeLine{00776\ }
\DoxyCodeLine{00777\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00808}{WNetworkInformation}}\string^\ toReturn\ =\ gcnew\ \mbox{\hyperlink{a00808}{WNetworkInformation}}();}
\DoxyCodeLine{00778\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>DhcpMode\ =\ toFetch.\mbox{\hyperlink{a00780_a702eb15e36c794f9e5e66d6278fd331d}{GetDhcpMode}}();}
\DoxyCodeLine{00779\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Gateway\ =\ gcnew\ String(toFetch.\mbox{\hyperlink{a00780_a3394fd679bd67aa63e83f362b0562b25}{GetGateway}}().c\_str());}
\DoxyCodeLine{00780\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>\mbox{\hyperlink{a00808_a454bfe9d0e3ac11764c3782374384bed}{IpAddress}}\ =\ gcnew\ String(toFetch.\mbox{\hyperlink{a00780_a70d8ccf293dc138d81ae694e3f5c15ea}{GetIpAddress}}().c\_str());}
\DoxyCodeLine{00781\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>IpPort\ =\ toFetch.\mbox{\hyperlink{a00780_aa0a813788fe470a03929ebbc8a974a89}{GetIpPort}}();}
\DoxyCodeLine{00782\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>SubnetMask\ =\ gcnew\ \ String(toFetch.\mbox{\hyperlink{a00780_a063ee72bd404431bca8a7569c55cec02}{GetSubnetMask}}().c\_str());}
\DoxyCodeLine{00783\ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>MacAddress\ =\ gcnew\ \ String(toFetch.\mbox{\hyperlink{a00780_a781099d851537608730ae7add2dd9daf}{GetMacAddress}}().c\_str());}
\DoxyCodeLine{00784\ }
\DoxyCodeLine{00785\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{00786\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00787\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00788\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00789\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00790\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00791\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00792\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00793\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00794\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00795\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00796\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00797\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00798\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00799\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00800\ }
\DoxyCodeLine{00801\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00802\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00803\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00804\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00805\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00806\ \ \ \ \ \}}
\DoxyCodeLine{00807\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00812\ \ \ \ \ \mbox{\hyperlink{a00636_a7e2c5c5210b41131d212fe41150207e5}{DisplayWakeUpRange}}\ \mbox{\hyperlink{a00768_ada10078916d43737b46cea02da62e506}{GetDisplayWakeUpRange}}()\ \{}
\DoxyCodeLine{00813\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00814\ \ \ \ \ \ \ \ \ \ \ \ \ OLED\_WAKEUP\_RANGE\ actual\ =\ ((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>GetDisplayWakeUpRange();}
\DoxyCodeLine{00815\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{switch}\ (actual)\ \{}
\DoxyCodeLine{00816\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ 0:}
\DoxyCodeLine{00817\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayWakeUpRange::ThreeHundred;}
\DoxyCodeLine{00818\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ 1:}
\DoxyCodeLine{00819\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayWakeUpRange::FiveHundred;}
\DoxyCodeLine{00820\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ 2:}
\DoxyCodeLine{00821\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayWakeUpRange::TenHundred;}
\DoxyCodeLine{00822\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ 3:}
\DoxyCodeLine{00823\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayWakeUpRange::FifteenHundred;}
\DoxyCodeLine{00824\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ 4:}
\DoxyCodeLine{00825\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayWakeUpRange::TwentyHundred;}
\DoxyCodeLine{00826\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00827\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00828\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00829\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00830\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00831\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00832\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00833\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00834\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00835\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00836\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00837\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00838\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00839\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00840\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00841\ }
\DoxyCodeLine{00842\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00843\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00844\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00845\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00846\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00847\ \ \ \ \ \}}
\DoxyCodeLine{00848\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00849\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00855\ \ \ \ \ \mbox{\hyperlink{a00992}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00768_adca351a37ba400de6d367d6f999f5d79}{SetDisplayWakeUpRange}}(\mbox{\hyperlink{a00636_a7e2c5c5210b41131d212fe41150207e5}{DisplayWakeUpRange}}\ pWakeupTime)\ \{}
\DoxyCodeLine{00856\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00857\ \ \ \ \ \ \ \ \ \ \ \ \ OLED\_WAKEUP\_RANGE\ toSet\ =\ -\/1;}
\DoxyCodeLine{00858\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (pWakeupTime\ ==\ DisplayWakeUpRange::ThreeHundred)\ \{}
\DoxyCodeLine{00859\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ THREE\_HUNDRED\_MM;}
\DoxyCodeLine{00860\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00861\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pWakeupTime\ ==\ DisplayWakeUpRange::FiveHundred)\ \{}
\DoxyCodeLine{00862\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ FIVE\_HUNDRED\_MM;}
\DoxyCodeLine{00863\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00864\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pWakeupTime\ ==\ DisplayWakeUpRange::TenHundred)\ \{}
\DoxyCodeLine{00865\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ TEN\_HUNDRED\_MM;}
\DoxyCodeLine{00866\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00867\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pWakeupTime\ ==\ DisplayWakeUpRange::FifteenHundred)\ \{}
\DoxyCodeLine{00868\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ FIFTEEN\_HUNDRED\_MM;}
\DoxyCodeLine{00869\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00870\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pWakeupTime\ ==\ DisplayWakeUpRange::TwentyHundred)\ \{}
\DoxyCodeLine{00871\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ TWENTY\_HUNDRED\_MM;}
\DoxyCodeLine{00872\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00873\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00816_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(\&((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00768_adca351a37ba400de6d367d6f999f5d79}{SetDisplayWakeUpRange}}(toSet));}
\DoxyCodeLine{00874\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00875\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00876\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00877\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00878\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00879\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00880\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00881\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00882\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00883\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00884\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00885\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00886\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00887\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00888\ }
\DoxyCodeLine{00889\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00890\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00891\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00892\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00893\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00894\ \ \ \ \ \}}
\DoxyCodeLine{00895\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00896\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00897\ }
\DoxyCodeLine{00902\ \ \ \ \ \mbox{\hyperlink{a00636_a5a416f9950780b593c49a2f446defd51}{DisplayWakeUpTime}}\ \mbox{\hyperlink{a00768_a964059b820d9d9767ae7c679abe9b7e4}{GetDisplayWakeUpTime}}()\ \{}
\DoxyCodeLine{00903\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00904\ \ \ \ \ \ \ \ \ \ \ \ \ OLED\_WAKEUP\_TIME\ actual\ =\ ((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>GetDisplayWakeUpTime();}
\DoxyCodeLine{00905\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{switch}\ (actual)\ \{}
\DoxyCodeLine{00906\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ 0:}
\DoxyCodeLine{00907\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayWakeUpTime::TwoSec;}
\DoxyCodeLine{00908\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ 1:}
\DoxyCodeLine{00909\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayWakeUpTime::ThreeSec;}
\DoxyCodeLine{00910\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ 2:}
\DoxyCodeLine{00911\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayWakeUpTime::FiveSec;}
\DoxyCodeLine{00912\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ 3:}
\DoxyCodeLine{00913\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ DisplayWakeUpTime::TenSec;}
\DoxyCodeLine{00914\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00915\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00916\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00917\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00918\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00919\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00920\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00921\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00922\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00923\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00924\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00925\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00926\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00927\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00928\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00929\ }
\DoxyCodeLine{00930\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00931\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00932\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00933\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00934\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00935\ \ \ \ \ \}}
\DoxyCodeLine{00936\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00937\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00943\ \ \ \ \ \mbox{\hyperlink{a00992}{WConfigurationResult}}\string^\ \mbox{\hyperlink{a00768_a4070e4e451e75b94525e09cb9c0df2c5}{SetDisplayWakeUpTime}}(\mbox{\hyperlink{a00636_a5a416f9950780b593c49a2f446defd51}{DisplayWakeUpTime}}\ pWakeupTime)\ \{}
\DoxyCodeLine{00944\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00945\ \ \ \ \ \ \ \ \ \ \ \ \ OLED\_WAKEUP\_TIME\ toSet\ =\ -\/1;}
\DoxyCodeLine{00946\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (pWakeupTime\ ==\ DisplayWakeUpTime::TwoSec)\ \{}
\DoxyCodeLine{00947\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ TWO\_SEC;}
\DoxyCodeLine{00948\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00949\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pWakeupTime\ ==\ DisplayWakeUpTime::ThreeSec)\ \{}
\DoxyCodeLine{00950\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ THREE\_SEC;}
\DoxyCodeLine{00951\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00952\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pWakeupTime\ ==\ DisplayWakeUpTime::FiveSec)\ \{}
\DoxyCodeLine{00953\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ FIVE\_SEC;}
\DoxyCodeLine{00954\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00955\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (pWakeupTime\ ==\ DisplayWakeUpTime::TenSec)\ \{}
\DoxyCodeLine{00956\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toSet\ =\ TEN\_SEC;}
\DoxyCodeLine{00957\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00958\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{a00816_a9fa6216de8a6b637f0c011c71cfd52bc}{toManagedInstance}}(\&((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>\mbox{\hyperlink{a00768_a4070e4e451e75b94525e09cb9c0df2c5}{SetDisplayWakeUpTime}}(toSet));}
\DoxyCodeLine{00959\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00960\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00961\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00962\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00963\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00964\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{00965\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00966\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{00967\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00968\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00969\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{00970\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00971\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{00972\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00973\ }
\DoxyCodeLine{00974\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00975\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{00976\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00977\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00978\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00979\ \ \ \ \ \}}
\DoxyCodeLine{00980\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00985\ \ \ \ \ \mbox{\hyperlink{a00636_a42566a7e1a41c6184476f89a563d51a0}{TransmissionStatus}}\ \mbox{\hyperlink{a00768_ade2c7e00979f02b3b0fe4dad54ac2f92}{GetMdiTransmissionStatus}}()\ \{}
\DoxyCodeLine{00986\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00987\ \ \ \ \ \ \ \ \ \ \ \ \ MDI\_TRANSMISSION\_STATUS\ actual\ =\ ((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>GetMdiTransmissionStatus();}
\DoxyCodeLine{00988\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{switch}\ (actual)\ \{}
\DoxyCodeLine{00989\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ 0:}
\DoxyCodeLine{00990\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ TransmissionStatus::Off;}
\DoxyCodeLine{00991\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{case}\ 1:}
\DoxyCodeLine{00992\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ TransmissionStatus::On;}
\DoxyCodeLine{00993\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00994\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00995\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{00996\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{00997\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{00998\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00999\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{01000\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01001\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{01002\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01003\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01004\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{01005\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01006\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{01007\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01008\ }
\DoxyCodeLine{01009\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01010\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{01011\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01012\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01013\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01014\ \ \ \ \ \}}
\DoxyCodeLine{01015\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{01019\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a00768_a15e04c74fae8e6e615e5b077658fa720}{ShowDeviceIdentification}}()\ \{}
\DoxyCodeLine{01020\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{01021\ \ \ \ \ \ \ \ \ \ \ \ \ ((\mbox{\hyperlink{a00760}{NavigationSensor}}*)\_sensor)-\/>ShowDeviceIdentification();}
\DoxyCodeLine{01022\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01023\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00832}{BadAcknowledgmentException}}\ e)\ \{}
\DoxyCodeLine{01024\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00968}{WBadAcknowledgmentException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01025\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01026\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01027\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00844}{CommunicationException}}\ e)\ \{}
\DoxyCodeLine{01028\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00984}{WCommunicationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a00984}{WCommunicationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01029\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a00984_aa5209133da9f6de15eb856d0c46b0bd4}{ErrorCode}}\ =\ e.GetErrorCode();}
\DoxyCodeLine{01030\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01031\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01032\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00932}{SensorErrorException}}\ e)\ \{}
\DoxyCodeLine{01033\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01020}{WSensorException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01020}{WSensorException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01034\ \ \ \ \ \ \ \ \ \ \ \ \ toThrow-\/>\mbox{\hyperlink{a01020_ac1d6c69782ee35764e7b993021fbe4e0}{ErrorCode}}\ =\ gcnew\ String(e.GetErrorCode().c\_str());}
\DoxyCodeLine{01035\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01036\ }
\DoxyCodeLine{01037\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01038\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}\ (\mbox{\hyperlink{a00940}{ThreadCreationException}}\ e)\ \{}
\DoxyCodeLine{01039\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01028}{WThreadCreationException}}\string^\ toThrow\ =\ gcnew\ \mbox{\hyperlink{a01028}{WThreadCreationException}}(gcnew\ String(e.\mbox{\hyperlink{a00832_ae216bed0f947ad387e214808afe1d415}{what}}()),\ gcnew\ String(e.GetTranslateCode().c\_str()));}
\DoxyCodeLine{01040\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ toThrow;}
\DoxyCodeLine{01041\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{01042\ \ \ \ \ \}}
\DoxyCodeLine{01043\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{01044\ \};}
\DoxyCodeLine{01045\ }

\end{DoxyCode}
