\doxysection{File\+Data\+Recorder Class Reference}
\hypertarget{a00880}{}\label{a00880}\index{FileDataRecorder@{FileDataRecorder}}


{\ttfamily \#include $<$File\+Data\+Recorder.\+h$>$}

Inheritance diagram for File\+Data\+Recorder\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a00880}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{a00880_a45345f7b80160f42f5caf107bef00dc5}{File\+Data\+Recorder}} (string p\+Path)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00880_a97a47ff938e66fde52fdfe3b7a79c63c}{\texorpdfstring{$\sim$}{\string~}\+File\+Data\+Recorder}} ()
\item 
int \mbox{\hyperlink{a00880_ac0d8003c8e2cc6f568648e083b5adc1a}{Get\+Status}} ()
\begin{DoxyCompactList}\small\item\em Returns the recorder\textquotesingle{}s status (STOPPED, PLAYING, RECORDING) (thread safe) \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00880_a073b51a55fef0a7dd0a47744fad17146}{Play}} ()
\begin{DoxyCompactList}\small\item\em Plays a record from the file. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00880_a0ca762fc8df0e11a7488353b96e32080}{Pause}} ()
\begin{DoxyCompactList}\small\item\em Pause the playback. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00880_a9007d09bccdad4c736f15e8e837bf963}{Stop}} ()
\begin{DoxyCompactList}\small\item\em Stops either playing or recording. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00880_aa0c53c8bf75874567a362dbb18f0ee15}{Record}} ()
\begin{DoxyCompactList}\small\item\em Start recording data. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00880_a5eb0e96f48d43c1c6a5b23e40ca4e212}{Export\+To\+Csv}} (string p\+Path\+To\+Export, MEASURMENT\+\_\+\+UNIT p\+Measurment\+System)
\begin{DoxyCompactList}\small\item\em Exports record file to CSV only if recorder is in STOP mode. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00880_ae28237ea5d3fe92462ac9bf1aa519be8}{Fetch\+Record}} (\mbox{\hyperlink{a00928}{Raw\+Data}} data)
\begin{DoxyCompactList}\small\item\em Records \doxylink{a00928}{Raw\+Data} in the file (internal usage only) \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00928}{Raw\+Data}} \mbox{\hyperlink{a00880_a60fa79839e014ea9d163a4efd2b251c9}{Wait\+For\+Raw\+Data}} ()
\begin{DoxyCompactList}\small\item\em Wait for a data comming from the player. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{a00880_a45345f7b80160f42f5caf107bef00dc5}\index{FileDataRecorder@{FileDataRecorder}!FileDataRecorder@{FileDataRecorder}}
\index{FileDataRecorder@{FileDataRecorder}!FileDataRecorder@{FileDataRecorder}}
\doxysubsubsection{\texorpdfstring{FileDataRecorder()}{FileDataRecorder()}}
{\footnotesize\ttfamily \label{a00880_a45345f7b80160f42f5caf107bef00dc5} 
File\+Data\+Recorder\+::\+File\+Data\+Recorder (\begin{DoxyParamCaption}\item[{string}]{p\+Path}{}\end{DoxyParamCaption})}



Copy constructor. 


\begin{DoxyParams}{Parameters}
{\em p\+Path} & \\
\hline
\end{DoxyParams}
\Hypertarget{a00880_a97a47ff938e66fde52fdfe3b7a79c63c}\index{FileDataRecorder@{FileDataRecorder}!````~FileDataRecorder@{\texorpdfstring{$\sim$}{\string~}FileDataRecorder}}
\index{````~FileDataRecorder@{\texorpdfstring{$\sim$}{\string~}FileDataRecorder}!FileDataRecorder@{FileDataRecorder}}
\doxysubsubsection{\texorpdfstring{\texorpdfstring{$\sim$}{\string~}FileDataRecorder()}{\string~FileDataRecorder()}}
{\footnotesize\ttfamily \label{a00880_a97a47ff938e66fde52fdfe3b7a79c63c} 
File\+Data\+Recorder\+::\texorpdfstring{$\sim$}{\string~}\+File\+Data\+Recorder (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\Hypertarget{a00880_a5eb0e96f48d43c1c6a5b23e40ca4e212}\index{FileDataRecorder@{FileDataRecorder}!ExportToCsv@{ExportToCsv}}
\index{ExportToCsv@{ExportToCsv}!FileDataRecorder@{FileDataRecorder}}
\doxysubsubsection{\texorpdfstring{ExportToCsv()}{ExportToCsv()}}
{\footnotesize\ttfamily \label{a00880_a5eb0e96f48d43c1c6a5b23e40ca4e212} 
void File\+Data\+Recorder\+::\+Export\+To\+Csv (\begin{DoxyParamCaption}\item[{string}]{p\+Path\+To\+Export}{, }\item[{MEASURMENT\+\_\+\+UNIT}]{p\+Measurment\+System}{}\end{DoxyParamCaption})}



Exports record file to CSV only if recorder is in STOP mode. 


\begin{DoxyParams}{Parameters}
{\em p\+Path\+To\+Export} & The full filepath name to export the data\\
\hline
{\em p\+Measurment\+System} & The measurment system (MILLIMETERS or INCHES) to be used to export\\
\hline
\end{DoxyParams}
data conversion\Hypertarget{a00880_ae28237ea5d3fe92462ac9bf1aa519be8}\index{FileDataRecorder@{FileDataRecorder}!FetchRecord@{FetchRecord}}
\index{FetchRecord@{FetchRecord}!FileDataRecorder@{FileDataRecorder}}
\doxysubsubsection{\texorpdfstring{FetchRecord()}{FetchRecord()}}
{\footnotesize\ttfamily \label{a00880_ae28237ea5d3fe92462ac9bf1aa519be8} 
void File\+Data\+Recorder\+::\+Fetch\+Record (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{a00928}{Raw\+Data}}}]{data}{}\end{DoxyParamCaption})}



