\hypertarget{classcpphlib_1_1PPDRIVER}{\section{cpphlib.\-P\-P\-D\-R\-I\-V\-E\-R \-Class \-Reference}
\label{classcpphlib_1_1PPDRIVER}\index{cpphlib.\-P\-P\-D\-R\-I\-V\-E\-R@{cpphlib.\-P\-P\-D\-R\-I\-V\-E\-R}}
}


\-Communication with ppds.  


\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classcpphlib_1_1PPDRIVER_a90849b34a0bd890386b587f04a06560f}{\-\_\-\-\_\-init\-\_\-\-\_\-}
\item 
def \hyperlink{classcpphlib_1_1PPDRIVER_a324a7d62033587a90e57805993637c29}{register\-C\-A\-Einterface}
\begin{DoxyCompactList}\small\item\em \-Documentation for method. \end{DoxyCompactList}\item 
def \hyperlink{classcpphlib_1_1PPDRIVER_ab2660a764a037e13b27321f40a9b3244}{register\-I\-Ointerface}
\begin{DoxyCompactList}\small\item\em \-Documentation for method. \end{DoxyCompactList}\item 
def \hyperlink{classcpphlib_1_1PPDRIVER_a1469927ecfd9314e91a85efb57fe17a9}{register\-M\-O\-Ninterface}
\begin{DoxyCompactList}\small\item\em \-Documentation for method. \end{DoxyCompactList}\item 
def \hyperlink{classcpphlib_1_1PPDRIVER_a3be3178684e6fed0352e090ae5dc038f}{connectinterfaces}
\begin{DoxyCompactList}\small\item\em \-Documentation for method. \end{DoxyCompactList}\item 
def \hyperlink{classcpphlib_1_1PPDRIVER_a8749561b041ceb8e3292c5a656f736c1}{disconnectinterfaces}
\begin{DoxyCompactList}\small\item\em \-Documentation for method. \end{DoxyCompactList}\item 
def \hyperlink{classcpphlib_1_1PPDRIVER_a197c3daa48434dfbfbe4db8bc97fe142}{getinterfaces}
\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classcpphlib_1_1PPDRIVER_ac6f51b0d768e2dd8ee941c2ac0c48638}{{\bfseries \-C\-A\-E\-Interface\-Descriptor}}\label{classcpphlib_1_1PPDRIVER_ac6f51b0d768e2dd8ee941c2ac0c48638}

\item 
\hypertarget{classcpphlib_1_1PPDRIVER_a77014080a02c4498640dd5c2f8e523ec}{{\bfseries \-I\-O\-Interface\-Descriptor}}\label{classcpphlib_1_1PPDRIVER_a77014080a02c4498640dd5c2f8e523ec}

\item 
\hypertarget{classcpphlib_1_1PPDRIVER_a8e4a144d94a84801eb4d197ddd990b47}{{\bfseries \-M\-O\-N\-Interface\-Descriptor}}\label{classcpphlib_1_1PPDRIVER_a8e4a144d94a84801eb4d197ddd990b47}

\item 
\hypertarget{classcpphlib_1_1PPDRIVER_a161e29013ce2e95d334fcc8181dc2207}{{\bfseries \-C\-A\-E\-I\-F}}\label{classcpphlib_1_1PPDRIVER_a161e29013ce2e95d334fcc8181dc2207}

\item 
\hypertarget{classcpphlib_1_1PPDRIVER_abdf4ab5d9b24dd4cf51f1db3425da893}{{\bfseries \-I\-O\-I\-F}}\label{classcpphlib_1_1PPDRIVER_abdf4ab5d9b24dd4cf51f1db3425da893}

\item 
\hypertarget{classcpphlib_1_1PPDRIVER_a59d88b71733940fb006126364cb4f281}{{\bfseries \-M\-O\-N\-I\-F}}\label{classcpphlib_1_1PPDRIVER_a59d88b71733940fb006126364cb4f281}

