\section{CRcv\-Buffer Klassenreferenz}
\label{classCRcvBuffer}\index{CRcvBuffer@{CRcvBuffer}}
handles the received data  


{\tt \#include $<$rcvbuffer.hpp$>$}

\subsection*{\"{O}ffentliche Methoden}
\begin{CompactItemize}
\item 
{\bf CRcv\-Buffer} ()
\begin{CompactList}\small\item\em std::cout \item\end{CompactList}\item 
{\bf CRcv\-Buffer} (const {\bf CRcv\-Buffer} \&Old\-Object)\label{classCRcvBuffer_a1}

\item 
{\bf CRcv\-Buffer} \& {\bf operator=} (const {\bf CRcv\-Buffer} \&New\-Object)
\begin{CompactList}\small\item\em needed to avoid the bitwise copying of handles \item\end{CompactList}\item 
DWORD {\bf Get\-Time\-Out} (void) const
\begin{CompactList}\small\item\em get/ set timeouts \item\end{CompactList}\item 
void {\bf Set\-Time\-Out} (const DWORD dw\-New\-Time\-Out)
\item 
RECEIVED\_\-TYPE {\bf Get\-Command} (void) const
\begin{CompactList}\small\item\em get / set received command \item\end{CompactList}\item 
void {\bf Set\-Command} (RECEIVED\_\-TYPE New\-Command)
\item 
ADDRESS\_\-TYPE {\bf Get\-Address} (void) const
\begin{CompactList}\small\item\em get/ set buffer \item\end{CompactList}\item 
unsigned int {\bf Get\-Length} (void) const
\item 
std::vector$<$ unsigned char $>$ {\bf Get\-Data} (void) const
\item 
void {\bf Set\-Address} (const ADDRESS\_\-TYPE n\-Address)
\item 
void {\bf Set\-Length} (const unsigned int ui\-Length)
\item 
void {\bf Set\-Data} (const std::vector$<$ unsigned char $>$ \&auc\-Data)
\item 
bool {\bf Begin\-Data\-Transfer} (void) const
\begin{CompactList}\small\item\em (un)locking rcvbuffer \item\end{CompactList}\item 
bool {\bf End\-Data\-Transfer} (void) const
\item 
bool {\bf Store\-Data} (const RECEIVED\_\-TYPE Command, const ADDRESS\_\-TYPE n\-Address, const unsigned int ui\-Length, const std::vector$<$ unsigned char $>$ \&auc\-Data=std::vector$<$ unsigned char $>$::vector())
\begin{CompactList}\small\item\em store the data into rcvbuffer \item\end{CompactList}\item 
bool {\bf Fetch\-Data} (RECEIVED\_\-TYPE \&Command, ADDRESS\_\-TYPE \&n\-Address, unsigned int \&ui\-Length, std::vector$<$ unsigned char $>$ \&auc\-Data)
\item 
{\bf CRcv\-Buffer} ()\label{classCRcvBuffer_a18}

\begin{CompactList}\small\item\em constructor creates mutex to protect internal buffer \item\end{CompactList}\item 
{\bf CRcv\-Buffer} (const {\bf CRcv\-Buffer} \&Old\-Object)\label{classCRcvBuffer_a19}

\begin{CompactList}\small\item\em copyconstructor needed because we create a mutex during the constructor \item\end{CompactList}\item 
virtual {\bf $\sim$CRcv\-Buffer} ()\label{classCRcvBuffer_a20}

\begin{CompactList}\small\item\em destructor frees mutex \item\end{CompactList}\item 
{\bf CRcv\-Buffer} \& {\bf operator=} (const {\bf CRcv\-Buffer} \&New\-Object)\label{classCRcvBuffer_a21}

\begin{CompactList}\small\item\em overwrite assignment operator needed because we create a mutex during the constructor \item\end{CompactList}\item 
DWORD {\bf Get\-Time\-Out} (void) const
\begin{CompactList}\small\item\em delivers current internal timeout value \item\end{CompactList}\item 
void {\bf Set\-Time\-Out} (const DWORD dw\-New\-Time\-Out)
\begin{CompactList}\small\item\em sets current internal timeout value \item\end{CompactList}\item 
RECEIVED\_\-TYPE {\bf Get\-Command} (void) const
\begin{CompactList}\small\item\em delivers received command \item\end{CompactList}\item 
void {\bf Set\-Command} (RECEIVED\_\-TYPE New\-Command)
\begin{CompactList}\small\item\em sets received command \item\end{CompactList}\item 
ADDRESS\_\-TYPE {\bf Get\-Address} (void) const
\begin{CompactList}\small\item\em delivers received address \item\end{CompactList}\item 
unsigned int {\bf Get\-Length} (void) const
\begin{CompactList}\small\item\em delivers received data length \item\end{CompactList}\item 
std::vector$<$ unsigned char $>$ {\bf Get\-Data} (void) const
\begin{CompactList}\small\item\em delivers received data \item\end{CompactList}\item 
void {\bf Set\-Address} (const ADDRESS\_\-TYPE n\-Address)
\begin{CompactList}\small\item\em sets received command \item\end{CompactList}\item 
void {\bf Set\-Length} (const unsigned int ui\-Length)
\begin{CompactList}\small\item\em sets received data length \item\end{CompactList}\item 
void {\bf Set\-Data} (const std::vector$<$ unsigned char $>$ \&auc\-Data)
\begin{CompactList}\small\item\em sets received data \item\end{CompactList}\item 
bool {\bf Begin\-Data\-Transfer} (void) const
\begin{CompactList}\small\item\em locking receive buffer \item\end{CompactList}\item 
bool {\bf End\-Data\-Transfer} (void) const
\begin{CompactList}\small\item\em unlock receive buffer \item\end{CompactList}\item 
bool {\bf Store\-Data} (const RECEIVED\_\-TYPE Command, const ADDRESS\_\-TYPE n\-Address, const unsigned int ui\-Length, const std::vector$<$ unsigned char $>$ \&auc\-Data=std::vector$<$ unsigned char $>$::vector())
\begin{CompactList}\small\item\em store the data into rcvbuffer \item\end{CompactList}\item 
bool {\bf Fetch\-Data} (RECEIVED\_\-TYPE \&Command, ADDRESS\_\-TYPE \&n\-Address, unsigned int \&ui\-Length, std::vector$<$ unsigned char $>$ \&auc\-Data)
\begin{CompactList}\small\item\em delivers the received data \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attribute}
\begin{CompactItemize}
\item 
HANDLE {\bf m\_\-h\-Data\-Lock}\label{classCRcvBuffer_r0}

\begin{CompactList}\small\item\em handle for mutex to protect receive buffer \item\end{CompactList}\item 
ADDRESS\_\-TYPE {\bf m\_\-n\-Address}\label{classCRcvBuffer_r1}

\begin{CompactList}\small\item\em received address \item\end{CompactList}\item 
unsigned int {\bf m\_\-ui\-Length}\label{classCRcvBuffer_r2}

\begin{CompactList}\small\item\em received length \item\end{CompactList}\item 
std::vector$<$ unsigned char $>$ {\bf m\_\-auc\-Data}\label{classCRcvBuffer_r3}

\item 
RECEIVED\_\-TYPE {\bf m\_\-Rcv\-Command}\label{classCRcvBuffer_r4}

\begin{CompactList}\small\item\em received command ( see enum RECEIVED\_\-TYPE for details ) \item\end{CompactList}\item 
DWORD {\bf m\_\-dw\-Time\-Out}\label{classCRcvBuffer_r5}

\begin{CompactList}\small\item\em internal Time\-Out \item\end{CompactList}\item 
std::vector$<$ unsigned char $>$ {\bf m\_\-auc\-Data}\label{classCRcvBuffer_r6}

\begin{CompactList}\small\item\em received data \item\end{CompactList}\end{CompactItemize}


\subsection{Ausf\"{u}hrliche Beschreibung}
handles the received data 

\begin{Desc}
\item[Version:]1.0 \end{Desc}
\begin{Desc}
\item[Autor:]Ingo Fr\"{o}hlich \end{Desc}




\subsection{Beschreibung der Konstruktoren und Destruktoren}
\index{CRcvBuffer@{CRcv\-Buffer}!CRcvBuffer@{CRcvBuffer}}
\index{CRcvBuffer@{CRcvBuffer}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}CRcv\-Buffer::CRcv\-Buffer ()}\label{classCRcvBuffer_a0}


std::cout 

handles the data received form rcvthread

\begin{Desc}
\item[Autor:]Ingo Fr\"{o}hlich data 23.07.2001\end{Desc}
Copyright Analytica Gmb\-H 

\subsection{Dokumentation der Elementfunktionen}
\index{CRcvBuffer@{CRcv\-Buffer}!BeginDataTransfer@{BeginDataTransfer}}
\index{BeginDataTransfer@{BeginDataTransfer}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool CRcv\-Buffer::Begin\-Data\-Transfer (void) const}\label{classCRcvBuffer_a32}


locking receive buffer 

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em ---}]\end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]true lock successfull 

