\hypertarget{class_l_serie}{
\section{LSerie Class Reference}
\label{class_l_serie}\index{LSerie@{LSerie}}
}


{\ttfamily \#include $<$LSerie.h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_l_serie_abd761db172724e8960f48f673b1f674b}{LSerie} ()
\begin{DoxyCompactList}\small\item\em Constructeur de la classe par défaut. \item\end{DoxyCompactList}\item 
virtual \hyperlink{class_l_serie_afd9b0e8a45e73b28fea453b8e57fd19c}{$\sim$LSerie} ()
\item 
bool \hyperlink{class_l_serie_aa3127d6534841d2861b6095cdf81ce2f}{open} (int numPort, long speedInBaud)
\item 
bool \hyperlink{class_l_serie_ad1d2071924b16dcf45a45ad570a63734}{open} (int numPort, long speedInBaud, int nbBit, int parity, float nbStopBit)
\item 
void \hyperlink{class_l_serie_a3ad05711bfb92ce297e2aa99f923e213}{closeCom} ()
\item 
bool \hyperlink{class_l_serie_ab9185db60edde0ad765b40904ecac028}{setTimeOut} (DWORD ms)
\item 
bool \hyperlink{class_l_serie_a69bfb908e50cc92fac88da77204ea0c4}{setSpeed} (DWORD baudrate)
\item 
int \hyperlink{class_l_serie_a67b2ab4b3149c4940f1369ade7ce5f44}{sendData} (DWORD lg, LPBYTE data)
\item 
int \hyperlink{class_l_serie_a8ab7b4579213c5a1c751d0df6dced1e4}{sendData} (string $\ast$data)
\item 
int \hyperlink{class_l_serie_ac3c719dec2b5d9631b5a83069f03ff86}{receiveData} (DWORD lg, LPBYTE data)
\item 
int \hyperlink{class_l_serie_ab28e72a9acc56ff6f226492405d6a303}{receiveData} (string $\ast$data)
\item 
bool \hyperlink{class_l_serie_ade84a5abf053dc88403ec4e8fe8229cc}{setRts} (bool val)
\item 
bool \hyperlink{class_l_serie_ad390085d7e00e754690033643fe0aa2b}{setDtr} (bool val)
\item 
bool \hyperlink{class_l_serie_a20876e74b2f088c6669ec14f8cc13c39}{setTxd} (bool val)
\item 
bool \hyperlink{class_l_serie_ac5ffa24314ec14e9d1b0487a0c312045}{getCts} ()
\item 
bool \hyperlink{class_l_serie_ad6aefd29443c26dbf3e9f2447de84e9b}{getDtr} ()
\item 
bool \hyperlink{class_l_serie_af972c59904919d457b18b1291dca8d61}{getRi} ()
\item 
bool \hyperlink{class_l_serie_acfcb4c86ecc93db0018d14c006f1075e}{getCd} ()
\item 
string \hyperlink{class_l_serie_a3d0933871230c53426527565c1ca0ff0}{getErrorMsg} ()
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{class_l_serie_adda2d3c2a7eb819b21d4620eedb95300}{currentPort}
\item 
HANDLE \hyperlink{class_l_serie_aee7c5c5ad604f8de0259f93e06715ff0}{comport}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 10 of file LSerie.h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_l_serie_abd761db172724e8960f48f673b1f674b}{
\index{LSerie@{LSerie}!LSerie@{LSerie}}
\index{LSerie@{LSerie}!LSerie@{LSerie}}
\subsubsection[{LSerie}]{\setlength{\rightskip}{0pt plus 5cm}LSerie::LSerie ()}}
\label{class_l_serie_abd761db172724e8960f48f673b1f674b}


Constructeur de la classe par défaut. 

Il paramétre une communication série sur COM1 à 9600 Bauds, 8 bit et pas de parté. 

Definition at line 12 of file LSerie.cpp.