Records \doxylink{a00928}{Raw\+Data} in the file (internal usage only) 


\begin{DoxyParams}{Parameters}
{\em data} & The rawdata to be recorded\\
\hline
\end{DoxyParams}
\Hypertarget{a00880_ac0d8003c8e2cc6f568648e083b5adc1a}\index{FileDataRecorder@{FileDataRecorder}!GetStatus@{GetStatus}}
\index{GetStatus@{GetStatus}!FileDataRecorder@{FileDataRecorder}}
\doxysubsubsection{\texorpdfstring{GetStatus()}{GetStatus()}}
{\footnotesize\ttfamily \label{a00880_ac0d8003c8e2cc6f568648e083b5adc1a} 
int File\+Data\+Recorder\+::\+Get\+Status (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Returns the recorder\textquotesingle{}s status (STOPPED, PLAYING, RECORDING) (thread safe) 

Returns the recorder\textquotesingle{}s status (STOPPED, PLAYING, RECORDING)

\begin{DoxyReturn}{Returns}
A integer expression
\end{DoxyReturn}
\Hypertarget{a00880_a0ca762fc8df0e11a7488353b96e32080}\index{FileDataRecorder@{FileDataRecorder}!Pause@{Pause}}
\index{Pause@{Pause}!FileDataRecorder@{FileDataRecorder}}
\doxysubsubsection{\texorpdfstring{Pause()}{Pause()}}
{\footnotesize\ttfamily \label{a00880_a0ca762fc8df0e11a7488353b96e32080} 
void File\+Data\+Recorder\+::\+Pause (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Pause the playback. 

\Hypertarget{a00880_a073b51a55fef0a7dd0a47744fad17146}\index{FileDataRecorder@{FileDataRecorder}!Play@{Play}}
\index{Play@{Play}!FileDataRecorder@{FileDataRecorder}}
\doxysubsubsection{\texorpdfstring{Play()}{Play()}}
{\footnotesize\ttfamily \label{a00880_a073b51a55fef0a7dd0a47744fad17146} 
void File\+Data\+Recorder\+::\+Play (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Plays a record from the file. 

\Hypertarget{a00880_aa0c53c8bf75874567a362dbb18f0ee15}\index{FileDataRecorder@{FileDataRecorder}!Record@{Record}}
\index{Record@{Record}!FileDataRecorder@{FileDataRecorder}}
\doxysubsubsection{\texorpdfstring{Record()}{Record()}}
{\footnotesize\ttfamily \label{a00880_aa0c53c8bf75874567a362dbb18f0ee15} 
void File\+Data\+Recorder\+::\+Record (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Start recording data. 

\Hypertarget{a00880_a9007d09bccdad4c736f15e8e837bf963}\index{FileDataRecorder@{FileDataRecorder}!Stop@{Stop}}
\index{Stop@{Stop}!FileDataRecorder@{FileDataRecorder}}
\doxysubsubsection{\texorpdfstring{Stop()}{Stop()}}
{\footnotesize\ttfamily \label{a00880_a9007d09bccdad4c736f15e8e837bf963} 
void File\+Data\+Recorder\+::\+Stop (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Stops either playing or recording. 

\Hypertarget{a00880_a60fa79839e014ea9d163a4efd2b251c9}\index{FileDataRecorder@{FileDataRecorder}!WaitForRawData@{WaitForRawData}}
\index{WaitForRawData@{WaitForRawData}!FileDataRecorder@{FileDataRecorder}}
\doxysubsubsection{\texorpdfstring{WaitForRawData()}{WaitForRawData()}}
{\footnotesize\ttfamily \label{a00880_a60fa79839e014ea9d163a4efd2b251c9} 
\mbox{\hyperlink{a00928}{Raw\+Data}} File\+Data\+Recorder\+::\+Wait\+For\+Raw\+Data (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Wait for a data comming from the player. 

\begin{DoxyReturn}{Returns}
The replayed data
\end{DoxyReturn}


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