false else \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!BeginDataTransfer@{BeginDataTransfer}}
\index{BeginDataTransfer@{BeginDataTransfer}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool CRcv\-Buffer::Begin\-Data\-Transfer (void) const}\label{classCRcvBuffer_a14}


(un)locking rcvbuffer 

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em ---}]\end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]true : ok, false : couldn't get exclusive access to the received data \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!EndDataTransfer@{EndDataTransfer}}
\index{EndDataTransfer@{EndDataTransfer}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool CRcv\-Buffer::End\-Data\-Transfer (void) const}\label{classCRcvBuffer_a33}


unlock receive buffer 

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em ---}]\end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]true unlock successfull 

false else \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!EndDataTransfer@{EndDataTransfer}}
\index{EndDataTransfer@{EndDataTransfer}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool CRcv\-Buffer::End\-Data\-Transfer (void) const}\label{classCRcvBuffer_a15}


\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em ---}]\end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]true : ok, false : an error occured during the remove of the exclusive 

access to the received data ( use Get\-Last\-Error() to get extended error information \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!FetchData@{FetchData}}
\index{FetchData@{FetchData}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool CRcv\-Buffer::Fetch\-Data (RECEIVED\_\-TYPE \& {\em Command}, ADDRESS\_\-TYPE \& {\em n\-Address}, unsigned int \& {\em ui\-Length}, std::vector$<$ unsigned char $>$ \& {\em auc\-Data})}\label{classCRcvBuffer_a35}


