\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER}{\section{cpphlib.\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R \-Class \-Reference}
\label{classcpphlib_1_1PPDIGINOUTHANDLER}\index{cpphlib.\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R@{cpphlib.\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}}
}


\-Digital input and output handler.  


\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classcpphlib_1_1PPDIGINOUTHANDLER_a84e15725f32d3962eab0d4a888e8e0e6}{\-\_\-\-\_\-init\-\_\-\-\_\-}
\begin{DoxyCompactList}\small\item\em \-Documentation for method. \end{DoxyCompactList}\item 
def \hyperlink{classcpphlib_1_1PPDIGINOUTHANDLER_ae26ce2a4efcad4ee97f6d55e9c8bc8fa}{switch}
\begin{DoxyCompactList}\small\item\em \-Documentation for method. \end{DoxyCompactList}\item 
def \hyperlink{classcpphlib_1_1PPDIGINOUTHANDLER_aa5192fe23848d43b8f4cc12d969f022a}{switchoffall}
\begin{DoxyCompactList}\small\item\em \-Documentation for method. \end{DoxyCompactList}\item 
def \hyperlink{classcpphlib_1_1PPDIGINOUTHANDLER_aa37a81da99a943360d79a999e77c8625}{sendoutputs}
\item 
def \hyperlink{classcpphlib_1_1PPDIGINOUTHANDLER_aba94d07cfc024580a7e8255a89cdd035}{registeroutchannel}
\begin{DoxyCompactList}\small\item\em \-Documentation for method. \end{DoxyCompactList}\item 
def \hyperlink{classcpphlib_1_1PPDIGINOUTHANDLER_a63f312beea6bd01ce3a09b46895864a0}{removeoutchannel}
\begin{DoxyCompactList}\small\item\em \-Documentation for method. \end{DoxyCompactList}\item 
def \hyperlink{classcpphlib_1_1PPDIGINOUTHANDLER_a4e60295e406ffd8c0cd4d8b395700383}{registerinoneventaliases}
\begin{DoxyCompactList}\small\item\em \-Documentation for method. \end{DoxyCompactList}\item 
def \hyperlink{classcpphlib_1_1PPDIGINOUTHANDLER_a3606749480e33961741c2341c62ba2aa}{registerinoffeventaliases}
\begin{DoxyCompactList}\small\item\em \-Documentation for method. \end{DoxyCompactList}\item 
def \hyperlink{classcpphlib_1_1PPDIGINOUTHANDLER_af5090fd91a102ba79fa199f70567a808}{registerinchannel}
\begin{DoxyCompactList}\small\item\em \-Documentation for method. \end{DoxyCompactList}\item 
def \hyperlink{classcpphlib_1_1PPDIGINOUTHANDLER_a82861a504276bcc87e1d864431e5b525}{removeinchannel}
\begin{DoxyCompactList}\small\item\em \-Documentation for method. \end{DoxyCompactList}\item 
def \hyperlink{classcpphlib_1_1PPDIGINOUTHANDLER_aac2c0955ff17cc53269ca4797f209f0b}{chekinchannelschanges}
\begin{DoxyCompactList}\small\item\em \-Documentation for method. \end{DoxyCompactList}\item 
def \hyperlink{classcpphlib_1_1PPDIGINOUTHANDLER_aee17c83537866f7af582ccdbffea29ea}{inputevent}
\begin{DoxyCompactList}\small\item\em \-Documentation for method. \end{DoxyCompactList}\item 
def \hyperlink{classcpphlib_1_1PPDIGINOUTHANDLER_a40f1358959186d41c7d13f766d500fa0}{getinputblockdata}
\begin{DoxyCompactList}\small\item\em \-Documentation for method. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_a8f12f0aa49333cd5834087ca89af0e87}{{\bfseries \-C\-A\-E\-I\-F}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_a8f12f0aa49333cd5834087ca89af0e87}

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

