\doxysection{Usb\+Settings.\+h}
\hypertarget{a00437_source}{}\label{a00437_source}\index{UsbSettings.h@{UsbSettings.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#include\ "{}BaseSettings.h"{}}}
\DoxyCodeLine{00003\ }
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include<string>};}
\DoxyCodeLine{00005\ }
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#ifdef\ STARFLEETTOOLBOX\_EXPORTS}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#define\ USBSETTENCAPS\ \_\_declspec(dllexport)}}
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00009\ \textcolor{preprocessor}{\#define\ USBSETTENCAPS\ \_\_declspec(dllimport)}}
\DoxyCodeLine{00010\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00011\ }
\DoxyCodeLine{00012\ \textcolor{keyword}{using\ namespace\ }std;}
\DoxyCodeLine{00016\ \textcolor{keyword}{class\ }USBSETTENCAPS\ \mbox{\hyperlink{a00916}{UsbSettings}}\ :}
\DoxyCodeLine{00017\ \ \ \ \ \textcolor{keyword}{public}\ BaseSettings}
\DoxyCodeLine{00018\ \{}
\DoxyCodeLine{00019\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00023\ \ \ \ \ \mbox{\hyperlink{a00916}{UsbSettings}}();}
\DoxyCodeLine{00024\ }
\DoxyCodeLine{00032\ \ \ \ \ \mbox{\hyperlink{a00916}{UsbSettings}}(\textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ vendorId,\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ productId,\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ readChannel,\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ writeChannel);}
\DoxyCodeLine{00033\ }
\DoxyCodeLine{00042\ \ \ \ \ \mbox{\hyperlink{a00916}{UsbSettings}}(\textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ vendorId,\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ productId,\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ readChannel,\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ writeChannel,\ \textcolor{keywordtype}{int}\ pDataTimeout);}
\DoxyCodeLine{00043\ }
\DoxyCodeLine{00047\ \ \ \ \ \mbox{\hyperlink{a00916}{\string~UsbSettings}}();}
\DoxyCodeLine{00048\ }
\DoxyCodeLine{00053\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ GetVendorId();}
\DoxyCodeLine{00054\ }
\DoxyCodeLine{00059\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ GetProductId();}
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00065\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ GetReadChannel();}
\DoxyCodeLine{00066\ }
\DoxyCodeLine{00071\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ GetWriteChannel();}
\DoxyCodeLine{00072\ }
\DoxyCodeLine{00077\ \ \ \ \ \textcolor{keywordtype}{void}\ SetVendorId(\textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ vendorId);}
\DoxyCodeLine{00078\ }
\DoxyCodeLine{00083\ \ \ \ \ \textcolor{keywordtype}{void}\ SetProductId(\textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ productId);}
\DoxyCodeLine{00084\ }
\DoxyCodeLine{00089\ \ \ \ \ \textcolor{keywordtype}{void}\ SetReadChannel(\textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ inputChannel);}
\DoxyCodeLine{00090\ }
\DoxyCodeLine{00095\ \ \ \ \ \textcolor{keywordtype}{void}\ SetWriteChannel(\textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ outputChannel);}
\DoxyCodeLine{00096\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00097\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \_vendorId;}
\DoxyCodeLine{00098\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \_productId;}
\DoxyCodeLine{00099\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \_readChannel;}
\DoxyCodeLine{00100\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \_writeChannel;}
\DoxyCodeLine{00101\ \};}
\DoxyCodeLine{00102\ }

\end{DoxyCode}
