\hypertarget{classBMeasureApi_1_1CommsNet}{}\section{B\+Measure\+Api\+::Comms\+Net Class Reference}
\label{classBMeasureApi_1_1CommsNet}\index{BMeasureApi::CommsNet@{BMeasureApi::CommsNet}}


{\ttfamily \#include $<$Comms\+Net.\+h$>$}

Inheritance diagram for B\+Measure\+Api\+::Comms\+Net\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classBMeasureApi_1_1CommsNet}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classBMeasureApi_1_1CommsNet_a970f4b48cd7d8f8e5949755ab75c3855}{Comms\+Net}} (\textbf{ B\+U\+Int} rx\+Fifo\+Size=1024, \textbf{ B\+U\+Int} tx\+Fifo\+Size=1024)
\item 
\mbox{\hyperlink{classBMeasureApi_1_1CommsNet_a8597c107e1a950324537e8b1b83d633a}{$\sim$\+Comms\+Net}} ()
\item 
\textbf{ B\+Error} \mbox{\hyperlink{classBMeasureApi_1_1CommsNet_a010c89c016543f64247c3d4f3ab4d4de}{init}} ()
\item 
\textbf{ B\+Error} \mbox{\hyperlink{classBMeasureApi_1_1CommsNet_adba97118a5c0198e7f6e856aee3f4d39}{connect}} (\textbf{ B\+String} host, \textbf{ B\+U\+Int16} port)
\item 
\textbf{ B\+Error} \mbox{\hyperlink{classBMeasureApi_1_1CommsNet_a6ef87bdc89a9069237aee13612366f1f}{disconnect}} ()
\item 
\textbf{ B\+U\+Int} \mbox{\hyperlink{classBMeasureApi_1_1CommsNet_af41eab91314e798f3e1170bd90fa6753}{read\+Available}} ()
\item 
\textbf{ B\+Error} \mbox{\hyperlink{classBMeasureApi_1_1CommsNet_a80b2b17235188250aadc6c644b707314}{wait}} (\textbf{ B\+U\+Int32} event\+Set, \textbf{ B\+Timeout} timeout=-\/1, \textbf{ B\+U\+Int32} num=1)
\item 
\textbf{ B\+Error} \mbox{\hyperlink{classBMeasureApi_1_1CommsNet_ab560551fc55725ff10001333e9c77945}{read}} (void $\ast$\textbf{ data}, \textbf{ B\+U\+Int32} num, \textbf{ B\+U\+Int32} \&nt)
\item 
\textbf{ B\+U\+Int} \mbox{\hyperlink{classBMeasureApi_1_1CommsNet_a8ed088fc082fd630c9ea8de64e6f470a}{write\+Available}} ()
\item 
\textbf{ B\+Error} \mbox{\hyperlink{classBMeasureApi_1_1CommsNet_a3f24eeadcca0eaed5cd184cc34f30562}{write}} (const void $\ast$\textbf{ data}, \textbf{ B\+U\+Int32} n\+Bytes, \textbf{ B\+U\+Int32} \&nt)
\item 
\textbf{ B\+Error} \mbox{\hyperlink{classBMeasureApi_1_1CommsNet_a50414d28c8392aaec478529660e48908}{write\+Chunks}} (const \textbf{ B\+Data\+Chunk} $\ast$chunks, \textbf{ B\+U\+Int} n\+Chunks, \textbf{ B\+U\+Int32} \&nt)
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\textbf{ B\+Socket} \mbox{\hyperlink{classBMeasureApi_1_1CommsNet_a01702e00bf2581e1d2b9056e3c3a0a00}{osocket}}
\item 
\textbf{ Bool} \mbox{\hyperlink{classBMeasureApi_1_1CommsNet_af90f3bbeac6e457eb7c5079883987f65}{oin\+Wait}}
\item 
\textbf{ Bool} \mbox{\hyperlink{classBMeasureApi_1_1CommsNet_a00d3a1bfbf82ec8a014454c4ce9432e0}{oterminating}}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classBMeasureApi_1_1CommsNet_a970f4b48cd7d8f8e5949755ab75c3855}\label{classBMeasureApi_1_1CommsNet_a970f4b48cd7d8f8e5949755ab75c3855}} 
\index{BMeasureApi::CommsNet@{BMeasureApi::CommsNet}!CommsNet@{CommsNet}}
\index{CommsNet@{CommsNet}!BMeasureApi::CommsNet@{BMeasureApi::CommsNet}}
\subsubsection{\texorpdfstring{CommsNet()}{CommsNet()}}
{\footnotesize\ttfamily B\+Measure\+Api\+::\+Comms\+Net\+::\+Comms\+Net (\begin{DoxyParamCaption}\item[{\textbf{ B\+U\+Int}}]{rx\+Fifo\+Size = {\ttfamily 1024},  }\item[{\textbf{ B\+U\+Int}}]{tx\+Fifo\+Size = {\ttfamily 1024} }\end{DoxyParamCaption})}

