\hypertarget{struct___think_gear_stream_parser}{
\section{\_\-ThinkGearStreamParser Struct Reference}
\label{struct___think_gear_stream_parser}\index{\_\-ThinkGearStreamParser@{\_\-ThinkGearStreamParser}}
}


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

\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
unsigned char \hyperlink{struct___think_gear_stream_parser_adfb642ee8ce2c847f0c83dc3086e686e}{type}
\item 
unsigned char \hyperlink{struct___think_gear_stream_parser_ad4339e2bb0f9a0d3b6182b6f889f6b2b}{state}
\item 
unsigned char \hyperlink{struct___think_gear_stream_parser_a5aa1851199e42e5d564fc66e3b3a7868}{lastByte}
\item 
unsigned char \hyperlink{struct___think_gear_stream_parser_a3b20806388f2d5bc57abfb0fdfa7a0e4}{payloadLength}
\item 
unsigned char \hyperlink{struct___think_gear_stream_parser_a3c5d421239d0e9a1df4fd6750d41252c}{payloadBytesReceived}
\item 
unsigned char \hyperlink{struct___think_gear_stream_parser_a681b2c157ca4e9c790c21246d062e5c5}{payload} \mbox{[}256\mbox{]}
\item 
unsigned char \hyperlink{struct___think_gear_stream_parser_a7fcd57782462ff18afd9d45643169ccf}{payloadSum}
\item 
unsigned char \hyperlink{struct___think_gear_stream_parser_a016f47cd4b95718ba632a8e470ce87b7}{chksum}
\item 
void($\ast$ \hyperlink{struct___think_gear_stream_parser_a2708f959d27aa2521af4fab89e42beab}{handleDataValue} )(unsigned char extendedCodeLevel, unsigned char code, unsigned char numBytes, const unsigned char $\ast$value, void $\ast$\hyperlink{struct___think_gear_stream_parser_a1420a4641701bddc4758df63e7d25aa5}{customData})
\item 
void $\ast$ \hyperlink{struct___think_gear_stream_parser_a1420a4641701bddc4758df63e7d25aa5}{customData}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
The Parser is a state machine that manages the parsing state. 

Definition at line 61 of file ThinkGearStreamParser.h.



\subsection{Member Data Documentation}
\hypertarget{struct___think_gear_stream_parser_a016f47cd4b95718ba632a8e470ce87b7}{
\index{\_\-ThinkGearStreamParser@{\_\-ThinkGearStreamParser}!chksum@{chksum}}
\index{chksum@{chksum}!_ThinkGearStreamParser@{\_\-ThinkGearStreamParser}}
\subsubsection[{chksum}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf \_\-ThinkGearStreamParser::chksum}}}
\label{struct___think_gear_stream_parser_a016f47cd4b95718ba632a8e470ce87b7}


Definition at line 72 of file ThinkGearStreamParser.h.

\hypertarget{struct___think_gear_stream_parser_a1420a4641701bddc4758df63e7d25aa5}{
\index{\_\-ThinkGearStreamParser@{\_\-ThinkGearStreamParser}!customData@{customData}}
\index{customData@{customData}!_ThinkGearStreamParser@{\_\-ThinkGearStreamParser}}
\subsubsection[{customData}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf \_\-ThinkGearStreamParser::customData}}}
\label{struct___think_gear_stream_parser_a1420a4641701bddc4758df63e7d25aa5}


Definition at line 77 of file ThinkGearStreamParser.h.

\hypertarget{struct___think_gear_stream_parser_a2708f959d27aa2521af4fab89e42beab}{
\index{\_\-ThinkGearStreamParser@{\_\-ThinkGearStreamParser}!handleDataValue@{handleDataValue}}
\index{handleDataValue@{handleDataValue}!_ThinkGearStreamParser@{\_\-ThinkGearStreamParser}}
\subsubsection[{handleDataValue}]{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf \_\-ThinkGearStreamParser::handleDataValue})(unsigned char extendedCodeLevel, unsigned char code, unsigned char numBytes, const unsigned char $\ast$value, void $\ast${\bf customData})}}
\label{struct___think_gear_stream_parser_a2708f959d27aa2521af4fab89e42beab}


Definition at line 74 of file ThinkGearStreamParser.h.