\item 
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_a45ad3b5534bf2c58d375e6bac1051b5e}{{\bfseries \-Out\-Channels}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_a45ad3b5534bf2c58d375e6bac1051b5e}

\item 
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_a72c9a9ca88144f18f5b409a2de52a1f2}{{\bfseries \-Out\-Bytes}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_a72c9a9ca88144f18f5b409a2de52a1f2}

\item 
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_af3f800d23dbbcfca22c269741c7fef2f}{{\bfseries \-Out\-Bytes\-Prev}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_af3f800d23dbbcfca22c269741c7fef2f}

\item 
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_a492e91a5abbf5f438d7b870d0a74318e}{{\bfseries \-In\-Channels}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_a492e91a5abbf5f438d7b870d0a74318e}

\item 
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_aef6bd0a5a92fb11034cb165f41b110e9}{{\bfseries \-In\-Bytes}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_aef6bd0a5a92fb11034cb165f41b110e9}

\item 
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_ac7ac0954b981457b0c79e87467948ac5}{{\bfseries \-In\-Bytes\-Prev}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_ac7ac0954b981457b0c79e87467948ac5}

\item 
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_a61c3415c467f754a640942160dcd08cf}{{\bfseries \-In\-On\-Aliases}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_a61c3415c467f754a640942160dcd08cf}

\item 
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_a2b13290e607b5c2e159e63bf890e1526}{{\bfseries \-In\-Off\-Aliases}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_a2b13290e607b5c2e159e63bf890e1526}

\item 
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_a99a492c5715a804e39510335e6d6f28e}{{\bfseries \-B\-M}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_a99a492c5715a804e39510335e6d6f28e}

\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Digital input and output handler. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-This class makes handling of digital in, and output cards easy. \-All input, and output channel can have a functional name, which can be used as reference. \-Output channels can be switched off and on independently. \-Changes of the input channels can be handled via eventhandlers. \-Eventhandlers can be named as \char`\"{}\-Alias\char`\"{}, so event names can be changed to logical names, for example \char`\"{}\-P\-U\-S\-H\char`\"{} instead of \char`\"{}\-O\-N\char`\"{} in the case of a pushbutton. \-Output channels can be switched off together in one time, what is useful in the case of quiting from the controller program. \-Input block's last stored data can be inquired by cardaddress and blocknumber, and result can be forwarded to an own eventhandler. 

\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_a84e15725f32d3962eab0d4a888e8e0e6}{\index{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}!\-\_\-\-\_\-init\-\_\-\-\_\-@{\-\_\-\-\_\-init\-\_\-\-\_\-}}
\index{\-\_\-\-\_\-init\-\_\-\-\_\-@{\-\_\-\-\_\-init\-\_\-\-\_\-}!cpphlib::PPDIGINOUTHANDLER@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}}
\subsubsection[{\-\_\-\-\_\-init\-\_\-\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R.\-\_\-\-\_\-init\-\_\-\-\_\-} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-C\-A\-E\-I\-F, }
\item[{}]{\-I\-O\-I\-F}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_a84e15725f32d3962eab0d4a888e8e0e6}


\-Documentation for method. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-Constructs \hyperlink{classcpphlib_1_1PPDIGINOUTHANDLER}{\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R} class. 
\begin{DoxyParams}{\-Parameters}
{\em \-C\-A\-E\-I\-F} & \-C\-A\-E interface instance is already connected to ppds. \\
\hline
{\em \-I\-O\-I\-F} & \-I\-O interface instance is already connected to ppds. \par
\par
 \begin{DoxyVerb}Short description: Constructs PPDIGINOUTHANDLER class\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_aac2c0955ff17cc53269ca4797f209f0b}{\index{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}!chekinchannelschanges@{chekinchannelschanges}}
\index{chekinchannelschanges@{chekinchannelschanges}!cpphlib::PPDIGINOUTHANDLER@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}}
\subsubsection[{chekinchannelschanges}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R.\-chekinchannelschanges} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-Master\-Or\-Fwd\-Data}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_aac2c0955ff17cc53269ca4797f209f0b}