\mbox{\Hypertarget{classBMeasureApi_1_1CommsNet_a8597c107e1a950324537e8b1b83d633a}\label{classBMeasureApi_1_1CommsNet_a8597c107e1a950324537e8b1b83d633a}} 
\index{BMeasureApi::CommsNet@{BMeasureApi::CommsNet}!````~CommsNet@{$\sim$CommsNet}}
\index{````~CommsNet@{$\sim$CommsNet}!BMeasureApi::CommsNet@{BMeasureApi::CommsNet}}
\subsubsection{\texorpdfstring{$\sim$CommsNet()}{~CommsNet()}}
{\footnotesize\ttfamily B\+Measure\+Api\+::\+Comms\+Net\+::$\sim$\+Comms\+Net (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classBMeasureApi_1_1CommsNet_adba97118a5c0198e7f6e856aee3f4d39}\label{classBMeasureApi_1_1CommsNet_adba97118a5c0198e7f6e856aee3f4d39}} 
\index{BMeasureApi::CommsNet@{BMeasureApi::CommsNet}!connect@{connect}}
\index{connect@{connect}!BMeasureApi::CommsNet@{BMeasureApi::CommsNet}}
\subsubsection{\texorpdfstring{connect()}{connect()}}
{\footnotesize\ttfamily \textbf{ B\+Error} B\+Measure\+Api\+::\+Comms\+Net\+::connect (\begin{DoxyParamCaption}\item[{\textbf{ B\+String}}]{host,  }\item[{\textbf{ B\+U\+Int16}}]{port }\end{DoxyParamCaption})}

