\doxysection{Runner.\+h}
\hypertarget{a00623_source}{}\label{a00623_source}\index{Runner.h@{Runner.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#include\ <string>}}
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#include\ <thread>}}
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ <iostream>}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ <fstream>}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#include\ "{}../StarfleetToolbox/BaseCommunication.h"{}}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#include\ "{}../StarfleetToolbox/EthernetCommunication.h"{}}}
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#include\ "{}../StarfleetToolbox/EthernetSettings.h"{}}}
\DoxyCodeLine{00009\ \textcolor{preprocessor}{\#include\ "{}../RawDataSensor/RawDataSensor.h"{}}}
\DoxyCodeLine{00010\ \textcolor{preprocessor}{\#include\ "{}../StarfleetToolbox/UsbSettings.h"{}}}
\DoxyCodeLine{00011\ \textcolor{preprocessor}{\#include\ "{}../StarfleetToolbox/UsbCommunication.h"{}}}
\DoxyCodeLine{00012\ \textcolor{preprocessor}{\#include\ "{}../StarfleetToolbox/CommunicationException.h"{}}}
\DoxyCodeLine{00013\ \textcolor{preprocessor}{\#include\ "{}../StarfleetToolbox/FileDataRecorder.h"{}}}
\DoxyCodeLine{00014\ \textcolor{preprocessor}{\#include\ "{}../StarfleetToolbox/DevicePinger.h"{}}}
\DoxyCodeLine{00015\ \textcolor{preprocessor}{\#include\ "{}../NavigationSensor/NavigationSensor.h"{}}}
\DoxyCodeLine{00016\ \textcolor{preprocessor}{\#include\ "{}../AgvSensor/AgvSensor.h"{}}}
\DoxyCodeLine{00017\ }
\DoxyCodeLine{00018\ \textcolor{preprocessor}{\#pragma\ comment(lib,\ "{}Ws2\_32.lib"{})}}
\DoxyCodeLine{00019\ }
\DoxyCodeLine{00020\ }
\DoxyCodeLine{00021\ }
\DoxyCodeLine{00022\ \textcolor{keyword}{using\ namespace\ }std;}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00024\ \textcolor{keyword}{class\ }\mbox{\hyperlink{a01048}{Runner}}}
\DoxyCodeLine{00025\ \{}
\DoxyCodeLine{00026\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00027\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a01048_a352a9423f54145f34abec68a1570b653}{run}}();}
\DoxyCodeLine{00028\ \ \ \ \ \textcolor{comment}{//RawDataSensor*\ mySensor;}}
\DoxyCodeLine{00029\ \ \ \ \ BaseSensor*\ \mbox{\hyperlink{a01048_a4bc5bae184c5c3072f0eb613a98f5da4}{mySensor}};}
\DoxyCodeLine{00030\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a01048_ac827d236737f8832c559a5f2a5f1112f}{CommunicationCallback}}(\mbox{\hyperlink{a00856}{CommunicationStatus}}*\ status);}
\DoxyCodeLine{00031\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00032\ \ \ \ \ vector<DataAvailability>\ channelStateChanged;}
\DoxyCodeLine{00033\ \ \ \ \ \textcolor{keywordtype}{void}\ EventThtread(\textcolor{keywordtype}{string}\ param,\ \textcolor{keywordtype}{int}\ sensorType);}
\DoxyCodeLine{00034\ \ \ \ \ \textcolor{keywordtype}{void}\ StatusLedThread(\textcolor{keywordtype}{string}\ param);}
\DoxyCodeLine{00035\ \ \ \ \ \textcolor{keywordtype}{void}\ StatusLearningThread(\textcolor{keywordtype}{string}\ param);}
\DoxyCodeLine{00036\ \ \ \ \ \textcolor{keywordtype}{void}\ DisplayNotSupported();}
\DoxyCodeLine{00037\ \ \ \ \ \textcolor{keywordtype}{void}\ DisplayCommands();}
\DoxyCodeLine{00038\ }
\DoxyCodeLine{00039\ \ \ \ \ \textcolor{keywordtype}{bool}\ exitThread;}
\DoxyCodeLine{00040\ \ \ \ \ thread\ rawDataThreadHandle;}
\DoxyCodeLine{00041\ \ \ \ \ thread\ agvLearningStatusThreadHandle;}
\DoxyCodeLine{00042\ \ \ \ \ thread\ rawStatusLedGetterHandle;}
\DoxyCodeLine{00043\ \ \ \ \ thread\ rawHeartBeatHandle;}
\DoxyCodeLine{00044\ \ \ \ \ \textcolor{keywordtype}{int}\ \_sensorType\ =\ 0;}
\DoxyCodeLine{00045\ }
\DoxyCodeLine{00046\ \ \ \ \ ConnectionState\ \_oldStatus\ =\ ConnectionState::Unknow;}
\DoxyCodeLine{00047\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{bool}\ directoryExists(\textcolor{keyword}{const}\ std::string\&\ dirName);}
\DoxyCodeLine{00048\ \ \ \ \ \textcolor{comment}{//\ Fonction\ pour\ créer\ un\ répertoire\ récursivement}}
\DoxyCodeLine{00049\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{bool}\ createDirectoryRecursively(\textcolor{keyword}{const}\ std::string\&\ dirPath);}
\DoxyCodeLine{00050\ \};}
\DoxyCodeLine{00051\ }

\end{DoxyCode}