\-Documentation for method. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-It checks input channel changes. \-All \-P\-P eventhandler classes has method like this. \-Only one reading method can handle incoming data, because only one clientsocket can be connected to the ppds \-I\-O interface. \-Due to this, a master one, which reads out the receivequeue in the working loop, and the processes incoming data is required to have in the case of using more than one eventhandler. \-After processing the master passes raw data to the next eventhandlers. \-This way all data will be processed. \-If {\bfseries chekinchannelschanges} method of eventhandler class is called as master, then it always reads out the receive queue of the \-I\-O interface. \-The master {\bfseries checkinchannelschanges} must run first. \-All the other eventhandlers must receive the data read by the first after each-\/other, in consequence. 
\begin{DoxyParams}{\-Parameters}
{\em \-Master\-Or\-Fwd\-Data} & \-It can be the \char`\"{}\-M\-A\-S\-T\-E\-R\char`\"{}, or forwarded input data. \par
\par
 \begin{DoxyVerb}Short description: It checks input channel changes\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_a40f1358959186d41c7d13f766d500fa0}{\index{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}!getinputblockdata@{getinputblockdata}}
\index{getinputblockdata@{getinputblockdata}!cpphlib::PPDIGINOUTHANDLER@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}}
\subsubsection[{getinputblockdata}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R.\-getinputblockdata} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-Card\-Address, }
\item[{}]{\-Block\-Number}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_a40f1358959186d41c7d13f766d500fa0}


\-Documentation for method. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-It returns the last stored data of the input blocks. 
\begin{DoxyParams}{\-Parameters}
{\em \-Card\-Address} & \-Card\-Address \-The address of the digital input card, what the readable block is on \\
\hline
{\em \-Block\-Number} & \-The number of the block, what is to be known. \par
\par
 \begin{DoxyVerb}Short description: It returns the last stored data of the input blocks\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_aee17c83537866f7af582ccdbffea29ea}{\index{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}!inputevent@{inputevent}}
\index{inputevent@{inputevent}!cpphlib::PPDIGINOUTHANDLER@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}}
\subsubsection[{inputevent}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R.\-inputevent} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-Channel\-Name, }
\item[{}]{\-Event\-Name}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_aee17c83537866f7af582ccdbffea29ea}


\-Documentation for method. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-It is the \hyperlink{classcpphlib_1_1PPDIGINOUTHANDLER}{\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}'s eventhandler. \-It manages \char`\"{}\-O\-N\char`\"{} and \char`\"{}\-O\-F\-F\char`\"{} events on input channels, which can be represented by registered aliases as well. \-Return value is {\bfseries {\itshape \-True\/}} if the event happened, {\bfseries {\itshape \-False\/}}, if the event did not happened. 
\begin{DoxyParams}{\-Parameters}
{\em \-Channel\-Name} & \-The functional name of the channel \\
\hline
{\em \-Event\-Name} & \-The name of the event \par
\par
 \begin{DoxyVerb}Short description: It is the eventhandler\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_af5090fd91a102ba79fa199f70567a808}{\index{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}!registerinchannel@{registerinchannel}}
\index{registerinchannel@{registerinchannel}!cpphlib::PPDIGINOUTHANDLER@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}}
\subsubsection[{registerinchannel}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R.\-registerinchannel} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-Channel\-Name, }
\item[{}]{\-Card\-Address, }
\item[{}]{\-Block\-Number, }
\item[{}]{\-Bit\-Position}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_af5090fd91a102ba79fa199f70567a808}