\hypertarget{struct___think_gear_stream_parser_a5aa1851199e42e5d564fc66e3b3a7868}{
\index{\_\-ThinkGearStreamParser@{\_\-ThinkGearStreamParser}!lastByte@{lastByte}}
\index{lastByte@{lastByte}!_ThinkGearStreamParser@{\_\-ThinkGearStreamParser}}
\subsubsection[{lastByte}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf \_\-ThinkGearStreamParser::lastByte}}}
\label{struct___think_gear_stream_parser_a5aa1851199e42e5d564fc66e3b3a7868}


Definition at line 66 of file ThinkGearStreamParser.h.

\hypertarget{struct___think_gear_stream_parser_a681b2c157ca4e9c790c21246d062e5c5}{
\index{\_\-ThinkGearStreamParser@{\_\-ThinkGearStreamParser}!payload@{payload}}
\index{payload@{payload}!_ThinkGearStreamParser@{\_\-ThinkGearStreamParser}}
\subsubsection[{payload}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf \_\-ThinkGearStreamParser::payload}\mbox{[}256\mbox{]}}}
\label{struct___think_gear_stream_parser_a681b2c157ca4e9c790c21246d062e5c5}


Definition at line 70 of file ThinkGearStreamParser.h.

\hypertarget{struct___think_gear_stream_parser_a3c5d421239d0e9a1df4fd6750d41252c}{
\index{\_\-ThinkGearStreamParser@{\_\-ThinkGearStreamParser}!payloadBytesReceived@{payloadBytesReceived}}
\index{payloadBytesReceived@{payloadBytesReceived}!_ThinkGearStreamParser@{\_\-ThinkGearStreamParser}}
\subsubsection[{payloadBytesReceived}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf \_\-ThinkGearStreamParser::payloadBytesReceived}}}
\label{struct___think_gear_stream_parser_a3c5d421239d0e9a1df4fd6750d41252c}


Definition at line 69 of file ThinkGearStreamParser.h.

\hypertarget{struct___think_gear_stream_parser_a3b20806388f2d5bc57abfb0fdfa7a0e4}{
\index{\_\-ThinkGearStreamParser@{\_\-ThinkGearStreamParser}!payloadLength@{payloadLength}}
\index{payloadLength@{payloadLength}!_ThinkGearStreamParser@{\_\-ThinkGearStreamParser}}
\subsubsection[{payloadLength}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf \_\-ThinkGearStreamParser::payloadLength}}}
\label{struct___think_gear_stream_parser_a3b20806388f2d5bc57abfb0fdfa7a0e4}


Definition at line 68 of file ThinkGearStreamParser.h.

\hypertarget{struct___think_gear_stream_parser_a7fcd57782462ff18afd9d45643169ccf}{
\index{\_\-ThinkGearStreamParser@{\_\-ThinkGearStreamParser}!payloadSum@{payloadSum}}
\index{payloadSum@{payloadSum}!_ThinkGearStreamParser@{\_\-ThinkGearStreamParser}}
\subsubsection[{payloadSum}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf \_\-ThinkGearStreamParser::payloadSum}}}
\label{struct___think_gear_stream_parser_a7fcd57782462ff18afd9d45643169ccf}


Definition at line 71 of file ThinkGearStreamParser.h.

\hypertarget{struct___think_gear_stream_parser_ad4339e2bb0f9a0d3b6182b6f889f6b2b}{
\index{\_\-ThinkGearStreamParser@{\_\-ThinkGearStreamParser}!state@{state}}
\index{state@{state}!_ThinkGearStreamParser@{\_\-ThinkGearStreamParser}}
\subsubsection[{state}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf \_\-ThinkGearStreamParser::state}}}
\label{struct___think_gear_stream_parser_ad4339e2bb0f9a0d3b6182b6f889f6b2b}


Definition at line 64 of file ThinkGearStreamParser.h.

\hypertarget{struct___think_gear_stream_parser_adfb642ee8ce2c847f0c83dc3086e686e}{
\index{\_\-ThinkGearStreamParser@{\_\-ThinkGearStreamParser}!type@{type}}
\index{type@{type}!_ThinkGearStreamParser@{\_\-ThinkGearStreamParser}}
\subsubsection[{type}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf \_\-ThinkGearStreamParser::type}}}
\label{struct___think_gear_stream_parser_adfb642ee8ce2c847f0c83dc3086e686e}


Definition at line 63 of file ThinkGearStreamParser.h.



The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize}
\item 
neurosky/header/\hyperlink{_think_gear_stream_parser_8h}{ThinkGearStreamParser.h}\end{DoxyCompactItemize}