\mbox{\Hypertarget{classBMeasureApi_1_1CommsNet_a6ef87bdc89a9069237aee13612366f1f}\label{classBMeasureApi_1_1CommsNet_a6ef87bdc89a9069237aee13612366f1f}} 
\index{BMeasureApi::CommsNet@{BMeasureApi::CommsNet}!disconnect@{disconnect}}
\index{disconnect@{disconnect}!BMeasureApi::CommsNet@{BMeasureApi::CommsNet}}
\subsubsection{\texorpdfstring{disconnect()}{disconnect()}}
{\footnotesize\ttfamily \textbf{ B\+Error} B\+Measure\+Api\+::\+Comms\+Net\+::disconnect (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Reimplemented from \textbf{ B\+Comms}.

\mbox{\Hypertarget{classBMeasureApi_1_1CommsNet_a010c89c016543f64247c3d4f3ab4d4de}\label{classBMeasureApi_1_1CommsNet_a010c89c016543f64247c3d4f3ab4d4de}} 
\index{BMeasureApi::CommsNet@{BMeasureApi::CommsNet}!init@{init}}
\index{init@{init}!BMeasureApi::CommsNet@{BMeasureApi::CommsNet}}
\subsubsection{\texorpdfstring{init()}{init()}}
{\footnotesize\ttfamily \textbf{ B\+Error} B\+Measure\+Api\+::\+Comms\+Net\+::init (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Reimplemented from \textbf{ B\+Comms}.

\mbox{\Hypertarget{classBMeasureApi_1_1CommsNet_ab560551fc55725ff10001333e9c77945}\label{classBMeasureApi_1_1CommsNet_ab560551fc55725ff10001333e9c77945}} 
\index{BMeasureApi::CommsNet@{BMeasureApi::CommsNet}!read@{read}}
\index{read@{read}!BMeasureApi::CommsNet@{BMeasureApi::CommsNet}}
\subsubsection{\texorpdfstring{read()}{read()}}
{\footnotesize\ttfamily \textbf{ B\+Error} B\+Measure\+Api\+::\+Comms\+Net\+::read (\begin{DoxyParamCaption}\item[{void $\ast$}]{data,  }\item[{\textbf{ B\+U\+Int32}}]{num,  }\item[{\textbf{ B\+U\+Int32} \&}]{nt }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Implements \textbf{ B\+Comms}.

\mbox{\Hypertarget{classBMeasureApi_1_1CommsNet_af41eab91314e798f3e1170bd90fa6753}\label{classBMeasureApi_1_1CommsNet_af41eab91314e798f3e1170bd90fa6753}} 
\index{BMeasureApi::CommsNet@{BMeasureApi::CommsNet}!readAvailable@{readAvailable}}
\index{readAvailable@{readAvailable}!BMeasureApi::CommsNet@{BMeasureApi::CommsNet}}
\subsubsection{\texorpdfstring{readAvailable()}{readAvailable()}}
{\footnotesize\ttfamily \textbf{ B\+U\+Int} B\+Measure\+Api\+::\+Comms\+Net\+::read\+Available (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Reimplemented from \textbf{ B\+Comms}.

\mbox{\Hypertarget{classBMeasureApi_1_1CommsNet_a80b2b17235188250aadc6c644b707314}\label{classBMeasureApi_1_1CommsNet_a80b2b17235188250aadc6c644b707314}} 
\index{BMeasureApi::CommsNet@{BMeasureApi::CommsNet}!wait@{wait}}
\index{wait@{wait}!BMeasureApi::CommsNet@{BMeasureApi::CommsNet}}
\subsubsection{\texorpdfstring{wait()}{wait()}}
{\footnotesize\ttfamily \textbf{ B\+Error} B\+Measure\+Api\+::\+Comms\+Net\+::wait (\begin{DoxyParamCaption}\item[{\textbf{ B\+U\+Int32}}]{event\+Set,  }\item[{\textbf{ B\+Timeout}}]{timeout = {\ttfamily -\/1},  }\item[{\textbf{ B\+U\+Int32}}]{num = {\ttfamily 1} }\end{DoxyParamCaption})}

\mbox{\Hypertarget{classBMeasureApi_1_1CommsNet_a3f24eeadcca0eaed5cd184cc34f30562}\label{classBMeasureApi_1_1CommsNet_a3f24eeadcca0eaed5cd184cc34f30562}} 
\index{BMeasureApi::CommsNet@{BMeasureApi::CommsNet}!write@{write}}
\index{write@{write}!BMeasureApi::CommsNet@{BMeasureApi::CommsNet}}
\subsubsection{\texorpdfstring{write()}{write()}}
{\footnotesize\ttfamily \textbf{ B\+Error} B\+Measure\+Api\+::\+Comms\+Net\+::write (\begin{DoxyParamCaption}\item[{const void $\ast$}]{data,  }\item[{\textbf{ B\+U\+Int32}}]{n\+Bytes,  }\item[{\textbf{ B\+U\+Int32} \&}]{nt }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Implements \textbf{ B\+Comms}.

\mbox{\Hypertarget{classBMeasureApi_1_1CommsNet_a8ed088fc082fd630c9ea8de64e6f470a}\label{classBMeasureApi_1_1CommsNet_a8ed088fc082fd630c9ea8de64e6f470a}} 
\index{BMeasureApi::CommsNet@{BMeasureApi::CommsNet}!writeAvailable@{writeAvailable}}
\index{writeAvailable@{writeAvailable}!BMeasureApi::CommsNet@{BMeasureApi::CommsNet}}
\subsubsection{\texorpdfstring{writeAvailable()}{writeAvailable()}}
{\footnotesize\ttfamily \textbf{ B\+U\+Int} B\+Measure\+Api\+::\+Comms\+Net\+::write\+Available (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Reimplemented from \textbf{ B\+Comms}.

\mbox{\Hypertarget{classBMeasureApi_1_1CommsNet_a50414d28c8392aaec478529660e48908}\label{classBMeasureApi_1_1CommsNet_a50414d28c8392aaec478529660e48908}} 
\index{BMeasureApi::CommsNet@{BMeasureApi::CommsNet}!writeChunks@{writeChunks}}
\index{writeChunks@{writeChunks}!BMeasureApi::CommsNet@{BMeasureApi::CommsNet}}
\subsubsection{\texorpdfstring{writeChunks()}{writeChunks()}}
{\footnotesize\ttfamily \textbf{ B\+Error} B\+Measure\+Api\+::\+Comms\+Net\+::write\+Chunks (\begin{DoxyParamCaption}\item[{const \textbf{ B\+Data\+Chunk} $\ast$}]{chunks,  }\item[{\textbf{ B\+U\+Int}}]{n\+Chunks,  }\item[{\textbf{ B\+U\+Int32} \&}]{nt }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Reimplemented from \textbf{ B\+Comms}.



\subsection{Member Data Documentation}
\mbox{\Hypertarget{classBMeasureApi_1_1CommsNet_af90f3bbeac6e457eb7c5079883987f65}\label{classBMeasureApi_1_1CommsNet_af90f3bbeac6e457eb7c5079883987f65}} 
\index{BMeasureApi::CommsNet@{BMeasureApi::CommsNet}!oinWait@{oinWait}}
\index{oinWait@{oinWait}!BMeasureApi::CommsNet@{BMeasureApi::CommsNet}}
\subsubsection{\texorpdfstring{oinWait}{oinWait}}
{\footnotesize\ttfamily \textbf{ Bool} B\+Measure\+Api\+::\+Comms\+Net\+::oin\+Wait\hspace{0.3cm}{\ttfamily [protected]}}

\mbox{\Hypertarget{classBMeasureApi_1_1CommsNet_a01702e00bf2581e1d2b9056e3c3a0a00}\label{classBMeasureApi_1_1CommsNet_a01702e00bf2581e1d2b9056e3c3a0a00}} 
\index{BMeasureApi::CommsNet@{BMeasureApi::CommsNet}!osocket@{osocket}}
\index{osocket@{osocket}!BMeasureApi::CommsNet@{BMeasureApi::CommsNet}}
\subsubsection{\texorpdfstring{osocket}{osocket}}
{\footnotesize\ttfamily \textbf{ B\+Socket} B\+Measure\+Api\+::\+Comms\+Net\+::osocket\hspace{0.3cm}{\ttfamily [protected]}}

\mbox{\Hypertarget{classBMeasureApi_1_1CommsNet_a00d3a1bfbf82ec8a014454c4ce9432e0}\label{classBMeasureApi_1_1CommsNet_a00d3a1bfbf82ec8a014454c4ce9432e0}} 
\index{BMeasureApi::CommsNet@{BMeasureApi::CommsNet}!oterminating@{oterminating}}
\index{oterminating@{oterminating}!BMeasureApi::CommsNet@{BMeasureApi::CommsNet}}
\subsubsection{\texorpdfstring{oterminating}{oterminating}}
{\footnotesize\ttfamily \textbf{ Bool} B\+Measure\+Api\+::\+Comms\+Net\+::oterminating\hspace{0.3cm}{\ttfamily [protected]}}



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{CommsNet_8h}{Comms\+Net.\+h}}\item 
\mbox{\hyperlink{CommsNet_8cpp}{Comms\+Net.\+cpp}}\end{DoxyCompactItemize}