\hypertarget{class_l_serie_afd9b0e8a45e73b28fea453b8e57fd19c}{
\index{LSerie@{LSerie}!$\sim$LSerie@{$\sim$LSerie}}
\index{$\sim$LSerie@{$\sim$LSerie}!LSerie@{LSerie}}
\subsubsection[{$\sim$LSerie}]{\setlength{\rightskip}{0pt plus 5cm}LSerie::$\sim$LSerie ()\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_l_serie_afd9b0e8a45e73b28fea453b8e57fd19c}


Definition at line 18 of file LSerie.cpp.



\subsection{Member Function Documentation}
\hypertarget{class_l_serie_a3ad05711bfb92ce297e2aa99f923e213}{
\index{LSerie@{LSerie}!closeCom@{closeCom}}
\index{closeCom@{closeCom}!LSerie@{LSerie}}
\subsubsection[{closeCom}]{\setlength{\rightskip}{0pt plus 5cm}void LSerie::closeCom ()}}
\label{class_l_serie_a3ad05711bfb92ce297e2aa99f923e213}


Definition at line 122 of file LSerie.cpp.

\hypertarget{class_l_serie_acfcb4c86ecc93db0018d14c006f1075e}{
\index{LSerie@{LSerie}!getCd@{getCd}}
\index{getCd@{getCd}!LSerie@{LSerie}}
\subsubsection[{getCd}]{\setlength{\rightskip}{0pt plus 5cm}bool LSerie::getCd ()}}
\label{class_l_serie_acfcb4c86ecc93db0018d14c006f1075e}


Definition at line 403 of file LSerie.cpp.

\hypertarget{class_l_serie_ac5ffa24314ec14e9d1b0487a0c312045}{
\index{LSerie@{LSerie}!getCts@{getCts}}
\index{getCts@{getCts}!LSerie@{LSerie}}
\subsubsection[{getCts}]{\setlength{\rightskip}{0pt plus 5cm}bool LSerie::getCts ()}}
\label{class_l_serie_ac5ffa24314ec14e9d1b0487a0c312045}


Definition at line 369 of file LSerie.cpp.

\hypertarget{class_l_serie_ad6aefd29443c26dbf3e9f2447de84e9b}{
\index{LSerie@{LSerie}!getDtr@{getDtr}}
\index{getDtr@{getDtr}!LSerie@{LSerie}}
\subsubsection[{getDtr}]{\setlength{\rightskip}{0pt plus 5cm}bool LSerie::getDtr ()}}
\label{class_l_serie_ad6aefd29443c26dbf3e9f2447de84e9b}


Definition at line 380 of file LSerie.cpp.

\hypertarget{class_l_serie_a3d0933871230c53426527565c1ca0ff0}{
\index{LSerie@{LSerie}!getErrorMsg@{getErrorMsg}}
\index{getErrorMsg@{getErrorMsg}!LSerie@{LSerie}}
\subsubsection[{getErrorMsg}]{\setlength{\rightskip}{0pt plus 5cm}string LSerie::getErrorMsg ()}}
\label{class_l_serie_a3d0933871230c53426527565c1ca0ff0}


Definition at line 416 of file LSerie.cpp.

\hypertarget{class_l_serie_af972c59904919d457b18b1291dca8d61}{
\index{LSerie@{LSerie}!getRi@{getRi}}
\index{getRi@{getRi}!LSerie@{LSerie}}
\subsubsection[{getRi}]{\setlength{\rightskip}{0pt plus 5cm}bool LSerie::getRi ()}}
\label{class_l_serie_af972c59904919d457b18b1291dca8d61}


Definition at line 391 of file LSerie.cpp.

\hypertarget{class_l_serie_ad1d2071924b16dcf45a45ad570a63734}{
\index{LSerie@{LSerie}!open@{open}}
\index{open@{open}!LSerie@{LSerie}}
\subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool LSerie::open (int {\em numPort}, \/  long {\em speedInBaud}, \/  int {\em nbBit}, \/  int {\em parity}, \/  float {\em nbStopBit})}}
\label{class_l_serie_ad1d2071924b16dcf45a45ad570a63734}


Definition at line 37 of file LSerie.cpp.

\hypertarget{class_l_serie_aa3127d6534841d2861b6095cdf81ce2f}{
\index{LSerie@{LSerie}!open@{open}}
\index{open@{open}!LSerie@{LSerie}}
\subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool LSerie::open (int {\em numPort}, \/  long {\em speedInBaud})}}
\label{class_l_serie_aa3127d6534841d2861b6095cdf81ce2f}


Definition at line 22 of file LSerie.cpp.

\hypertarget{class_l_serie_ab28e72a9acc56ff6f226492405d6a303}{
\index{LSerie@{LSerie}!receiveData@{receiveData}}
\index{receiveData@{receiveData}!LSerie@{LSerie}}
\subsubsection[{receiveData}]{\setlength{\rightskip}{0pt plus 5cm}int LSerie::receiveData (string $\ast$ {\em data})}}
\label{class_l_serie_ab28e72a9acc56ff6f226492405d6a303}


Definition at line 260 of file LSerie.cpp.

\hypertarget{class_l_serie_ac3c719dec2b5d9631b5a83069f03ff86}{
\index{LSerie@{LSerie}!receiveData@{receiveData}}
\index{receiveData@{receiveData}!LSerie@{LSerie}}
\subsubsection[{receiveData}]{\setlength{\rightskip}{0pt plus 5cm}int LSerie::receiveData (DWORD {\em lg}, \/  LPBYTE {\em data})}}
\label{class_l_serie_ac3c719dec2b5d9631b5a83069f03ff86}


Definition at line 283 of file LSerie.cpp.

