\doxysection{Raw\+Data\+Sensor Class Reference}
\hypertarget{a00706}{}\label{a00706}\index{RawDataSensor@{RawDataSensor}}


Definition of the Raw data sensor services. This header will let the programmer to handle all the requests that have to be sent to the hardware through the appropriate channel.  




{\ttfamily \#include $<$Raw\+Data\+Sensor.\+h$>$}

Inheritance diagram for Raw\+Data\+Sensor\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{a00706}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{a00706_a54593a93b60721d9990d66ff95c5a5aa}{Raw\+Data\+Sensor}} ()
\begin{DoxyCompactList}\small\item\em Base constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00706_a72f3fe061ce5ef72dfe61b8b47a196bb}{\texorpdfstring{$\sim$}{\string~}\+Raw\+Data\+Sensor}} ()
\begin{DoxyCompactList}\small\item\em Destructor (disconects the data sensor) \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00706_ac64e518b67808fb11e29ab3a0cc2693f}{Raw\+Data\+Sensor}} (Base\+Communication \texorpdfstring{$\ast$}{*}comm)
\begin{DoxyCompactList}\small\item\em Copy constructor\+: sets the basic communication object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00842}{Raw\+Data}} \mbox{\hyperlink{a00706_a3fcd3dbff9ee1d028fb7f398562a14fc}{Extract\+Data}} (vector$<$ string $>$p\+Data\+To\+Extract)
\begin{DoxyCompactList}\small\item\em Extracts the data from the datastream (Internal method, do not use as is) \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{a00706_a123cda02f7ad01bcb322039505a54d7d}{Is\+Command\+Acknowledgment}} (string p\+Data\+To\+Verify)
\begin{DoxyCompactList}\small\item\em Check if data is a command acknowledgment. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{a00706_a0a024fb99e968f3f202b97a221b00847}{Is\+Header}} (string p\+Data\+To\+Verify)
\begin{DoxyCompactList}\small\item\em Check if data is a HEADER. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{a00706_ae9643aa726de699eb9f51a005c72fec4}{Is\+End\+Of\+Packet}} (string p\+Data\+To\+Verify)
\begin{DoxyCompactList}\small\item\em Check if the data is an end of packet group. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{a00706_abb78b971ee129c7bf39f9e6fdd27e1ec}{Is\+First\+Packet}} (string p\+Data\+To\+Verify)
\begin{DoxyCompactList}\small\item\em Check if the data is the first packet group. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{a00706_abd37e4d413971a7ae0738878c784ad61}{Get\+Packet\+Header\+Size\+To\+Read}} ()
\begin{DoxyCompactList}\small\item\em Returns a pointer on an array with a determined size. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{a00706_ad99d0fef4f47b8bc38f5382e43d57d3d}{Count\+To\+Read\+For\+Length}} (char \texorpdfstring{$\ast$}{*}p\+Header\+Buffer)
\begin{DoxyCompactList}\small\item\em Indicates how much byte must be read in order to obtain packet len. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{a00706_a5f557c548572d9df41afcf0a69ee3648}{Get\+Packet\+Length\+To\+Read}} (char \texorpdfstring{$\ast$}{*}p\+Len\+Header\+Buffer, int p\+Packet\+Type)
\begin{DoxyCompactList}\small\item\em Retrieve, in the p\+Header\+Buffer, the amount of data to read. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00778}{Communication\+Status}} \mbox{\hyperlink{a00706_a949020f1359f567400862e563a2041c4}{Initialize}} ()
\begin{DoxyCompactList}\small\item\em Initializes the object to connect the sensor. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00706_a44af26a682c7fe9a9077f0b63b847cf8}{Close}} ()
\begin{DoxyCompactList}\small\item\em Method that closes all communication stops all threads and cleanup memory This method must be called when finishing usage of sensor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00842}{Raw\+Data}} \mbox{\hyperlink{a00706_a788b7cf1722131c4ed197d195d57745d}{Retrieve\+Raw\+Data}} ()
\begin{DoxyCompactList}\small\item\em Wait for Raw Data availability. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00706_a978ba73228c35485dd4bfec5ab2d7303}{Reset\+Device}} ()
\begin{DoxyCompactList}\small\item\em Resets the device. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00706_aba38e353692df4457fe6f5d39f9d1590}{Reboot\+Device}} ()
\begin{DoxyCompactList}\small\item\em Reboots the device. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00698}{Network\+Information}} \mbox{\hyperlink{a00706_a39eb268573605a97e3cb5d532e14276d}{Get\+Network\+Information}} ()
\begin{DoxyCompactList}\small\item\em Gets whole data information. \end{DoxyCompactList}\item 
PROTOCOL \mbox{\hyperlink{a00706_adbccb85a4975fe9b5bb3b3b0d3413b32}{Get\+Raw\+Data\+Exchange\+Mode}} ()
\begin{DoxyCompactList}\small\item\em Get the raw data exchange mode. \end{DoxyCompactList}\item 
SCAN\+\_\+\+PACKET\+\_\+\+TYPE \mbox{\hyperlink{a00706_aad84a474a6e8f5542ad0ecb912f6fd76}{Get\+Data\+Packet\+Type}} ()
\begin{DoxyCompactList}\small\item\em Gets the data packed type. \end{DoxyCompactList}\item 
Sensor\+Resolution\+Frequency\+Enum \mbox{\hyperlink{a00706_ace0d753aab9e1672a7d5b3c9fe24aeb1}{Get\+Angular\+Resolution}} ()
\begin{DoxyCompactList}\small\item\em Gets the angular resolution. \end{DoxyCompactList}\item 
SCANNING\+\_\+\+DIRECTION \mbox{\hyperlink{a00706_aacb05d54ee166a685b1dd350663e2939}{Get\+Scanning\+Direction}} ()
\begin{DoxyCompactList}\small\item\em Sensor\+Resolution\+Frequency\+Enum Gets the scanning direction. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00686}{Angle\+Range}} \mbox{\hyperlink{a00706_aef511f1aeeb20fe490b186b53962731f}{Get\+Angle\+Range}} ()
\begin{DoxyCompactList}\small\item\em Gets the angle range. \end{DoxyCompactList}\item 
unsigned int \mbox{\hyperlink{a00706_ae009c64de907e660808b1f61d62192a5}{Get\+Skip\+Scan}} ()
\begin{DoxyCompactList}\small\item\em Gets the skip scan. \end{DoxyCompactList}\item 
unsigned int \mbox{\hyperlink{a00706_a3bd6c9b568f84fe35728c8c5f6c4c915}{Get\+Immunity\+Level}} ()
\begin{DoxyCompactList}\small\item\em Gets the immunity level. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00694}{Contamination\+Threshold}} \mbox{\hyperlink{a00706_a4429b0e2b155d7329426e9008fc0332d}{Get\+Contamination\+Threshold}} ()
\begin{DoxyCompactList}\small\item\em Gets the contamination threshold. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00690}{Contamination\+Status}} \mbox{\hyperlink{a00706_ab28bc5251c7e2cb24527db17419b881f}{Get\+Contamination\+Status}} ()
\begin{DoxyCompactList}\small\item\em Gets the contamination status. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00850}{Software\+Version}} \mbox{\hyperlink{a00706_a4733c0b7c9d89b4fce1269426e5cd6f7}{Get\+Version}} ()
\begin{DoxyCompactList}\small\item\em Gets the sensor version data. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{a00706_adff21257eff51be0f9d984499ade0df2}{Get\+Temperature}} ()
\begin{DoxyCompactList}\small\item\em Gets the temperature. \end{DoxyCompactList}\item 
vector$<$ \mbox{\hyperlink{a00702}{Raw\+Data\+Error}} $>$ \mbox{\hyperlink{a00706_a0434d0803ae439b81d019a3ead841127}{Get\+Error\+Log}} ()
\begin{DoxyCompactList}\small\item\em Gets the error log. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00714}{Sensor\+Leds}} \mbox{\hyperlink{a00706_a05b19d54b58936be6ba13a74dfdd5e9b}{Get\+Sensor\+Leds}} ()
\begin{DoxyCompactList}\small\item\em Gets the sensor\textquotesingle{}s leds status. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00710}{Sensor\+Lamps}} \mbox{\hyperlink{a00706_a913aeec2dd51bfdc8f0c09031daf34cb}{Get\+Sensor\+Lamps}} ()
\begin{DoxyCompactList}\small\item\em Gets the sensor lamps status. \end{DoxyCompactList}\item 
long \mbox{\hyperlink{a00706_a9fdc7427390b25c96b403169f47d6b51}{Get\+Runtime\+Hours}} ()
\begin{DoxyCompactList}\small\item\em Gets the sensor runtime hours. \end{DoxyCompactList}\item 
string \mbox{\hyperlink{a00706_af77041fe0d1397a964497b97157e7b44}{Get\+Device\+Name}} ()
\begin{DoxyCompactList}\small\item\em Gets the sensor\textquotesingle{}s name. \end{DoxyCompactList}\item 
FILTER\+\_\+\+STATUS \mbox{\hyperlink{a00706_a5126d2cbfa398268e071efcc8e06af42}{Get\+Filter\+Status}} ()
\begin{DoxyCompactList}\small\item\em Gets the sensor\textquotesingle{}s filter status. \end{DoxyCompactList}\item 
WINDOW\+\_\+\+CALIBRATION \mbox{\hyperlink{a00706_a3ceab0545af802d2c0d2f20e7bb62336}{Get\+Window\+Calibration\+Status}} ()
\begin{DoxyCompactList}\small\item\em Gets the window calibration status. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00782}{Configuration\+Result}} \mbox{\hyperlink{a00706_ad6a65762fe807e8acb0d2240ab744879}{Set\+Network\+Information}} (\mbox{\hyperlink{a00698}{Network\+Information}} p\+Network)
\begin{DoxyCompactList}\small\item\em Set the overall network information except IP v4 and Port. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00782}{Configuration\+Result}} \mbox{\hyperlink{a00706_aa3b3219853033bbfec0201d3d3a00bfa}{Set\+Raw\+Data\+Exchange\+Mode}} (PROTOCOL p\+Protocol)
\begin{DoxyCompactList}\small\item\em Sets the RAW data exchange mode. Can be either TCP or UDP. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00782}{Configuration\+Result}} \mbox{\hyperlink{a00706_a22b149f0c151c7ac9bdd01bed34d4185}{Set\+Data\+Packet\+Type}} (SCAN\+\_\+\+PACKET\+\_\+\+TYPE p\+Packet\+Type)
\begin{DoxyCompactList}\small\item\em Sets the packet type returned in raw data. Can be either DISTANCE or DISTANCE\+\_\+\+INTENSITY. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00782}{Configuration\+Result}} \mbox{\hyperlink{a00706_a1a84ce4e0ceec0b57af990a8da17071e}{Set\+Angular\+Resolution}} (Sensor\+Resolution\+Frequency\+Enum p\+Resolution)
\begin{DoxyCompactList}\small\item\em Sets the angle resolution. Can be either 80Hz or 40Hz. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00782}{Configuration\+Result}} \mbox{\hyperlink{a00706_ae6c1056f4cd978f4c07ed2720331961c}{Set\+Scanning\+Direction}} (SCANNING\+\_\+\+DIRECTION p\+Scan\+Direction)
\begin{DoxyCompactList}\small\item\em Sets the scanning direction. Can be either CLOCKWISE or COUNTER\+\_\+\+CLOCKWISE. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00782}{Configuration\+Result}} \mbox{\hyperlink{a00706_af8269aa120bd9a734fde6cce879a79a7}{Set\+Angle\+Range}} (\mbox{\hyperlink{a00686}{Angle\+Range}} p\+Angle\+Range)
\begin{DoxyCompactList}\small\item\em Sets the Angle range (start and stop) \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00782}{Configuration\+Result}} \mbox{\hyperlink{a00706_a2def66d123979f59ee18495bd47854cf}{Set\+Skip\+Scan}} (int p\+Skip\+Scan)
\begin{DoxyCompactList}\small\item\em Sets the skip scan. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00782}{Configuration\+Result}} \mbox{\hyperlink{a00706_a2025dacfe4dddc647593133cbf309e06}{Set\+Immunity\+Level}} (int p\+Immunity\+Level)
\begin{DoxyCompactList}\small\item\em Sets the sensor\textquotesingle{}s immunity level. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00782}{Configuration\+Result}} \mbox{\hyperlink{a00706_a0e3a14355d3b9b73408f5179651292ce}{Set\+Contamination\+Threshold}} (\mbox{\hyperlink{a00694}{Contamination\+Threshold}} p\+Contamination\+Threshold)
\begin{DoxyCompactList}\small\item\em Sets the contamination level threshold for warning and error. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00782}{Configuration\+Result}} \mbox{\hyperlink{a00706_aba72a1e03d53aa0a0fca973051c352a0}{Set\+Sensor\+Leds}} (\mbox{\hyperlink{a00714}{Sensor\+Leds}} p\+Leds)
\begin{DoxyCompactList}\small\item\em Sets the sensors external leds status (ON or OFF) \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00782}{Configuration\+Result}} \mbox{\hyperlink{a00706_a52ee9441ec693684d68e88e6b8332aa3}{Set\+Device\+Name}} (string p\+Name)
\begin{DoxyCompactList}\small\item\em Sets the sensor\textquotesingle{}s name. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00782}{Configuration\+Result}} \mbox{\hyperlink{a00706_a21e839dc2478b1fb16eec5e702d2882f}{Set\+Filter\+Status}} (FILTER\+\_\+\+STATUS p\+Filter\+Status)
\begin{DoxyCompactList}\small\item\em Sets the sensor\textquotesingle{}s filter status. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00782}{Configuration\+Result}} \mbox{\hyperlink{a00706_af9c3da7b0715c169fa945fc2b51ab63a}{Start\+Window\+Calibration}} ()
\begin{DoxyCompactList}\small\item\em Starts the window calibration. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00706_a0a34158689c1d51de032319beba0dd7d}{Send\+Mdi}} ()
\begin{DoxyCompactList}\small\item\em Request the sensor to start sending MDI data to host. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00706_a17e79b505b62b8f027459ac978b80e6f}{Stop\+Mdi}} ()
\begin{DoxyCompactList}\small\item\em Request the sensor to stop sending MDI data to host. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
string \mbox{\hyperlink{a00706_af0a72d8961ff773b96f58de32ec0a0ab}{Extract\+Command\+Result}} (int MODE, string command\+Code, string result)
\begin{DoxyCompactList}\small\item\em This method analyses and decompose the reply to a command comming from the sensor media. It also checks if the reply matches the command that was sent in order to ensure coherence of the data It decompose the reply into a data vector representing the requested data. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
string \mbox{\hyperlink{a00706_a9d14a8ddc98a2debebf9d1288cd34ee0}{Get\+Immu}} = \{ 0x47 ,0x65 ,0x74 ,0x49, 0x6D, 0x6D, 0x75 \}
\item 
string \mbox{\hyperlink{a00706_a05b87b31cd9f4d0558538f5b86400840}{Set\+Immu}} = \{ 0x53, 0x65, 0x74, 0x49, 0x6D, 0x6D, 0x75 \}
\end{DoxyCompactItemize}
\doxysubsubsection*{Friends}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{a00706_af272e4a37d749e46cf2270daf6e52be7}{Agv\+Sensor}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Definition of the Raw data sensor services. This header will let the programmer to handle all the requests that have to be sent to the hardware through the appropriate channel. 