delivers the received data 

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em returned}]received command \item[{\em returned}]received address \item[{\em returned}]received data length \item[{\em returned}]received data \end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]true operation successfull 

false else \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!FetchData@{FetchData}}
\index{FetchData@{FetchData}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool CRcv\-Buffer::Fetch\-Data (RECEIVED\_\-TYPE \& {\em Command}, ADDRESS\_\-TYPE \& {\em n\-Address}, unsigned int \& {\em ui\-Length}, std::vector$<$ unsigned char $>$ \& {\em auc\-Data})}\label{classCRcvBuffer_a17}


\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em address,length}]and data to store the received data in \end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]true : ok, false an error occured. The data were not overgiven \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!GetAddress@{GetAddress}}
\index{GetAddress@{GetAddress}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}ADDRESS\_\-TYPE CRcv\-Buffer::Get\-Address (void) const}\label{classCRcvBuffer_a26}


delivers received address 

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em ---}]\end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]received address \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!GetAddress@{GetAddress}}
\index{GetAddress@{GetAddress}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}ADDRESS\_\-TYPE CRcv\-Buffer::Get\-Address (void) const}\label{classCRcvBuffer_a8}


get/ set buffer 

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em ---}]\end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]the received address \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!GetCommand@{GetCommand}}
\index{GetCommand@{GetCommand}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}RECEIVED\_\-TYPE CRcv\-Buffer::Get\-Command (void) const}\label{classCRcvBuffer_a24}


delivers received command 

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em ---}]\end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]received command \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!GetCommand@{GetCommand}}
\index{GetCommand@{GetCommand}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}RECEIVED\_\-TYPE CRcv\-Buffer::Get\-Command (void) const}\label{classCRcvBuffer_a6}


get / set received command 

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em ---}]\end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]the received command \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!GetData@{GetData}}
\index{GetData@{GetData}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::vector$<$unsigned char$>$ CRcv\-Buffer::Get\-Data (void) const}\label{classCRcvBuffer_a28}


delivers received data 

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em ---}]\end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]vector with received data \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!GetData@{GetData}}
\index{GetData@{GetData}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::vector$<$ unsigned char $>$ CRcv\-Buffer::Get\-Data (void) const}\label{classCRcvBuffer_a10}


\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em ---}]\end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]the received data \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!GetLength@{GetLength}}
\index{GetLength@{GetLength}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned int CRcv\-Buffer::Get\-Length (void) const}\label{classCRcvBuffer_a27}


delivers received data length 

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em ---}]\end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]received length \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!GetLength@{GetLength}}
\index{GetLength@{GetLength}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned int CRcv\-Buffer::Get\-Length (void) const}\label{classCRcvBuffer_a9}


\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em ---}]\end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]the received length \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!GetTimeOut@{GetTimeOut}}
\index{GetTimeOut@{GetTimeOut}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}DWORD CRcv\-Buffer::Get\-Time\-Out (void) const}\label{classCRcvBuffer_a22}


delivers current internal timeout value 

uses during receiving data from the receive thread

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em ---}]\end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]current timeout \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!GetTimeOut@{GetTimeOut}}
\index{GetTimeOut@{GetTimeOut}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}DWORD CRcv\-Buffer::Get\-Time\-Out (void) const}\label{classCRcvBuffer_a4}


get/ set timeouts 

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em ---}]\end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]current Time\-Out value \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!operator=@{operator=}}
\index{operator=@{operator=}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf CRcv\-Buffer} \& CRcv\-Buffer::operator= (const {\bf CRcv\-Buffer} \& {\em New\-Object})}\label{classCRcvBuffer_a3}


needed to avoid the bitwise copying of handles 

Received data

address.

length 

data Time\-Outs

