\hypertarget{plugin_8h}{
\section{nonin/header/plugin.h File Reference}
\label{plugin_8h}\index{nonin/header/plugin.h@{nonin/header/plugin.h}}
}
{\ttfamily \#include $<$scol.h$>$}\par
{\ttfamily \#include $<$list$>$}\par
{\ttfamily \#include $<$string$>$}\par
{\ttfamily \#include $<$assert.h$>$}\par
\subsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{plugin_8h_af343b20373ba49a92fce523e948f2ab3}{ASSERT}~assert
\item 
\#define \hyperlink{plugin_8h_abfad001526480d0e009d8206254ac3a6}{DELETEARRAY}(x)~if (x) \{ delete \mbox{[}$\,$\mbox{]}x;		x = NULL; \}
\item 
\#define \hyperlink{plugin_8h_aed561daaacaae02b2e4264a5859a909e}{CHECKALLOC}(x)~if(!x) \{ \hyperlink{plugin_8cpp_a9717e7bbecb906637e86cef6da3d83c2}{return} false;\}
\item 
\#define \hyperlink{plugin_8h_aeb7c81ff39df64b3b5329c9e7df15ed5}{DISCONNECTION\_\-WIN\_\-TIME}~2000
\item 
\#define \hyperlink{plugin_8h_a7ae1128d45bd724c884e4edc53136041}{N\_\-BAUD\_\-1200}~1200
\item 
\#define \hyperlink{plugin_8h_afca949207d32764f4b442ada16069c09}{N\_\-BAUD\_\-2400}~2400
\item 
\#define \hyperlink{plugin_8h_a3379b9759cb00f8706057416efcf24e2}{N\_\-BAUD\_\-4800}~4800
\item 
\#define \hyperlink{plugin_8h_a6987910c691b11d35e9ec17351dfdd30}{N\_\-BAUD\_\-9600}~9600
\item 
\#define \hyperlink{plugin_8h_ae1bff6746ab83f8dc4aeb6ab214b7422}{N\_\-BAUD\_\-57600}~57600
\item 
\#define \hyperlink{plugin_8h_a55abeb5fdf0537759575067d0b2348bd}{N\_\-BAUD\_\-115200}~115200
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
wchar\_\-t $\ast$ \hyperlink{plugin_8h_a50e991986c4da08373ec64ae947c22d5}{convertCharToLPCWSTR} (char $\ast$s\_\-text)
\item 
char $\ast$ \hyperlink{plugin_8h_ab6822445d8a397d1add3088d6fa812f1}{convertWcharToChar} (wchar\_\-t $\ast$w\_\-text)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
cbmachine \hyperlink{plugin_8h_a95981606817c56a4a3aa27218ae6e722}{ww}
\begin{DoxyCompactList}\small\item\em Scol machine declaration for MM macros. \item\end{DoxyCompactList}\item 
HWND \hyperlink{plugin_8h_ac55ff10fe408688aa0ee11bd0cc655df}{HScol}
\item 
int \hyperlink{plugin_8h_aadddc5ce2beb55d39e508a21da9a2145}{OBJNONINSCOL}
\begin{DoxyCompactList}\small\item\em Scol object declaration. \item\end{DoxyCompactList}\item 
int \hyperlink{plugin_8h_a9980a0dc8c78302c0d56978eeaddaecd}{SCOL\_\-NONIN\_\-CONNECTED\_\-CB}
\item 
int \hyperlink{plugin_8h_a0fec66f351af08ccf2d1ec96acaeabb7}{NONIN\_\-CONNECTED\_\-CB}
\item 
int \hyperlink{plugin_8h_ab846cfdb3cb9ee185a77c08dbe979394}{SCOL\_\-NONIN\_\-DISCONNECTED\_\-CB}
\item 
int \hyperlink{plugin_8h_af8a5f915f6716c87b0c37203d94a7bea}{NONIN\_\-DISCONNECTED\_\-CB}
\item 
int \hyperlink{plugin_8h_aa0c12f20194408ba4b9f65e9dca775cc}{SCOL\_\-NONIN\_\-HR\_\-CB}
\item 
int \hyperlink{plugin_8h_a683da1d9d7b6dc6255f1a1823dc7bf88}{NONIN\_\-HR\_\-CB}
\item 
int \hyperlink{plugin_8h_a0983f4afb7d42e34ebc5886a26aab98a}{SCOL\_\-NONIN\_\-SPO2\_\-CB}
\item 
int \hyperlink{plugin_8h_a688b55e67fd81cbab8bfc48c6669be38}{NONIN\_\-SPO2\_\-CB}
\item 
int \hyperlink{plugin_8h_a7c2d3b956ae09b12113cd1ff42d608d7}{SCOL\_\-NONIN\_\-SNSA\_\-CB}
\item 
int \hyperlink{plugin_8h_a71afa46d1bb9f2a171790b2af7a72459}{NONIN\_\-SNSA\_\-CB}
\end{DoxyCompactItemize}


\subsection{Define Documentation}
\hypertarget{plugin_8h_af343b20373ba49a92fce523e948f2ab3}{
\index{plugin.h@{plugin.h}!ASSERT@{ASSERT}}
\index{ASSERT@{ASSERT}!plugin.h@{plugin.h}}
\subsubsection[{ASSERT}]{\setlength{\rightskip}{0pt plus 5cm}\#define ASSERT~assert}}
\label{plugin_8h_af343b20373ba49a92fce523e948f2ab3}


Definition at line 13 of file plugin.h.

\hypertarget{plugin_8h_aed561daaacaae02b2e4264a5859a909e}{
\index{plugin.h@{plugin.h}!CHECKALLOC@{CHECKALLOC}}
\index{CHECKALLOC@{CHECKALLOC}!plugin.h@{plugin.h}}
\subsubsection[{CHECKALLOC}]{\setlength{\rightskip}{0pt plus 5cm}\#define CHECKALLOC(x)~if(!x) \{ {\bf return} false;\}}}
\label{plugin_8h_aed561daaacaae02b2e4264a5859a909e}


Definition at line 16 of file plugin.h.

\hypertarget{plugin_8h_abfad001526480d0e009d8206254ac3a6}{
\index{plugin.h@{plugin.h}!DELETEARRAY@{DELETEARRAY}}
\index{DELETEARRAY@{DELETEARRAY}!plugin.h@{plugin.h}}
\subsubsection[{DELETEARRAY}]{\setlength{\rightskip}{0pt plus 5cm}\#define DELETEARRAY(x)~if (x) \{ delete \mbox{[}$\,$\mbox{]}x;		x = NULL; \}}}
\label{plugin_8h_abfad001526480d0e009d8206254ac3a6}


Definition at line 15 of file plugin.h.

\hypertarget{plugin_8h_aeb7c81ff39df64b3b5329c9e7df15ed5}{
\index{plugin.h@{plugin.h}!DISCONNECTION\_\-WIN\_\-TIME@{DISCONNECTION\_\-WIN\_\-TIME}}
\index{DISCONNECTION\_\-WIN\_\-TIME@{DISCONNECTION\_\-WIN\_\-TIME}!plugin.h@{plugin.h}}
\subsubsection[{DISCONNECTION\_\-WIN\_\-TIME}]{\setlength{\rightskip}{0pt plus 5cm}\#define DISCONNECTION\_\-WIN\_\-TIME~2000}}
\label{plugin_8h_aeb7c81ff39df64b3b5329c9e7df15ed5}


Definition at line 22 of file plugin.h.

\hypertarget{plugin_8h_a55abeb5fdf0537759575067d0b2348bd}{
\index{plugin.h@{plugin.h}!N\_\-BAUD\_\-115200@{N\_\-BAUD\_\-115200}}
\index{N\_\-BAUD\_\-115200@{N\_\-BAUD\_\-115200}!plugin.h@{plugin.h}}
\subsubsection[{N\_\-BAUD\_\-115200}]{\setlength{\rightskip}{0pt plus 5cm}\#define N\_\-BAUD\_\-115200~115200}}
\label{plugin_8h_a55abeb5fdf0537759575067d0b2348bd}


Definition at line 32 of file plugin.h.

\hypertarget{plugin_8h_a7ae1128d45bd724c884e4edc53136041}{
\index{plugin.h@{plugin.h}!N\_\-BAUD\_\-1200@{N\_\-BAUD\_\-1200}}
\index{N\_\-BAUD\_\-1200@{N\_\-BAUD\_\-1200}!plugin.h@{plugin.h}}
\subsubsection[{N\_\-BAUD\_\-1200}]{\setlength{\rightskip}{0pt plus 5cm}\#define N\_\-BAUD\_\-1200~1200}}
\label{plugin_8h_a7ae1128d45bd724c884e4edc53136041}
Baud rate for use with Nonin 

Definition at line 27 of file plugin.h.

\hypertarget{plugin_8h_afca949207d32764f4b442ada16069c09}{
\index{plugin.h@{plugin.h}!N\_\-BAUD\_\-2400@{N\_\-BAUD\_\-2400}}
\index{N\_\-BAUD\_\-2400@{N\_\-BAUD\_\-2400}!plugin.h@{plugin.h}}
\subsubsection[{N\_\-BAUD\_\-2400}]{\setlength{\rightskip}{0pt plus 5cm}\#define N\_\-BAUD\_\-2400~2400}}
\label{plugin_8h_afca949207d32764f4b442ada16069c09}


Definition at line 28 of file plugin.h.

\hypertarget{plugin_8h_a3379b9759cb00f8706057416efcf24e2}{
\index{plugin.h@{plugin.h}!N\_\-BAUD\_\-4800@{N\_\-BAUD\_\-4800}}
\index{N\_\-BAUD\_\-4800@{N\_\-BAUD\_\-4800}!plugin.h@{plugin.h}}
\subsubsection[{N\_\-BAUD\_\-4800}]{\setlength{\rightskip}{0pt plus 5cm}\#define N\_\-BAUD\_\-4800~4800}}
\label{plugin_8h_a3379b9759cb00f8706057416efcf24e2}


Definition at line 29 of file plugin.h.

\hypertarget{plugin_8h_ae1bff6746ab83f8dc4aeb6ab214b7422}{
\index{plugin.h@{plugin.h}!N\_\-BAUD\_\-57600@{N\_\-BAUD\_\-57600}}
\index{N\_\-BAUD\_\-57600@{N\_\-BAUD\_\-57600}!plugin.h@{plugin.h}}
\subsubsection[{N\_\-BAUD\_\-57600}]{\setlength{\rightskip}{0pt plus 5cm}\#define N\_\-BAUD\_\-57600~57600}}
\label{plugin_8h_ae1bff6746ab83f8dc4aeb6ab214b7422}


Definition at line 31 of file plugin.h.

\hypertarget{plugin_8h_a6987910c691b11d35e9ec17351dfdd30}{
\index{plugin.h@{plugin.h}!N\_\-BAUD\_\-9600@{N\_\-BAUD\_\-9600}}
\index{N\_\-BAUD\_\-9600@{N\_\-BAUD\_\-9600}!plugin.h@{plugin.h}}
\subsubsection[{N\_\-BAUD\_\-9600}]{\setlength{\rightskip}{0pt plus 5cm}\#define N\_\-BAUD\_\-9600~9600}}
\label{plugin_8h_a6987910c691b11d35e9ec17351dfdd30}


Definition at line 30 of file plugin.h.



\subsection{Function Documentation}
\hypertarget{plugin_8h_a50e991986c4da08373ec64ae947c22d5}{
\index{plugin.h@{plugin.h}!convertCharToLPCWSTR@{convertCharToLPCWSTR}}
\index{convertCharToLPCWSTR@{convertCharToLPCWSTR}!plugin.h@{plugin.h}}
\subsubsection[{convertCharToLPCWSTR}]{\setlength{\rightskip}{0pt plus 5cm}wchar\_\-t$\ast$ convertCharToLPCWSTR (char $\ast$ {\em s\_\-text})}}
\label{plugin_8h_a50e991986c4da08373ec64ae947c22d5}
\hypertarget{plugin_8h_ab6822445d8a397d1add3088d6fa812f1}{
\index{plugin.h@{plugin.h}!convertWcharToChar@{convertWcharToChar}}
\index{convertWcharToChar@{convertWcharToChar}!plugin.h@{plugin.h}}
\subsubsection[{convertWcharToChar}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ convertWcharToChar (wchar\_\-t $\ast$ {\em w\_\-text})}}
\label{plugin_8h_ab6822445d8a397d1add3088d6fa812f1}


\subsection{Variable Documentation}
\hypertarget{plugin_8h_ac55ff10fe408688aa0ee11bd0cc655df}{
\index{plugin.h@{plugin.h}!HScol@{HScol}}
\index{HScol@{HScol}!plugin.h@{plugin.h}}
\subsubsection[{HScol}]{\setlength{\rightskip}{0pt plus 5cm}HWND {\bf HScol}}}
\label{plugin_8h_ac55ff10fe408688aa0ee11bd0cc655df}


Definition at line 44 of file plugin.cpp.

\hypertarget{plugin_8h_a0fec66f351af08ccf2d1ec96acaeabb7}{
\index{plugin.h@{plugin.h}!NONIN\_\-CONNECTED\_\-CB@{NONIN\_\-CONNECTED\_\-CB}}
\index{NONIN\_\-CONNECTED\_\-CB@{NONIN\_\-CONNECTED\_\-CB}!plugin.h@{plugin.h}}
\subsubsection[{NONIN\_\-CONNECTED\_\-CB}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf NONIN\_\-CONNECTED\_\-CB}}}
\label{plugin_8h_a0fec66f351af08ccf2d1ec96acaeabb7}


Definition at line 51 of file plugin.cpp.

\hypertarget{plugin_8h_af8a5f915f6716c87b0c37203d94a7bea}{
\index{plugin.h@{plugin.h}!NONIN\_\-DISCONNECTED\_\-CB@{NONIN\_\-DISCONNECTED\_\-CB}}
\index{NONIN\_\-DISCONNECTED\_\-CB@{NONIN\_\-DISCONNECTED\_\-CB}!plugin.h@{plugin.h}}
\subsubsection[{NONIN\_\-DISCONNECTED\_\-CB}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf NONIN\_\-DISCONNECTED\_\-CB}}}
\label{plugin_8h_af8a5f915f6716c87b0c37203d94a7bea}


Definition at line 55 of file plugin.cpp.

\hypertarget{plugin_8h_a683da1d9d7b6dc6255f1a1823dc7bf88}{
\index{plugin.h@{plugin.h}!NONIN\_\-HR\_\-CB@{NONIN\_\-HR\_\-CB}}
\index{NONIN\_\-HR\_\-CB@{NONIN\_\-HR\_\-CB}!plugin.h@{plugin.h}}
\subsubsection[{NONIN\_\-HR\_\-CB}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf NONIN\_\-HR\_\-CB}}}
\label{plugin_8h_a683da1d9d7b6dc6255f1a1823dc7bf88}


Definition at line 59 of file plugin.cpp.

\hypertarget{plugin_8h_a71afa46d1bb9f2a171790b2af7a72459}{
\index{plugin.h@{plugin.h}!NONIN\_\-SNSA\_\-CB@{NONIN\_\-SNSA\_\-CB}}
\index{NONIN\_\-SNSA\_\-CB@{NONIN\_\-SNSA\_\-CB}!plugin.h@{plugin.h}}
\subsubsection[{NONIN\_\-SNSA\_\-CB}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf NONIN\_\-SNSA\_\-CB}}}
\label{plugin_8h_a71afa46d1bb9f2a171790b2af7a72459}


Definition at line 67 of file plugin.cpp.

\hypertarget{plugin_8h_a688b55e67fd81cbab8bfc48c6669be38}{
\index{plugin.h@{plugin.h}!NONIN\_\-SPO2\_\-CB@{NONIN\_\-SPO2\_\-CB}}
\index{NONIN\_\-SPO2\_\-CB@{NONIN\_\-SPO2\_\-CB}!plugin.h@{plugin.h}}
\subsubsection[{NONIN\_\-SPO2\_\-CB}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf NONIN\_\-SPO2\_\-CB}}}
\label{plugin_8h_a688b55e67fd81cbab8bfc48c6669be38}


Definition at line 63 of file plugin.cpp.

\hypertarget{plugin_8h_aadddc5ce2beb55d39e508a21da9a2145}{
\index{plugin.h@{plugin.h}!OBJNONINSCOL@{OBJNONINSCOL}}
\index{OBJNONINSCOL@{OBJNONINSCOL}!plugin.h@{plugin.h}}
\subsubsection[{OBJNONINSCOL}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf OBJNONINSCOL}}}
\label{plugin_8h_aadddc5ce2beb55d39e508a21da9a2145}


Scol object declaration. 



Definition at line 47 of file plugin.cpp.

\hypertarget{plugin_8h_a9980a0dc8c78302c0d56978eeaddaecd}{
\index{plugin.h@{plugin.h}!SCOL\_\-NONIN\_\-CONNECTED\_\-CB@{SCOL\_\-NONIN\_\-CONNECTED\_\-CB}}
\index{SCOL\_\-NONIN\_\-CONNECTED\_\-CB@{SCOL\_\-NONIN\_\-CONNECTED\_\-CB}!plugin.h@{plugin.h}}
\subsubsection[{SCOL\_\-NONIN\_\-CONNECTED\_\-CB}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf SCOL\_\-NONIN\_\-CONNECTED\_\-CB}}}
\label{plugin_8h_a9980a0dc8c78302c0d56978eeaddaecd}


Definition at line 50 of file plugin.cpp.

\hypertarget{plugin_8h_ab846cfdb3cb9ee185a77c08dbe979394}{
\index{plugin.h@{plugin.h}!SCOL\_\-NONIN\_\-DISCONNECTED\_\-CB@{SCOL\_\-NONIN\_\-DISCONNECTED\_\-CB}}
\index{SCOL\_\-NONIN\_\-DISCONNECTED\_\-CB@{SCOL\_\-NONIN\_\-DISCONNECTED\_\-CB}!plugin.h@{plugin.h}}
\subsubsection[{SCOL\_\-NONIN\_\-DISCONNECTED\_\-CB}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf SCOL\_\-NONIN\_\-DISCONNECTED\_\-CB}}}
\label{plugin_8h_ab846cfdb3cb9ee185a77c08dbe979394}


Definition at line 54 of file plugin.cpp.

\hypertarget{plugin_8h_aa0c12f20194408ba4b9f65e9dca775cc}{
\index{plugin.h@{plugin.h}!SCOL\_\-NONIN\_\-HR\_\-CB@{SCOL\_\-NONIN\_\-HR\_\-CB}}
\index{SCOL\_\-NONIN\_\-HR\_\-CB@{SCOL\_\-NONIN\_\-HR\_\-CB}!plugin.h@{plugin.h}}
\subsubsection[{SCOL\_\-NONIN\_\-HR\_\-CB}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf SCOL\_\-NONIN\_\-HR\_\-CB}}}
\label{plugin_8h_aa0c12f20194408ba4b9f65e9dca775cc}


Definition at line 58 of file plugin.cpp.

\hypertarget{plugin_8h_a7c2d3b956ae09b12113cd1ff42d608d7}{
\index{plugin.h@{plugin.h}!SCOL\_\-NONIN\_\-SNSA\_\-CB@{SCOL\_\-NONIN\_\-SNSA\_\-CB}}
\index{SCOL\_\-NONIN\_\-SNSA\_\-CB@{SCOL\_\-NONIN\_\-SNSA\_\-CB}!plugin.h@{plugin.h}}
\subsubsection[{SCOL\_\-NONIN\_\-SNSA\_\-CB}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf SCOL\_\-NONIN\_\-SNSA\_\-CB}}}
\label{plugin_8h_a7c2d3b956ae09b12113cd1ff42d608d7}


Definition at line 66 of file plugin.cpp.

\hypertarget{plugin_8h_a0983f4afb7d42e34ebc5886a26aab98a}{
\index{plugin.h@{plugin.h}!SCOL\_\-NONIN\_\-SPO2\_\-CB@{SCOL\_\-NONIN\_\-SPO2\_\-CB}}
\index{SCOL\_\-NONIN\_\-SPO2\_\-CB@{SCOL\_\-NONIN\_\-SPO2\_\-CB}!plugin.h@{plugin.h}}
\subsubsection[{SCOL\_\-NONIN\_\-SPO2\_\-CB}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf SCOL\_\-NONIN\_\-SPO2\_\-CB}}}
\label{plugin_8h_a0983f4afb7d42e34ebc5886a26aab98a}


Definition at line 62 of file plugin.cpp.

\hypertarget{plugin_8h_a95981606817c56a4a3aa27218ae6e722}{
\index{plugin.h@{plugin.h}!ww@{ww}}
\index{ww@{ww}!plugin.h@{plugin.h}}
\subsubsection[{ww}]{\setlength{\rightskip}{0pt plus 5cm}cbmachine {\bf ww}}}
\label{plugin_8h_a95981606817c56a4a3aa27218ae6e722}


Scol machine declaration for MM macros. 



Definition at line 43 of file plugin.cpp.