\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Communication with ppds. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-Pheripherial driver has 3 interfaces. {\bfseries \-C}ommand {\bfseries \-A}nd {\bfseries \-E}rror interface is to send commands to driver, setup commands to \-I\-O cards and it receives answers for commands, errors and notifications. {\bfseries \-I}nput {\bfseries \-O}utput interface lets controller program send output change commands to cards, and receives and notifies any input changes on the cards. {\bfseries \-M\-O\-N}itor interface has only output, wich displays all input and output changes on cards. \-This class helps to registrate the interfaces, connects to them, and goes back with the attached interfaces. \-After that you only have to deal with sending commands, and handling anwers. \-After your program ended the game with \-I\-O cards, the class disconnects all driver connections. \begin{DoxyVerb}Short description: Class for connect to ppds driver's interfaces\end{DoxyVerb}
 

\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classcpphlib_1_1PPDRIVER_a90849b34a0bd890386b587f04a06560f}{\index{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R@{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R}!\-\_\-\-\_\-init\-\_\-\-\_\-@{\-\_\-\-\_\-init\-\_\-\-\_\-}}
\index{\-\_\-\-\_\-init\-\_\-\-\_\-@{\-\_\-\-\_\-init\-\_\-\-\_\-}!cpphlib::PPDRIVER@{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R}}
\subsubsection[{\-\_\-\-\_\-init\-\_\-\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-R\-I\-V\-E\-R.\-\_\-\-\_\-init\-\_\-\-\_\-} (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDRIVER_a90849b34a0bd890386b587f04a06560f}
\begin{DoxyVerb}Short description: Constructs PPDRIVER class\end{DoxyVerb}
 

\subsection{\-Member \-Function \-Documentation}
\hypertarget{classcpphlib_1_1PPDRIVER_a3be3178684e6fed0352e090ae5dc038f}{\index{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R@{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R}!connectinterfaces@{connectinterfaces}}
\index{connectinterfaces@{connectinterfaces}!cpphlib::PPDRIVER@{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R}}
\subsubsection[{connectinterfaces}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-R\-I\-V\-E\-R.\-connectinterfaces} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-C\-A\-E = {\ttfamily \-True}, }
\item[{}]{\-I\-O = {\ttfamily \-True}, }
\item[{}]{\-M\-O\-N = {\ttfamily \-False}}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDRIVER_a3be3178684e6fed0352e090ae5dc038f}


\-Documentation for method. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-Connects to ppds interfaces. 
\begin{DoxyParams}{\-Parameters}
{\em \-C\-A\-E} & \-If \-C\-A\-E is set to {\bfseries {\itshape \-True\/}} method connects to \-Command \-And \-Error interface. \\
\hline
{\em \-I\-O} & \-If \-I\-O is set to {\bfseries {\itshape \-True\/}} method connects to \-Input \-Output interface. \\
\hline
{\em \-M\-O\-N} & \-If \-M\-O\-N is set to {\bfseries {\itshape \-True\/}} method connects to \-Monitor interface. \par
\par
 \-If any of them are set to {\bfseries {\itshape \-False\/}} then connection cannot be established. \par
\par
 \begin{DoxyVerb}Short description: Connects to ppds interfaces.\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}
\hypertarget{classcpphlib_1_1PPDRIVER_a8749561b041ceb8e3292c5a656f736c1}{\index{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R@{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R}!disconnectinterfaces@{disconnectinterfaces}}
\index{disconnectinterfaces@{disconnectinterfaces}!cpphlib::PPDRIVER@{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R}}
\subsubsection[{disconnectinterfaces}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-R\-I\-V\-E\-R.\-disconnectinterfaces} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-C\-A\-E = {\ttfamily \-True}, }
\item[{}]{\-I\-O = {\ttfamily \-True}, }
\item[{}]{\-M\-O\-N = {\ttfamily \-False}}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDRIVER_a8749561b041ceb8e3292c5a656f736c1}


\-Documentation for method. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-Connects to ppds interfaces. 
\begin{DoxyParams}{\-Parameters}
{\em \-C\-A\-E} & \-If \-C\-A\-E is set to {\bfseries {\itshape \-True\/}} method disconnects from \-Command \-And \-Error interface. \\
\hline
{\em \-I\-O} & \-If \-I\-O is set to {\bfseries {\itshape \-True\/}} method disconnects from \-Input \-Output interface. \\
\hline
{\em \-M\-O\-N} & \-If \-M\-O\-N is set to {\bfseries {\itshape \-True\/}} method disconnects from \-Monitor interface.\par
\par
 \-If any of them are set to {\bfseries {\itshape \-False\/}} then not going to disconnect. \par
