\section{serial.h File Reference} \label{serial_8h}\index{serial.h@{serial.h}} Serial I/O services. {\tt \#include $<$cc++/missing.h$>$}\par {\tt \#include $<$cc++/thread.h$>$}\par {\tt \#include $<$cc++/exception.h$>$}\par \subsection*{Namespaces} \begin{CompactItemize} \item namespace {\bf ost} \end{CompactItemize} \subsection*{Classes} \begin{CompactItemize} \item class {\bf ost::Serial} \begin{CompactList}\small\item\em The {\bf Serial}{\rm (p.\,\pageref{classost_1_1_serial})} class is used as the base for all serial I/O services under APE.base class for all serial I/O services. \item\end{CompactList}\item class {\bf ost::TTYStream} \begin{CompactList}\small\item\em TTY streams are used to represent serial connections that are fully \char`\"{}streamable\char`\"{} objects using C++ stream classes and friends.streamable tty serial I/O class. \item\end{CompactList}\item class {\bf ost::ttystream} \begin{CompactList}\small\item\em A more natural C++ \char`\"{}ttystream\char`\"{} class for use by non-threaded applications.C++ \char`\"{}fstream\char`\"{} style ttystream class. \item\end{CompactList}\item class {\bf ost::TTYSession} \begin{CompactList}\small\item\em The {\bf TTYSession}{\rm (p.\,\pageref{classost_1_1_t_t_y_session})} aggragates a {\bf TTYStream}{\rm (p.\,\pageref{classost_1_1_t_t_y_stream})} and a Common C++ {\bf Thread}{\rm (p.\,\pageref{classost_1_1_thread})} which is assumed to be the execution context that will be used to perform actual I/O operations.This class is very anagolous to {\bf TCPSession}{\rm (p.\,\pageref{classost_1_1_t_c_p_session})}. \item\end{CompactList}\item class {\bf ost::Serial\-Port} \begin{CompactList}\small\item\em The serial port is an internal class which is attached to and then serviced by a specified {\bf Serial\-Service}{\rm (p.\,\pageref{classost_1_1_serial_service})} thread.base class for thread pool serviced serial I/O. \item\end{CompactList}\item class {\bf ost::Serial\-Service} \begin{CompactList}\small\item\em The {\bf Serial\-Service}{\rm (p.\,\pageref{classost_1_1_serial_service})} is a thead service object that is meant to service attached serial {\bf ports.Thread}{\rm (p.\,\pageref{namespaceost_1a3b6738f6f759fcb52b544a4787cbb2})} pool service for serial ports. \item\end{CompactList}\end{CompactItemize} \subsection*{Defines} \begin{CompactItemize} \item \#define {\bf INVALID\_\-HANDLE\_\-VALUE}~(-1) \end{CompactItemize} \subsection*{Typedefs} \begin{CompactItemize} \item typedef int {\bf HANDLE} \end{CompactItemize} \subsection*{Variables} \begin{CompactItemize} \item \_\-\_\-EXPORT {\bf ost::Serial\-Port} \item \_\-\_\-EXPORT {\bf ost::Serial\-Service} \end{CompactItemize} \subsection{Detailed Description} Serial I/O services. \subsection{Define Documentation} \index{serial.h@{serial.h}!INVALID_HANDLE_VALUE@{INVALID\_\-HANDLE\_\-VALUE}} \index{INVALID_HANDLE_VALUE@{INVALID\_\-HANDLE\_\-VALUE}!serial.h@{serial.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define INVALID\_\-HANDLE\_\-VALUE~(-1)}\label{serial_8h_5fdc7facea201bfce4ad308105f88d0c} \subsection{Typedef Documentation} \index{serial.h@{serial.h}!HANDLE@{HANDLE}} \index{HANDLE@{HANDLE}!serial.h@{serial.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef int {\bf HANDLE}}\label{serial_8h_069bb8cb95b0528d5ce0304bb5561a40}