\doxysection{Usb\+Settings.\+h}
\hypertarget{a00413_source}{}\label{a00413_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{a00870}{UsbSettings}}\ :}
\DoxyCodeLine{00017\ \ \ \ \ \textcolor{keyword}{public}\ BaseSettings}
\DoxyCodeLine{00018\ \{}
\DoxyCodeLine{00019\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00023\ \ \ \ \ \mbox{\hyperlink{a00870}{UsbSettings}}();}
\DoxyCodeLine{00024\ }
\DoxyCodeLine{00032\ \ \ \ \ \mbox{\hyperlink{a00870}{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{00037\ \ \ \ \ \mbox{\hyperlink{a00870}{\string~UsbSettings}}();}
\DoxyCodeLine{00038\ }
\DoxyCodeLine{00043\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ GetVendorId();}
\DoxyCodeLine{00044\ }
\DoxyCodeLine{00049\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ GetProductId();}
\DoxyCodeLine{00050\ }
\DoxyCodeLine{00055\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ GetReadChannel();}
\DoxyCodeLine{00056\ }
\DoxyCodeLine{00061\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ GetWriteChannel();}
\DoxyCodeLine{00062\ }
\DoxyCodeLine{00067\ \ \ \ \ \textcolor{keywordtype}{void}\ SetVendorId(\textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ vendorId);}
\DoxyCodeLine{00068\ }
\DoxyCodeLine{00073\ \ \ \ \ \textcolor{keywordtype}{void}\ SetProductId(\textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ productId);}
\DoxyCodeLine{00074\ }
\DoxyCodeLine{00079\ \ \ \ \ \textcolor{keywordtype}{void}\ SetReadChannel(\textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ inputChannel);}
\DoxyCodeLine{00080\ }
\DoxyCodeLine{00085\ \ \ \ \ \textcolor{keywordtype}{void}\ SetWriteChannel(\textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ outputChannel);}
\DoxyCodeLine{00086\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00087\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \_vendorId;}
\DoxyCodeLine{00088\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \_productId;}
\DoxyCodeLine{00089\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \_readChannel;}
\DoxyCodeLine{00090\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \_writeChannel;}
\DoxyCodeLine{00091\ \};}
\DoxyCodeLine{00092\ }

\end{DoxyCode}