\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{a00706_a54593a93b60721d9990d66ff95c5a5aa}\index{RawDataSensor@{RawDataSensor}!RawDataSensor@{RawDataSensor}}
\index{RawDataSensor@{RawDataSensor}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{RawDataSensor()}{RawDataSensor()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \label{a00706_a54593a93b60721d9990d66ff95c5a5aa} 
Raw\+Data\+Sensor\+::\+Raw\+Data\+Sensor (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Base constructor. 

\Hypertarget{a00706_a72f3fe061ce5ef72dfe61b8b47a196bb}\index{RawDataSensor@{RawDataSensor}!````~RawDataSensor@{\texorpdfstring{$\sim$}{\string~}RawDataSensor}}
\index{````~RawDataSensor@{\texorpdfstring{$\sim$}{\string~}RawDataSensor}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{\texorpdfstring{$\sim$}{\string~}RawDataSensor()}{\string~RawDataSensor()}}
{\footnotesize\ttfamily \label{a00706_a72f3fe061ce5ef72dfe61b8b47a196bb} 
Raw\+Data\+Sensor\+::\texorpdfstring{$\sim$}{\string~}\+Raw\+Data\+Sensor (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Destructor (disconects the data sensor) 

Destructor. \Hypertarget{a00706_ac64e518b67808fb11e29ab3a0cc2693f}\index{RawDataSensor@{RawDataSensor}!RawDataSensor@{RawDataSensor}}
\index{RawDataSensor@{RawDataSensor}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{RawDataSensor()}{RawDataSensor()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \label{a00706_ac64e518b67808fb11e29ab3a0cc2693f} 
Raw\+Data\+Sensor\+::\+Raw\+Data\+Sensor (\begin{DoxyParamCaption}\item[{Base\+Communication \texorpdfstring{$\ast$}{*}}]{comm}{}\end{DoxyParamCaption})}



Copy constructor\+: sets the basic communication object. 


\begin{DoxyParams}{Parameters}
{\em comm} & The basic communication object\\
\hline
\end{DoxyParams}


\doxysubsection{Member Function Documentation}
\Hypertarget{a00706_a44af26a682c7fe9a9077f0b63b847cf8}\index{RawDataSensor@{RawDataSensor}!Close@{Close}}
\index{Close@{Close}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{Close()}{Close()}}
{\footnotesize\ttfamily \label{a00706_a44af26a682c7fe9a9077f0b63b847cf8} 
void Raw\+Data\+Sensor\+::\+Close (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Method that closes all communication stops all threads and cleanup memory This method must be called when finishing usage of sensor. 

\Hypertarget{a00706_ad99d0fef4f47b8bc38f5382e43d57d3d}\index{RawDataSensor@{RawDataSensor}!CountToReadForLength@{CountToReadForLength}}
\index{CountToReadForLength@{CountToReadForLength}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{CountToReadForLength()}{CountToReadForLength()}}
{\footnotesize\ttfamily \label{a00706_ad99d0fef4f47b8bc38f5382e43d57d3d} 
int Raw\+Data\+Sensor\+::\+Count\+To\+Read\+For\+Length (\begin{DoxyParamCaption}\item[{char \texorpdfstring{$\ast$}{*}}]{p\+Header\+Buffer}{}\end{DoxyParamCaption})}



Indicates how much byte must be read in order to obtain packet len. 

\begin{DoxyReturn}{Returns}
An integer representing the amount of bytes to read
\end{DoxyReturn}
\Hypertarget{a00706_af0a72d8961ff773b96f58de32ec0a0ab}\index{RawDataSensor@{RawDataSensor}!ExtractCommandResult@{ExtractCommandResult}}
\index{ExtractCommandResult@{ExtractCommandResult}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{ExtractCommandResult()}{ExtractCommandResult()}}
{\footnotesize\ttfamily \label{a00706_af0a72d8961ff773b96f58de32ec0a0ab} 
string Raw\+Data\+Sensor\+::\+Extract\+Command\+Result (\begin{DoxyParamCaption}\item[{int}]{MODE}{, }\item[{string}]{command\+Code}{, }\item[{string}]{result}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



This method analyses and decompose the reply to a command comming from the sensor media. It also checks if the reply matches the command that was sent in order to ensure coherence of the data It decompose the reply into a data vector representing the requested data. 


\begin{DoxyParams}{Parameters}
{\em MODE} & READ or WRITE mode\\
\hline
{\em command\+Code} & The sensor GCID command to be analysed\\
\hline
{\em result} & A string representing the media stream returned from the sensor after command execution\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A char array
\end{DoxyReturn}
\Hypertarget{a00706_a3fcd3dbff9ee1d028fb7f398562a14fc}\index{RawDataSensor@{RawDataSensor}!ExtractData@{ExtractData}}
\index{ExtractData@{ExtractData}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{ExtractData()}{ExtractData()}}
{\footnotesize\ttfamily \label{a00706_a3fcd3dbff9ee1d028fb7f398562a14fc} 
\mbox{\hyperlink{a00842}{Raw\+Data}} Raw\+Data\+Sensor\+::\+Extract\+Data (\begin{DoxyParamCaption}\item[{vector$<$ string $>$}]{p\+Data\+To\+Extract}{}\end{DoxyParamCaption})}



Extracts the data from the datastream (Internal method, do not use as is) 


\begin{DoxyParams}{Parameters}
{\em p\+Data\+To\+Extract} & Datastream vector\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The encaspulated raw data
\end{DoxyReturn}
\Hypertarget{a00706_aef511f1aeeb20fe490b186b53962731f}\index{RawDataSensor@{RawDataSensor}!GetAngleRange@{GetAngleRange}}
\index{GetAngleRange@{GetAngleRange}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetAngleRange()}{GetAngleRange()}}
{\footnotesize\ttfamily \label{a00706_aef511f1aeeb20fe490b186b53962731f} 
\mbox{\hyperlink{a00686}{Angle\+Range}} Raw\+Data\+Sensor\+::\+Get\+Angle\+Range (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the angle range. 

\begin{DoxyReturn}{Returns}
An encapsulation of angle range
\end{DoxyReturn}
\Hypertarget{a00706_ace0d753aab9e1672a7d5b3c9fe24aeb1}\index{RawDataSensor@{RawDataSensor}!GetAngularResolution@{GetAngularResolution}}
\index{GetAngularResolution@{GetAngularResolution}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetAngularResolution()}{GetAngularResolution()}}
{\footnotesize\ttfamily \label{a00706_ace0d753aab9e1672a7d5b3c9fe24aeb1} 
Sensor\+Resolution\+Frequency\+Enum Raw\+Data\+Sensor\+::\+Get\+Angular\+Resolution (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the angular resolution. 

\begin{DoxyReturn}{Returns}
An enum of angle resolution
\end{DoxyReturn}
\Hypertarget{a00706_ab28bc5251c7e2cb24527db17419b881f}\index{RawDataSensor@{RawDataSensor}!GetContaminationStatus@{GetContaminationStatus}}
\index{GetContaminationStatus@{GetContaminationStatus}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetContaminationStatus()}{GetContaminationStatus()}}
{\footnotesize\ttfamily \label{a00706_ab28bc5251c7e2cb24527db17419b881f} 
\mbox{\hyperlink{a00690}{Contamination\+Status}} Raw\+Data\+Sensor\+::\+Get\+Contamination\+Status (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the contamination status. 

\begin{DoxyReturn}{Returns}
An \doxylink{a00690}{Contamination\+Status} representing the contamination status
\end{DoxyReturn}
\Hypertarget{a00706_a4429b0e2b155d7329426e9008fc0332d}\index{RawDataSensor@{RawDataSensor}!GetContaminationThreshold@{GetContaminationThreshold}}
\index{GetContaminationThreshold@{GetContaminationThreshold}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetContaminationThreshold()}{GetContaminationThreshold()}}
{\footnotesize\ttfamily \label{a00706_a4429b0e2b155d7329426e9008fc0332d} 
\mbox{\hyperlink{a00694}{Contamination\+Threshold}} Raw\+Data\+Sensor\+::\+Get\+Contamination\+Threshold (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the contamination threshold. 

\begin{DoxyReturn}{Returns}
An encapsulation of the contamination threshold
\end{DoxyReturn}
\Hypertarget{a00706_aad84a474a6e8f5542ad0ecb912f6fd76}\index{RawDataSensor@{RawDataSensor}!GetDataPacketType@{GetDataPacketType}}
\index{GetDataPacketType@{GetDataPacketType}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetDataPacketType()}{GetDataPacketType()}}
{\footnotesize\ttfamily \label{a00706_aad84a474a6e8f5542ad0ecb912f6fd76} 
SCAN\+\_\+\+PACKET\+\_\+\+TYPE Raw\+Data\+Sensor\+::\+Get\+Data\+Packet\+Type (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the data packed type. 

\begin{DoxyReturn}{Returns}
DISTANCE or DISTANCE\+\_\+\+INTENSITY
\end{DoxyReturn}
\Hypertarget{a00706_af77041fe0d1397a964497b97157e7b44}\index{RawDataSensor@{RawDataSensor}!GetDeviceName@{GetDeviceName}}
\index{GetDeviceName@{GetDeviceName}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetDeviceName()}{GetDeviceName()}}
{\footnotesize\ttfamily \label{a00706_af77041fe0d1397a964497b97157e7b44} 
string Raw\+Data\+Sensor\+::\+Get\+Device\+Name (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the sensor\textquotesingle{}s name. 

\begin{DoxyReturn}{Returns}
A string representing the sensor\textquotesingle{}s name
\end{DoxyReturn}
\Hypertarget{a00706_a0434d0803ae439b81d019a3ead841127}\index{RawDataSensor@{RawDataSensor}!GetErrorLog@{GetErrorLog}}
\index{GetErrorLog@{GetErrorLog}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetErrorLog()}{GetErrorLog()}}
{\footnotesize\ttfamily \label{a00706_a0434d0803ae439b81d019a3ead841127} 
vector$<$ \mbox{\hyperlink{a00702}{Raw\+Data\+Error}} $>$ Raw\+Data\+Sensor\+::\+Get\+Error\+Log (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the error log. 

\begin{DoxyReturn}{Returns}
An encapsulation representing the error log
\end{DoxyReturn}
\Hypertarget{a00706_a5126d2cbfa398268e071efcc8e06af42}\index{RawDataSensor@{RawDataSensor}!GetFilterStatus@{GetFilterStatus}}
\index{GetFilterStatus@{GetFilterStatus}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetFilterStatus()}{GetFilterStatus()}}
{\footnotesize\ttfamily \label{a00706_a5126d2cbfa398268e071efcc8e06af42} 
FILTER\+\_\+\+STATUS Raw\+Data\+Sensor\+::\+Get\+Filter\+Status (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the sensor\textquotesingle{}s filter status. 

\begin{DoxyReturn}{Returns}
0\+: OFF, 1\+: ON
\end{DoxyReturn}
\Hypertarget{a00706_a3bd6c9b568f84fe35728c8c5f6c4c915}\index{RawDataSensor@{RawDataSensor}!GetImmunityLevel@{GetImmunityLevel}}
\index{GetImmunityLevel@{GetImmunityLevel}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetImmunityLevel()}{GetImmunityLevel()}}
{\footnotesize\ttfamily \label{a00706_a3bd6c9b568f84fe35728c8c5f6c4c915} 
unsigned int Raw\+Data\+Sensor\+::\+Get\+Immunity\+Level (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the immunity level. 

\begin{DoxyReturn}{Returns}
An integer representing the immunity level
\end{DoxyReturn}
\Hypertarget{a00706_a39eb268573605a97e3cb5d532e14276d}\index{RawDataSensor@{RawDataSensor}!GetNetworkInformation@{GetNetworkInformation}}
\index{GetNetworkInformation@{GetNetworkInformation}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetNetworkInformation()}{GetNetworkInformation()}}
{\footnotesize\ttfamily \label{a00706_a39eb268573605a97e3cb5d532e14276d} 
\mbox{\hyperlink{a00698}{Network\+Information}} Raw\+Data\+Sensor\+::\+Get\+Network\+Information (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets whole data information. 

\begin{DoxyReturn}{Returns}
An encapsulated way to group the network information
\end{DoxyReturn}
Retrieve version to ensure retro compatibility\Hypertarget{a00706_abd37e4d413971a7ae0738878c784ad61}\index{RawDataSensor@{RawDataSensor}!GetPacketHeaderSizeToRead@{GetPacketHeaderSizeToRead}}
\index{GetPacketHeaderSizeToRead@{GetPacketHeaderSizeToRead}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetPacketHeaderSizeToRead()}{GetPacketHeaderSizeToRead()}}
{\footnotesize\ttfamily \label{a00706_abd37e4d413971a7ae0738878c784ad61} 
int Raw\+Data\+Sensor\+::\+Get\+Packet\+Header\+Size\+To\+Read (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Returns a pointer on an array with a determined size. 

\begin{DoxyReturn}{Returns}
A char array
\end{DoxyReturn}
\Hypertarget{a00706_a5f557c548572d9df41afcf0a69ee3648}\index{RawDataSensor@{RawDataSensor}!GetPacketLengthToRead@{GetPacketLengthToRead}}
\index{GetPacketLengthToRead@{GetPacketLengthToRead}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetPacketLengthToRead()}{GetPacketLengthToRead()}}
{\footnotesize\ttfamily \label{a00706_a5f557c548572d9df41afcf0a69ee3648} 
int Raw\+Data\+Sensor\+::\+Get\+Packet\+Length\+To\+Read (\begin{DoxyParamCaption}\item[{char \texorpdfstring{$\ast$}{*}}]{p\+Len\+Header\+Buffer}{, }\item[{int}]{p\+Packet\+Type}{}\end{DoxyParamCaption})}



Retrieve, in the p\+Header\+Buffer, the amount of data to read. 


\begin{DoxyParams}{Parameters}
{\em p\+Header\+Buffer} & \\
\hline
{\em p\+Packet\+Type} & RAW data (2) or Command data (4) ?\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The amount of data to read
\end{DoxyReturn}
\Hypertarget{a00706_adbccb85a4975fe9b5bb3b3b0d3413b32}\index{RawDataSensor@{RawDataSensor}!GetRawDataExchangeMode@{GetRawDataExchangeMode}}
\index{GetRawDataExchangeMode@{GetRawDataExchangeMode}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetRawDataExchangeMode()}{GetRawDataExchangeMode()}}
{\footnotesize\ttfamily \label{a00706_adbccb85a4975fe9b5bb3b3b0d3413b32} 
PROTOCOL Raw\+Data\+Sensor\+::\+Get\+Raw\+Data\+Exchange\+Mode (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Get the raw data exchange mode. 

\begin{DoxyReturn}{Returns}
TCP or UDP
\end{DoxyReturn}
\Hypertarget{a00706_a9fdc7427390b25c96b403169f47d6b51}\index{RawDataSensor@{RawDataSensor}!GetRuntimeHours@{GetRuntimeHours}}
\index{GetRuntimeHours@{GetRuntimeHours}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetRuntimeHours()}{GetRuntimeHours()}}
{\footnotesize\ttfamily \label{a00706_a9fdc7427390b25c96b403169f47d6b51} 
long Raw\+Data\+Sensor\+::\+Get\+Runtime\+Hours (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the sensor runtime hours. 

\begin{DoxyReturn}{Returns}
A long representing the sensor\textquotesingle{}s runtime hours
\end{DoxyReturn}
\Hypertarget{a00706_aacb05d54ee166a685b1dd350663e2939}\index{RawDataSensor@{RawDataSensor}!GetScanningDirection@{GetScanningDirection}}
\index{GetScanningDirection@{GetScanningDirection}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetScanningDirection()}{GetScanningDirection()}}
{\footnotesize\ttfamily \label{a00706_aacb05d54ee166a685b1dd350663e2939} 
SCANNING\+\_\+\+DIRECTION Raw\+Data\+Sensor\+::\+Get\+Scanning\+Direction (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Sensor\+Resolution\+Frequency\+Enum Gets the scanning direction. 

Gets the scanning direction.

\begin{DoxyReturn}{Returns}
CLOCKWISE or COUNTER\+\_\+\+CLOCKWISE
\end{DoxyReturn}
\Hypertarget{a00706_a913aeec2dd51bfdc8f0c09031daf34cb}\index{RawDataSensor@{RawDataSensor}!GetSensorLamps@{GetSensorLamps}}
\index{GetSensorLamps@{GetSensorLamps}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetSensorLamps()}{GetSensorLamps()}}
{\footnotesize\ttfamily \label{a00706_a913aeec2dd51bfdc8f0c09031daf34cb} 
\mbox{\hyperlink{a00710}{Sensor\+Lamps}} Raw\+Data\+Sensor\+::\+Get\+Sensor\+Lamps (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the sensor lamps status. 

\begin{DoxyReturn}{Returns}
An encapsulation of the sensor\textquotesingle{}s internal lamps status
\end{DoxyReturn}
\Hypertarget{a00706_a05b19d54b58936be6ba13a74dfdd5e9b}\index{RawDataSensor@{RawDataSensor}!GetSensorLeds@{GetSensorLeds}}
\index{GetSensorLeds@{GetSensorLeds}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetSensorLeds()}{GetSensorLeds()}}
{\footnotesize\ttfamily \label{a00706_a05b19d54b58936be6ba13a74dfdd5e9b} 
\mbox{\hyperlink{a00714}{Sensor\+Leds}} Raw\+Data\+Sensor\+::\+Get\+Sensor\+Leds (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the sensor\textquotesingle{}s leds status. 

\begin{DoxyReturn}{Returns}
An encapsulation representing the sensor\textquotesingle{}s leds status
\end{DoxyReturn}
\Hypertarget{a00706_ae009c64de907e660808b1f61d62192a5}\index{RawDataSensor@{RawDataSensor}!GetSkipScan@{GetSkipScan}}
\index{GetSkipScan@{GetSkipScan}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetSkipScan()}{GetSkipScan()}}
{\footnotesize\ttfamily \label{a00706_ae009c64de907e660808b1f61d62192a5} 
unsigned int Raw\+Data\+Sensor\+::\+Get\+Skip\+Scan (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the skip scan. 

\begin{DoxyReturn}{Returns}
An integer representing the skip scan
\end{DoxyReturn}
\Hypertarget{a00706_adff21257eff51be0f9d984499ade0df2}\index{RawDataSensor@{RawDataSensor}!GetTemperature@{GetTemperature}}
\index{GetTemperature@{GetTemperature}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetTemperature()}{GetTemperature()}}
{\footnotesize\ttfamily \label{a00706_adff21257eff51be0f9d984499ade0df2} 
int Raw\+Data\+Sensor\+::\+Get\+Temperature (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the temperature. 

\begin{DoxyReturn}{Returns}
An integer representing the sensor\textquotesingle{}s temperature
\end{DoxyReturn}
\Hypertarget{a00706_a4733c0b7c9d89b4fce1269426e5cd6f7}\index{RawDataSensor@{RawDataSensor}!GetVersion@{GetVersion}}
\index{GetVersion@{GetVersion}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetVersion()}{GetVersion()}}
{\footnotesize\ttfamily \label{a00706_a4733c0b7c9d89b4fce1269426e5cd6f7} 
\mbox{\hyperlink{a00850}{Software\+Version}} Raw\+Data\+Sensor\+::\+Get\+Version (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the sensor version data. 

\begin{DoxyReturn}{Returns}
An encapsulation representing the sensor version
\end{DoxyReturn}
\Hypertarget{a00706_a3ceab0545af802d2c0d2f20e7bb62336}\index{RawDataSensor@{RawDataSensor}!GetWindowCalibrationStatus@{GetWindowCalibrationStatus}}
\index{GetWindowCalibrationStatus@{GetWindowCalibrationStatus}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetWindowCalibrationStatus()}{GetWindowCalibrationStatus()}}
{\footnotesize\ttfamily \label{a00706_a3ceab0545af802d2c0d2f20e7bb62336} 
WINDOW\+\_\+\+CALIBRATION Raw\+Data\+Sensor\+::\+Get\+Window\+Calibration\+Status (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the window calibration status. 

\begin{DoxyReturn}{Returns}
PROCESSING, DONE or FAILED
\end{DoxyReturn}
\Hypertarget{a00706_a949020f1359f567400862e563a2041c4}\index{RawDataSensor@{RawDataSensor}!Initialize@{Initialize}}
\index{Initialize@{Initialize}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{Initialize()}{Initialize()}}
{\footnotesize\ttfamily \label{a00706_a949020f1359f567400862e563a2041c4} 
\mbox{\hyperlink{a00778}{Communication\+Status}} Raw\+Data\+Sensor\+::\+Initialize (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Initializes the object to connect the sensor. 

\Hypertarget{a00706_a123cda02f7ad01bcb322039505a54d7d}\index{RawDataSensor@{RawDataSensor}!IsCommandAcknowledgment@{IsCommandAcknowledgment}}
\index{IsCommandAcknowledgment@{IsCommandAcknowledgment}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{IsCommandAcknowledgment()}{IsCommandAcknowledgment()}}
{\footnotesize\ttfamily \label{a00706_a123cda02f7ad01bcb322039505a54d7d} 
bool Raw\+Data\+Sensor\+::\+Is\+Command\+Acknowledgment (\begin{DoxyParamCaption}\item[{string}]{p\+Data\+To\+Verify}{}\end{DoxyParamCaption})}



Check if data is a command acknowledgment. 


\begin{DoxyParams}{Parameters}
{\em p\+Data\+To\+Verify} & The string to be checked\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if verified
\end{DoxyReturn}
\Hypertarget{a00706_ae9643aa726de699eb9f51a005c72fec4}\index{RawDataSensor@{RawDataSensor}!IsEndOfPacket@{IsEndOfPacket}}
\index{IsEndOfPacket@{IsEndOfPacket}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{IsEndOfPacket()}{IsEndOfPacket()}}
{\footnotesize\ttfamily \label{a00706_ae9643aa726de699eb9f51a005c72fec4} 
bool Raw\+Data\+Sensor\+::\+Is\+End\+Of\+Packet (\begin{DoxyParamCaption}\item[{string}]{p\+Data\+To\+Verify}{}\end{DoxyParamCaption})}



Check if the data is an end of packet group. 


\begin{DoxyParams}{Parameters}
{\em p\+Data\+To\+Verify} & The string to be checked\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if verified
\end{DoxyReturn}
\Hypertarget{a00706_abb78b971ee129c7bf39f9e6fdd27e1ec}\index{RawDataSensor@{RawDataSensor}!IsFirstPacket@{IsFirstPacket}}
\index{IsFirstPacket@{IsFirstPacket}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{IsFirstPacket()}{IsFirstPacket()}}
{\footnotesize\ttfamily \label{a00706_abb78b971ee129c7bf39f9e6fdd27e1ec} 
bool Raw\+Data\+Sensor\+::\+Is\+First\+Packet (\begin{DoxyParamCaption}\item[{string}]{p\+Data\+To\+Verify}{}\end{DoxyParamCaption})}



Check if the data is the first packet group. 


\begin{DoxyParams}{Parameters}
{\em p\+Data\+To\+Verify} & The string to be checked\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if verified
\end{DoxyReturn}
\Hypertarget{a00706_a0a024fb99e968f3f202b97a221b00847}\index{RawDataSensor@{RawDataSensor}!IsHeader@{IsHeader}}
\index{IsHeader@{IsHeader}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{IsHeader()}{IsHeader()}}
{\footnotesize\ttfamily \label{a00706_a0a024fb99e968f3f202b97a221b00847} 
bool Raw\+Data\+Sensor\+::\+Is\+Header (\begin{DoxyParamCaption}\item[{string}]{p\+Data\+To\+Verify}{}\end{DoxyParamCaption})}



Check if data is a HEADER. 


\begin{DoxyParams}{Parameters}
{\em p\+Data\+To\+Verify} & The string to be checked\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if verified
\end{DoxyReturn}
\Hypertarget{a00706_aba38e353692df4457fe6f5d39f9d1590}\index{RawDataSensor@{RawDataSensor}!RebootDevice@{RebootDevice}}
\index{RebootDevice@{RebootDevice}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{RebootDevice()}{RebootDevice()}}
{\footnotesize\ttfamily \label{a00706_aba38e353692df4457fe6f5d39f9d1590} 
void Raw\+Data\+Sensor\+::\+Reboot\+Device (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Reboots the device. 

\Hypertarget{a00706_a978ba73228c35485dd4bfec5ab2d7303}\index{RawDataSensor@{RawDataSensor}!ResetDevice@{ResetDevice}}
\index{ResetDevice@{ResetDevice}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{ResetDevice()}{ResetDevice()}}
{\footnotesize\ttfamily \label{a00706_a978ba73228c35485dd4bfec5ab2d7303} 
void Raw\+Data\+Sensor\+::\+Reset\+Device (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Resets the device. 

\Hypertarget{a00706_a788b7cf1722131c4ed197d195d57745d}\index{RawDataSensor@{RawDataSensor}!RetrieveRawData@{RetrieveRawData}}
\index{RetrieveRawData@{RetrieveRawData}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{RetrieveRawData()}{RetrieveRawData()}}
{\footnotesize\ttfamily \label{a00706_a788b7cf1722131c4ed197d195d57745d} 
\mbox{\hyperlink{a00842}{Raw\+Data}} Raw\+Data\+Sensor\+::\+Retrieve\+Raw\+Data (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Wait for Raw Data availability. 

\begin{DoxyReturn}{Returns}
A pointer to the dequeued raw data
\end{DoxyReturn}
\Hypertarget{a00706_a0a34158689c1d51de032319beba0dd7d}\index{RawDataSensor@{RawDataSensor}!SendMdi@{SendMdi}}
\index{SendMdi@{SendMdi}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{SendMdi()}{SendMdi()}}
{\footnotesize\ttfamily \label{a00706_a0a34158689c1d51de032319beba0dd7d} 
void Raw\+Data\+Sensor\+::\+Send\+Mdi (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Request the sensor to start sending MDI data to host. 

\Hypertarget{a00706_af8269aa120bd9a734fde6cce879a79a7}\index{RawDataSensor@{RawDataSensor}!SetAngleRange@{SetAngleRange}}
\index{SetAngleRange@{SetAngleRange}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{SetAngleRange()}{SetAngleRange()}}
{\footnotesize\ttfamily \label{a00706_af8269aa120bd9a734fde6cce879a79a7} 
\mbox{\hyperlink{a00782}{Configuration\+Result}} Raw\+Data\+Sensor\+::\+Set\+Angle\+Range (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{a00686}{Angle\+Range}}}]{p\+Angle\+Range}{}\end{DoxyParamCaption})}



Sets the Angle range (start and stop) 


\begin{DoxyParams}{Parameters}
{\em p\+Angle\+Range} & The encapsulation of the angle range to be set\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A configuration result encapsulation
\end{DoxyReturn}
\Hypertarget{a00706_a1a84ce4e0ceec0b57af990a8da17071e}\index{RawDataSensor@{RawDataSensor}!SetAngularResolution@{SetAngularResolution}}
\index{SetAngularResolution@{SetAngularResolution}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{SetAngularResolution()}{SetAngularResolution()}}
{\footnotesize\ttfamily \label{a00706_a1a84ce4e0ceec0b57af990a8da17071e} 
\mbox{\hyperlink{a00782}{Configuration\+Result}} Raw\+Data\+Sensor\+::\+Set\+Angular\+Resolution (\begin{DoxyParamCaption}\item[{Sensor\+Resolution\+Frequency\+Enum}]{p\+Resolution}{}\end{DoxyParamCaption})}



Sets the angle resolution. Can be either 80Hz or 40Hz. 


\begin{DoxyParams}{Parameters}
{\em p\+Resolution} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A configuration result encapsulation
\end{DoxyReturn}
\Hypertarget{a00706_a0e3a14355d3b9b73408f5179651292ce}\index{RawDataSensor@{RawDataSensor}!SetContaminationThreshold@{SetContaminationThreshold}}
\index{SetContaminationThreshold@{SetContaminationThreshold}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{SetContaminationThreshold()}{SetContaminationThreshold()}}
{\footnotesize\ttfamily \label{a00706_a0e3a14355d3b9b73408f5179651292ce} 
\mbox{\hyperlink{a00782}{Configuration\+Result}} Raw\+Data\+Sensor\+::\+Set\+Contamination\+Threshold (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{a00694}{Contamination\+Threshold}}}]{p\+Contamination\+Threshold}{}\end{DoxyParamCaption})}



Sets the contamination level threshold for warning and error. 


\begin{DoxyParams}{Parameters}
{\em p\+Contamination\+Threshold} & The encapsulation of contamination leve threshold\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A configuration result encapsulation
\end{DoxyReturn}
\Hypertarget{a00706_a22b149f0c151c7ac9bdd01bed34d4185}\index{RawDataSensor@{RawDataSensor}!SetDataPacketType@{SetDataPacketType}}
\index{SetDataPacketType@{SetDataPacketType}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{SetDataPacketType()}{SetDataPacketType()}}
{\footnotesize\ttfamily \label{a00706_a22b149f0c151c7ac9bdd01bed34d4185} 
\mbox{\hyperlink{a00782}{Configuration\+Result}} Raw\+Data\+Sensor\+::\+Set\+Data\+Packet\+Type (\begin{DoxyParamCaption}\item[{SCAN\+\_\+\+PACKET\+\_\+\+TYPE}]{p\+Packet\+Type}{}\end{DoxyParamCaption})}



Sets the packet type returned in raw data. Can be either DISTANCE or DISTANCE\+\_\+\+INTENSITY. 


\begin{DoxyParams}{Parameters}
{\em p\+Packet\+Type} & The packet type to be set\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A configuration result encapsulation
\end{DoxyReturn}
\Hypertarget{a00706_a52ee9441ec693684d68e88e6b8332aa3}\index{RawDataSensor@{RawDataSensor}!SetDeviceName@{SetDeviceName}}
\index{SetDeviceName@{SetDeviceName}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{SetDeviceName()}{SetDeviceName()}}
{\footnotesize\ttfamily \label{a00706_a52ee9441ec693684d68e88e6b8332aa3} 
\mbox{\hyperlink{a00782}{Configuration\+Result}} Raw\+Data\+Sensor\+::\+Set\+Device\+Name (\begin{DoxyParamCaption}\item[{string}]{p\+Name}{}\end{DoxyParamCaption})}



Sets the sensor\textquotesingle{}s name. 

\begin{DoxyReturn}{Returns}
A string representing the sensor\textquotesingle{}s name
\end{DoxyReturn}
\Hypertarget{a00706_a21e839dc2478b1fb16eec5e702d2882f}\index{RawDataSensor@{RawDataSensor}!SetFilterStatus@{SetFilterStatus}}
\index{SetFilterStatus@{SetFilterStatus}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{SetFilterStatus()}{SetFilterStatus()}}
{\footnotesize\ttfamily \label{a00706_a21e839dc2478b1fb16eec5e702d2882f} 
\mbox{\hyperlink{a00782}{Configuration\+Result}} Raw\+Data\+Sensor\+::\+Set\+Filter\+Status (\begin{DoxyParamCaption}\item[{FILTER\+\_\+\+STATUS}]{p\+Filter\+Status}{}\end{DoxyParamCaption})}



Sets the sensor\textquotesingle{}s filter status. 


\begin{DoxyParams}{Parameters}
{\em p\+Filter\+Status} & FILTER\+\_\+\+ON or FILTER\+\_\+\+OFF will enable / disable the filter\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\Hypertarget{a00706_a2025dacfe4dddc647593133cbf309e06}\index{RawDataSensor@{RawDataSensor}!SetImmunityLevel@{SetImmunityLevel}}
\index{SetImmunityLevel@{SetImmunityLevel}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{SetImmunityLevel()}{SetImmunityLevel()}}
{\footnotesize\ttfamily \label{a00706_a2025dacfe4dddc647593133cbf309e06} 
\mbox{\hyperlink{a00782}{Configuration\+Result}} Raw\+Data\+Sensor\+::\+Set\+Immunity\+Level (\begin{DoxyParamCaption}\item[{int}]{p\+Immunity\+Level}{}\end{DoxyParamCaption})}



Sets the sensor\textquotesingle{}s immunity level. 


\begin{DoxyParams}{Parameters}
{\em p\+Immunity\+Level} & The immunity level to be set\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A configuration result encapsulation
\end{DoxyReturn}
\Hypertarget{a00706_ad6a65762fe807e8acb0d2240ab744879}\index{RawDataSensor@{RawDataSensor}!SetNetworkInformation@{SetNetworkInformation}}
\index{SetNetworkInformation@{SetNetworkInformation}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{SetNetworkInformation()}{SetNetworkInformation()}}
{\footnotesize\ttfamily \label{a00706_ad6a65762fe807e8acb0d2240ab744879} 
\mbox{\hyperlink{a00782}{Configuration\+Result}} Raw\+Data\+Sensor\+::\+Set\+Network\+Information (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{a00698}{Network\+Information}}}]{p\+Network}{}\end{DoxyParamCaption})}



Set the overall network information except IP v4 and Port. 


\begin{DoxyParams}{Parameters}
{\em p\+Network} & An encapsulation of the network data\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A configuration result encapsulation
\end{DoxyReturn}
\Hypertarget{a00706_aa3b3219853033bbfec0201d3d3a00bfa}\index{RawDataSensor@{RawDataSensor}!SetRawDataExchangeMode@{SetRawDataExchangeMode}}
\index{SetRawDataExchangeMode@{SetRawDataExchangeMode}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{SetRawDataExchangeMode()}{SetRawDataExchangeMode()}}
{\footnotesize\ttfamily \label{a00706_aa3b3219853033bbfec0201d3d3a00bfa} 
\mbox{\hyperlink{a00782}{Configuration\+Result}} Raw\+Data\+Sensor\+::\+Set\+Raw\+Data\+Exchange\+Mode (\begin{DoxyParamCaption}\item[{PROTOCOL}]{p\+Protocol}{}\end{DoxyParamCaption})}



Sets the RAW data exchange mode. Can be either TCP or UDP. 


\begin{DoxyParams}{Parameters}
{\em p\+Protocol} & The exchange mode (TCP or UDP)\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A configuration result encapsulation
\end{DoxyReturn}
\Hypertarget{a00706_ae6c1056f4cd978f4c07ed2720331961c}\index{RawDataSensor@{RawDataSensor}!SetScanningDirection@{SetScanningDirection}}
\index{SetScanningDirection@{SetScanningDirection}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{SetScanningDirection()}{SetScanningDirection()}}
{\footnotesize\ttfamily \label{a00706_ae6c1056f4cd978f4c07ed2720331961c} 
\mbox{\hyperlink{a00782}{Configuration\+Result}} Raw\+Data\+Sensor\+::\+Set\+Scanning\+Direction (\begin{DoxyParamCaption}\item[{SCANNING\+\_\+\+DIRECTION}]{p\+Scan\+Direction}{}\end{DoxyParamCaption})}



Sets the scanning direction. Can be either CLOCKWISE or COUNTER\+\_\+\+CLOCKWISE. 


\begin{DoxyParams}{Parameters}
{\em p\+Scan\+Direction} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A configuration result encapsulation
\end{DoxyReturn}
\Hypertarget{a00706_aba72a1e03d53aa0a0fca973051c352a0}\index{RawDataSensor@{RawDataSensor}!SetSensorLeds@{SetSensorLeds}}
\index{SetSensorLeds@{SetSensorLeds}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{SetSensorLeds()}{SetSensorLeds()}}
{\footnotesize\ttfamily \label{a00706_aba72a1e03d53aa0a0fca973051c352a0} 
\mbox{\hyperlink{a00782}{Configuration\+Result}} Raw\+Data\+Sensor\+::\+Set\+Sensor\+Leds (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{a00714}{Sensor\+Leds}}}]{p\+Leds}{}\end{DoxyParamCaption})}



Sets the sensors external leds status (ON or OFF) 


\begin{DoxyParams}{Parameters}
{\em p\+Leds} & The encapsulation of the leds to be set\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A configuration result encapsulation
\end{DoxyReturn}
\Hypertarget{a00706_a2def66d123979f59ee18495bd47854cf}\index{RawDataSensor@{RawDataSensor}!SetSkipScan@{SetSkipScan}}
\index{SetSkipScan@{SetSkipScan}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{SetSkipScan()}{SetSkipScan()}}
{\footnotesize\ttfamily \label{a00706_a2def66d123979f59ee18495bd47854cf} 
\mbox{\hyperlink{a00782}{Configuration\+Result}} Raw\+Data\+Sensor\+::\+Set\+Skip\+Scan (\begin{DoxyParamCaption}\item[{int}]{p\+Skip\+Scan}{}\end{DoxyParamCaption})}



Sets the skip scan. 


\begin{DoxyParams}{Parameters}
{\em p\+Skip\+Scan} & The skip scan value to be set\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A configuration result encapsulation
\end{DoxyReturn}
\Hypertarget{a00706_af9c3da7b0715c169fa945fc2b51ab63a}\index{RawDataSensor@{RawDataSensor}!StartWindowCalibration@{StartWindowCalibration}}
\index{StartWindowCalibration@{StartWindowCalibration}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{StartWindowCalibration()}{StartWindowCalibration()}}
{\footnotesize\ttfamily \label{a00706_af9c3da7b0715c169fa945fc2b51ab63a} 
\mbox{\hyperlink{a00782}{Configuration\+Result}} Raw\+Data\+Sensor\+::\+Start\+Window\+Calibration (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Starts the window calibration. 

\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\Hypertarget{a00706_a17e79b505b62b8f027459ac978b80e6f}\index{RawDataSensor@{RawDataSensor}!StopMdi@{StopMdi}}
\index{StopMdi@{StopMdi}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{StopMdi()}{StopMdi()}}
{\footnotesize\ttfamily \label{a00706_a17e79b505b62b8f027459ac978b80e6f} 
void Raw\+Data\+Sensor\+::\+Stop\+Mdi (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Request the sensor to stop sending MDI data to host. 



\doxysubsection{Friends And Related Symbol Documentation}
\Hypertarget{a00706_af272e4a37d749e46cf2270daf6e52be7}\index{RawDataSensor@{RawDataSensor}!AgvSensor@{AgvSensor}}
\index{AgvSensor@{AgvSensor}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{AgvSensor}{AgvSensor}}
{\footnotesize\ttfamily \label{a00706_af272e4a37d749e46cf2270daf6e52be7} 
friend class \mbox{\hyperlink{a00598}{Agv\+Sensor}}\hspace{0.3cm}{\ttfamily [friend]}}



\doxysubsection{Member Data Documentation}
\Hypertarget{a00706_a9d14a8ddc98a2debebf9d1288cd34ee0}\index{RawDataSensor@{RawDataSensor}!GetImmu@{GetImmu}}
\index{GetImmu@{GetImmu}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{GetImmu}{GetImmu}}
{\footnotesize\ttfamily \label{a00706_a9d14a8ddc98a2debebf9d1288cd34ee0} 
string Raw\+Data\+Sensor\+::\+Get\+Immu = \{ 0x47 ,0x65 ,0x74 ,0x49, 0x6D, 0x6D, 0x75 \}\hspace{0.3cm}{\ttfamily [protected]}}

\Hypertarget{a00706_a05b87b31cd9f4d0558538f5b86400840}\index{RawDataSensor@{RawDataSensor}!SetImmu@{SetImmu}}
\index{SetImmu@{SetImmu}!RawDataSensor@{RawDataSensor}}
\doxysubsubsection{\texorpdfstring{SetImmu}{SetImmu}}
{\footnotesize\ttfamily \label{a00706_a05b87b31cd9f4d0558538f5b86400840} 
string Raw\+Data\+Sensor\+::\+Set\+Immu = \{ 0x53, 0x65, 0x74, 0x49, 0x6D, 0x6D, 0x75 \}\hspace{0.3cm}{\ttfamily [protected]}}



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Raw\+Data\+Sensor.\+h\item 
Raw\+Data\+Sensor.\+cpp\end{DoxyCompactItemize}