\-Documentation for method. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-It registers digital input channels, and names them with a functional name. \-You can define the name of the channel, regarding the function of it. \-For example if you connect a pushbutton to the channel, and you want to use it to exit the process, it is useful to name it as \char`\"{}\-E\-X\-I\-T B\-U\-T\-T\-O\-N\char`\"{}. 
\begin{DoxyParams}{\-Parameters}
{\em \-Channel\-Name} & \-The functional name of the channel \\
\hline
{\em \-Card\-Address} & \-The jumpered address of the digital input card, what is the channel to read is on \\
\hline
{\em \-Block\-Number} & \-The name of the block which contains the channel to be used. \-It's value can be 0..1 \\
\hline
{\em \-Bit\-Position} & \-The bitposition of the cannel within the certain block, which you want to use. \-It's value can be 0..7 \par
\par
 \begin{DoxyVerb}Short description: It registers digital input channels\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_a3606749480e33961741c2341c62ba2aa}{\index{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}!registerinoffeventaliases@{registerinoffeventaliases}}
\index{registerinoffeventaliases@{registerinoffeventaliases}!cpphlib::PPDIGINOUTHANDLER@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}}
\subsubsection[{registerinoffeventaliases}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R.\-registerinoffeventaliases} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-Aliases}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_a3606749480e33961741c2341c62ba2aa}


\-Documentation for method. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-It registers switching off eventname aliases to input channels 
\begin{DoxyParams}{\-Parameters}
{\em \-Aliases} & \-String list containing alias names \par
\par
 \begin{DoxyVerb}Short description: It registers switching off eventname aliases\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_a4e60295e406ffd8c0cd4d8b395700383}{\index{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}!registerinoneventaliases@{registerinoneventaliases}}
\index{registerinoneventaliases@{registerinoneventaliases}!cpphlib::PPDIGINOUTHANDLER@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}}
\subsubsection[{registerinoneventaliases}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R.\-registerinoneventaliases} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-Aliases}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_a4e60295e406ffd8c0cd4d8b395700383}


\-Documentation for method. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-It registers switching on eventname aliases to input channels 
\begin{DoxyParams}{\-Parameters}
{\em \-Aliases} & \-String list containing alias names \par
\par
 \begin{DoxyVerb}Short description: It registers switching on eventname aliases\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_aba94d07cfc024580a7e8255a89cdd035}{\index{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}!registeroutchannel@{registeroutchannel}}
\index{registeroutchannel@{registeroutchannel}!cpphlib::PPDIGINOUTHANDLER@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}}
\subsubsection[{registeroutchannel}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R.\-registeroutchannel} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-Channel\-Name, }
\item[{}]{\-Card\-Address, }
\item[{}]{\-Block\-Number, }
\item[{}]{\-Bit\-Position}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_aba94d07cfc024580a7e8255a89cdd035}


\-Documentation for method. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-It registrates the digital output channel, and gives a functional name. \-Channel name is named by you regarding the used function. \-For example if a relay is on a channel, and you control a light with that, it is useful to name as \char`\"{}\-L\-A\-M\-P S\-W\-I\-T\-C\-H R\-E\-L\-A\-Y\char`\"{}. 
\begin{DoxyParams}{\-Parameters}
{\em \-Channel\-Name} & \-The functional name of the channel \\
\hline
{\em \-Card\-Address} & \-The jumpered address of the digital output card, which is the relevant channel is on. \\
\hline
{\em \-Block\-Number} & \-The number of the block, which contains the channel required to be used. \-It's value can be 0...1. \\
\hline
{\em \-Bit\-Position} & \-The position of the channel within the defined block, you want to use. \-It's value can be 0...7. \par
\par
 \begin{DoxyVerb}Short description: It registrates the digital output channel\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_a82861a504276bcc87e1d864431e5b525}{\index{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}!removeinchannel@{removeinchannel}}
\index{removeinchannel@{removeinchannel}!cpphlib::PPDIGINOUTHANDLER@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}}
\subsubsection[{removeinchannel}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R.\-removeinchannel} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-Channel\-Name}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_a82861a504276bcc87e1d864431e5b525}


\-Documentation for method. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-It clears digital input channel from the storage of the class. 
\begin{DoxyParams}{\-Parameters}
{\em \-Channel\-Name} & \-The functional name of the channel you want to clear. \par
\par
 \begin{DoxyVerb}Short description: It clears digital input channel\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_a63f312beea6bd01ce3a09b46895864a0}{\index{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}!removeoutchannel@{removeoutchannel}}