\hypertarget{class_l_serie_a8ab7b4579213c5a1c751d0df6dced1e4}{
\index{LSerie@{LSerie}!sendData@{sendData}}
\index{sendData@{sendData}!LSerie@{LSerie}}
\subsubsection[{sendData}]{\setlength{\rightskip}{0pt plus 5cm}int LSerie::sendData (string $\ast$ {\em data})}}
\label{class_l_serie_a8ab7b4579213c5a1c751d0df6dced1e4}


Definition at line 200 of file LSerie.cpp.

\hypertarget{class_l_serie_a67b2ab4b3149c4940f1369ade7ce5f44}{
\index{LSerie@{LSerie}!sendData@{sendData}}
\index{sendData@{sendData}!LSerie@{LSerie}}
\subsubsection[{sendData}]{\setlength{\rightskip}{0pt plus 5cm}int LSerie::sendData (DWORD {\em lg}, \/  LPBYTE {\em data})}}
\label{class_l_serie_a67b2ab4b3149c4940f1369ade7ce5f44}


Definition at line 219 of file LSerie.cpp.

\hypertarget{class_l_serie_ad390085d7e00e754690033643fe0aa2b}{
\index{LSerie@{LSerie}!setDtr@{setDtr}}
\index{setDtr@{setDtr}!LSerie@{LSerie}}
\subsubsection[{setDtr}]{\setlength{\rightskip}{0pt plus 5cm}bool LSerie::setDtr (bool {\em val})}}
\label{class_l_serie_ad390085d7e00e754690033643fe0aa2b}


Definition at line 351 of file LSerie.cpp.

\hypertarget{class_l_serie_ade84a5abf053dc88403ec4e8fe8229cc}{
\index{LSerie@{LSerie}!setRts@{setRts}}
\index{setRts@{setRts}!LSerie@{LSerie}}
\subsubsection[{setRts}]{\setlength{\rightskip}{0pt plus 5cm}bool LSerie::setRts (bool {\em val})}}
\label{class_l_serie_ade84a5abf053dc88403ec4e8fe8229cc}


Definition at line 313 of file LSerie.cpp.

\hypertarget{class_l_serie_a69bfb908e50cc92fac88da77204ea0c4}{
\index{LSerie@{LSerie}!setSpeed@{setSpeed}}
\index{setSpeed@{setSpeed}!LSerie@{LSerie}}
\subsubsection[{setSpeed}]{\setlength{\rightskip}{0pt plus 5cm}bool LSerie::setSpeed (DWORD {\em baudrate})}}
\label{class_l_serie_a69bfb908e50cc92fac88da77204ea0c4}


Definition at line 166 of file LSerie.cpp.

\hypertarget{class_l_serie_ab9185db60edde0ad765b40904ecac028}{
\index{LSerie@{LSerie}!setTimeOut@{setTimeOut}}
\index{setTimeOut@{setTimeOut}!LSerie@{LSerie}}
\subsubsection[{setTimeOut}]{\setlength{\rightskip}{0pt plus 5cm}bool LSerie::setTimeOut (DWORD {\em ms})}}
\label{class_l_serie_ab9185db60edde0ad765b40904ecac028}


Definition at line 140 of file LSerie.cpp.

\hypertarget{class_l_serie_a20876e74b2f088c6669ec14f8cc13c39}{
\index{LSerie@{LSerie}!setTxd@{setTxd}}
\index{setTxd@{setTxd}!LSerie@{LSerie}}
\subsubsection[{setTxd}]{\setlength{\rightskip}{0pt plus 5cm}bool LSerie::setTxd (bool {\em val})}}
\label{class_l_serie_a20876e74b2f088c6669ec14f8cc13c39}


Definition at line 332 of file LSerie.cpp.



\subsection{Member Data Documentation}
\hypertarget{class_l_serie_aee7c5c5ad604f8de0259f93e06715ff0}{
\index{LSerie@{LSerie}!comport@{comport}}
\index{comport@{comport}!LSerie@{LSerie}}
\subsubsection[{comport}]{\setlength{\rightskip}{0pt plus 5cm}HANDLE {\bf LSerie::comport}}}
\label{class_l_serie_aee7c5c5ad604f8de0259f93e06715ff0}


Definition at line 19 of file LSerie.h.

\hypertarget{class_l_serie_adda2d3c2a7eb819b21d4620eedb95300}{
\index{LSerie@{LSerie}!currentPort@{currentPort}}
\index{currentPort@{currentPort}!LSerie@{LSerie}}
\subsubsection[{currentPort}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf LSerie::currentPort}}}
\label{class_l_serie_adda2d3c2a7eb819b21d4620eedb95300}


Definition at line 17 of file LSerie.h.



The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
neurosky/header/\hyperlink{_l_serie_8h}{LSerie.h}\item 
neurosky/src/\hyperlink{_l_serie_8cpp}{LSerie.cpp}\end{DoxyCompactItemize}