\par
 \begin{DoxyVerb}Short description: Disconnects from ppds interfaces\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}
\hypertarget{classcpphlib_1_1PPDRIVER_a197c3daa48434dfbfbe4db8bc97fe142}{\index{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R@{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R}!getinterfaces@{getinterfaces}}
\index{getinterfaces@{getinterfaces}!cpphlib::PPDRIVER@{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R}}
\subsubsection[{getinterfaces}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-R\-I\-V\-E\-R.\-getinterfaces} (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDRIVER_a197c3daa48434dfbfbe4db8bc97fe142}
\begin{DoxyVerb}Short description: Gets connected interfaces of ppds\end{DoxyVerb}
 \hypertarget{classcpphlib_1_1PPDRIVER_a324a7d62033587a90e57805993637c29}{\index{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R@{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R}!register\-C\-A\-Einterface@{register\-C\-A\-Einterface}}
\index{register\-C\-A\-Einterface@{register\-C\-A\-Einterface}!cpphlib::PPDRIVER@{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R}}
\subsubsection[{register\-C\-A\-Einterface}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-R\-I\-V\-E\-R.\-register\-C\-A\-Einterface} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-Ipaddr, }
\item[{}]{\-Port}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDRIVER_a324a7d62033587a90e57805993637c29}


\-Documentation for method. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-Registers \-I\-P address and port of {\bfseries \-C}ommand {\bfseries \-A}nd {\bfseries \-E}rror interface of ppds. 
\begin{DoxyParams}{\-Parameters}
{\em \-Ipaddr} & \-I\-P address of machine where the ppds runs on \\
\hline
{\em \-Port} & \-Port of \-C\-A\-E interface \par
\par
 \begin{DoxyVerb}Short description: Regiters CAE interface of ppds for communication\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}
\hypertarget{classcpphlib_1_1PPDRIVER_ab2660a764a037e13b27321f40a9b3244}{\index{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R@{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R}!register\-I\-Ointerface@{register\-I\-Ointerface}}
\index{register\-I\-Ointerface@{register\-I\-Ointerface}!cpphlib::PPDRIVER@{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R}}
\subsubsection[{register\-I\-Ointerface}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-R\-I\-V\-E\-R.\-register\-I\-Ointerface} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-Ipaddr, }
\item[{}]{\-Port}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDRIVER_ab2660a764a037e13b27321f40a9b3244}


\-Documentation for method. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-Registers \-I\-P address and port of {\bfseries \-I}nput {\bfseries \-O}utput interface of ppds. 
\begin{DoxyParams}{\-Parameters}
{\em \-Ipaddr} & \-I\-P address of machine where the ppds runs on \\
\hline
{\em \-Port} & \-Port of \-I\-O interface \par
\par
 \begin{DoxyVerb}Short description: Regiters IO interface of ppds for communication\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}
\hypertarget{classcpphlib_1_1PPDRIVER_a1469927ecfd9314e91a85efb57fe17a9}{\index{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R@{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R}!register\-M\-O\-Ninterface@{register\-M\-O\-Ninterface}}
\index{register\-M\-O\-Ninterface@{register\-M\-O\-Ninterface}!cpphlib::PPDRIVER@{cpphlib\-::\-P\-P\-D\-R\-I\-V\-E\-R}}
\subsubsection[{register\-M\-O\-Ninterface}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-R\-I\-V\-E\-R.\-register\-M\-O\-Ninterface} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-Ipaddr, }
\item[{}]{\-Port}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDRIVER_a1469927ecfd9314e91a85efb57fe17a9}


\-Documentation for method. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-Registers \-I\-P address and port of {\bfseries \-M\-O\-N}itor interface of ppds. 
\begin{DoxyParams}{\-Parameters}
{\em \-Ipaddr} & \-I\-P address of machine where the ppds runs on \\
\hline
{\em \-Port} & \-Port of \-M\-O\-N interface \par
\par
 \begin{DoxyVerb}Short description: Regiters MON interface of ppds for communication\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}


\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
cpphlib.\-py\end{DoxyCompactItemize}