\index{removeoutchannel@{removeoutchannel}!cpphlib::PPDIGINOUTHANDLER@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}}
\subsubsection[{removeoutchannel}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R.\-removeoutchannel} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-Channel\-Name}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_a63f312beea6bd01ce3a09b46895864a0}


\-Documentation for method. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-It clears digital output channel from the storage of the class 
\begin{DoxyParams}{\-Parameters}
{\em \-Channel\-Name} & \-The functional name of the channel to delete \par
\par
 \begin{DoxyVerb}Short description: It clears digital output channel\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_aa37a81da99a943360d79a999e77c8625}{\index{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}!sendoutputs@{sendoutputs}}
\index{sendoutputs@{sendoutputs}!cpphlib::PPDIGINOUTHANDLER@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}}
\subsubsection[{sendoutputs}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R.\-sendoutputs} (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_aa37a81da99a943360d79a999e77c8625}
\begin{DoxyVerb}Short description: It sends all output channel's value changes to the cards\end{DoxyVerb}
 \hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_ae26ce2a4efcad4ee97f6d55e9c8bc8fa}{\index{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}!switch@{switch}}
\index{switch@{switch}!cpphlib::PPDIGINOUTHANDLER@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}}
\subsubsection[{switch}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R.\-switch} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-Channel\-Name, }
\item[{}]{\-Switch\-State, }
\item[{}]{\-Send = {\ttfamily \-False}}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_ae26ce2a4efcad4ee97f6d55e9c8bc8fa}


\-Documentation for method. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-Switches certain chanels to certain states. 
\begin{DoxyParams}{\-Parameters}
{\em \-Channel\-Name} & \-The functional name of the out channel \\
\hline
{\em \-Swith\-State} & \-Output channel's state can be {\bfseries {\itshape \char`\"{}\-O\-N\char`\"{}\/}}, or {\bfseries {\itshape \char`\"{}\-O\-F\-F\char`\"{}\/}} \\
\hline
{\em \-Send} & \-If the values is {\bfseries {\itshape \-True\/}}, then it sends the new output value to the card immediately. \par
\par
 \-If {\itshape \-Send\/} parameter is not given, method does not send anything to the card. \-In this case, one has to make sure if there is the method {\bfseries sendoutputs} called at the end of the working loop, otherwise the output channel's value canges can't be sent to the output card. \par
\par
 \begin{DoxyVerb}Short description: Switches certain chanels\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}
\hypertarget{classcpphlib_1_1PPDIGINOUTHANDLER_aa5192fe23848d43b8f4cc12d969f022a}{\index{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}!switchoffall@{switchoffall}}
\index{switchoffall@{switchoffall}!cpphlib::PPDIGINOUTHANDLER@{cpphlib\-::\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R}}
\subsubsection[{switchoffall}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf cpphlib.\-P\-P\-D\-I\-G\-I\-N\-O\-U\-T\-H\-A\-N\-D\-L\-E\-R.\-switchoffall} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-Send = {\ttfamily \-False}}
\end{DoxyParamCaption}
)}}\label{classcpphlib_1_1PPDIGINOUTHANDLER_aa5192fe23848d43b8f4cc12d969f022a}


\-Documentation for method. 

{\bfseries } {\itshape \/} {\bfseries {\itshape \/}} \-It turns all output channels off. 
\begin{DoxyParams}{\-Parameters}
{\em \-Send} & \-If the values is {\bfseries {\itshape \-True\/}}, then it sends the new output value to the card immediately. \par
\par
 \-If {\itshape \-Send\/} parameter is not given, it does not send anything to the card. \-In this case, one has to make sure if there is the method {\bfseries sendoutputs} called at the end of the working loop, otherwise the output channel's value canges can't be sent to the output card. \par
\par
 \begin{DoxyVerb}Short description: It turns all output channels off\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}


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