getting data from receive thread \index{CRcvBuffer@{CRcv\-Buffer}!SetAddress@{SetAddress}}
\index{SetAddress@{SetAddress}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CRcv\-Buffer::Set\-Address (const ADDRESS\_\-TYPE {\em n\-Address})}\label{classCRcvBuffer_a29}


sets received command 

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em command}]\end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]--- \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!SetAddress@{SetAddress}}
\index{SetAddress@{SetAddress}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CRcv\-Buffer::Set\-Address (const ADDRESS\_\-TYPE {\em n\-Address})}\label{classCRcvBuffer_a11}


\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em the}]received address \end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]--- \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!SetCommand@{SetCommand}}
\index{SetCommand@{SetCommand}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CRcv\-Buffer::Set\-Command (RECEIVED\_\-TYPE {\em New\-Command})}\label{classCRcvBuffer_a25}


sets received command 

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em received}]command \end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]--- \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!SetCommand@{SetCommand}}
\index{SetCommand@{SetCommand}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CRcv\-Buffer::Set\-Command (RECEIVED\_\-TYPE {\em New\-Rcv\-Command})}\label{classCRcvBuffer_a7}


\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em the}]received command \end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]--- \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!SetData@{SetData}}
\index{SetData@{SetData}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CRcv\-Buffer::Set\-Data (const std::vector$<$ unsigned char $>$ \& {\em auc\-Data})}\label{classCRcvBuffer_a31}


sets received data 

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em received}]data \end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]--- \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!SetData@{SetData}}
\index{SetData@{SetData}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CRcv\-Buffer::Set\-Data (const std::vector$<$ unsigned char $>$ \& {\em auc\-Data})}\label{classCRcvBuffer_a13}


\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em the}]received data \end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]--- \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!SetLength@{SetLength}}
\index{SetLength@{SetLength}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CRcv\-Buffer::Set\-Length (const unsigned int {\em ui\-Length})}\label{classCRcvBuffer_a30}


sets received data length 

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em data}]length \end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]--- \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!SetLength@{SetLength}}
\index{SetLength@{SetLength}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CRcv\-Buffer::Set\-Length (const unsigned int {\em ui\-Length})}\label{classCRcvBuffer_a12}


\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em the}]received length \end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]--- \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!SetTimeOut@{SetTimeOut}}
\index{SetTimeOut@{SetTimeOut}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CRcv\-Buffer::Set\-Time\-Out (const DWORD {\em dw\-New\-Time\-Out})}\label{classCRcvBuffer_a23}


sets current internal timeout value 

uses during receiving data from the receive thread

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em new}]internal timeout value \end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]--- \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!SetTimeOut@{SetTimeOut}}
\index{SetTimeOut@{SetTimeOut}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CRcv\-Buffer::Set\-Time\-Out (const DWORD {\em dw\-New\-Time\-Out})}\label{classCRcvBuffer_a5}


\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em New}]Time\-Out value \end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]--- \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!StoreData@{StoreData}}
\index{StoreData@{StoreData}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool CRcv\-Buffer::Store\-Data (const RECEIVED\_\-TYPE {\em Command}, const ADDRESS\_\-TYPE {\em n\-Address}, const unsigned int {\em ui\-Length}, const std::vector$<$ unsigned char $>$ \& {\em auc\-Data} = {\tt std::vector$<$\ unsigned\ char\ $>$::vector()})}\label{classCRcvBuffer_a34}


store the data into rcvbuffer 

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em command}]\item[{\em address}]\item[{\em length}]of the data \item[{\em the}]data \end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]true store successfull 

false else \end{Desc}
\index{CRcvBuffer@{CRcv\-Buffer}!StoreData@{StoreData}}
\index{StoreData@{StoreData}!CRcvBuffer@{CRcv\-Buffer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool CRcv\-Buffer::Store\-Data (const RECEIVED\_\-TYPE {\em Command}, const ADDRESS\_\-TYPE {\em n\-Address}, const unsigned int {\em ui\-Length}, const std::vector$<$ unsigned char $>$ \& {\em auc\-Data} = {\tt std::vector$<$unsigned\ char$>$::vector()})}\label{classCRcvBuffer_a16}


store the data into rcvbuffer 

\begin{Desc}
\item[Parameter:]
\begin{description}
\item[{\em address,length}]and data ( default : empty ) to set \end{description}
\end{Desc}
\begin{Desc}
\item[R\"{u}ckgabe:]true : ok, false an error occured. The data were not set \end{Desc}


Die Dokumentation f\"{u}r diese Klasse wurde erzeugt aufgrund der Dateien:\begin{CompactItemize}
\item 
fps\_\-rcvbuffer.hpp\item 
rcvbuffer.hpp\item 
fps\_\-rcvbuffer.cpp\item 
rcvbuffer.cpp\end{CompactItemize}
