\section{ost::ttystream Class Reference} \label{classost_1_1ttystream}\index{ost::ttystream@{ost::ttystream}} A more natural C++ \char`\"{}ttystream\char`\"{} class for use by non-threaded applications.C++ \char`\"{}fstream\char`\"{} style ttystream class. {\tt \#include $<$serial.h$>$} Inheritance diagram for ost::ttystream::\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=3cm]{classost_1_1ttystream} \end{center} \end{figure} \subsection*{Public Member Functions} \begin{CompactItemize} \item {\bf ttystream} () \begin{CompactList}\small\item\em Construct an unopened \char`\"{}ttystream\char`\"{} object. \item\end{CompactList}\item {\bf ttystream} (const char $\ast$name) \begin{CompactList}\small\item\em Construct and \char`\"{}open\char`\"{} a tty stream object. \item\end{CompactList}\item void {\bf open} (const char $\ast$name) \begin{CompactList}\small\item\em Open method for a tty stream. \item\end{CompactList}\item void {\bf close} (void) \begin{CompactList}\small\item\em Close method for a tty stream. \item\end{CompactList}\item bool {\bf operator!} () \begin{CompactList}\small\item\em Test to see if stream is opened. \item\end{CompactList}\end{CompactItemize} \subsection{Detailed Description} A more natural C++ \char`\"{}ttystream\char`\"{} class for use by non-threaded applications.C++ \char`\"{}fstream\char`\"{} style ttystream class. This class behaves a lot more like fstream and similar classes. \begin{Desc} \item[Author:]David Sugar $<${\tt dyfet@ostel.com}$>$ \end{Desc} \subsection{Constructor \& Destructor Documentation} \index{ost::ttystream@{ost::ttystream}!ttystream@{ttystream}} \index{ttystream@{ttystream}!ost::ttystream@{ost::ttystream}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}ost::ttystream::ttystream ()}\label{classost_1_1ttystream_ecaa072538b632583b66b2efe0623d81} Construct an unopened \char`\"{}ttystream\char`\"{} object. \index{ost::ttystream@{ost::ttystream}!ttystream@{ttystream}} \index{ttystream@{ttystream}!ost::ttystream@{ost::ttystream}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}ost::ttystream::ttystream (const char $\ast$ {\em name})}\label{classost_1_1ttystream_238f4a4287af882ea12c852d2f816931} Construct and \char`\"{}open\char`\"{} a tty stream object. A filename in the form \char`\"{}device:options[,options]\char`\"{} may be used to pass device options as part of the open. \begin{Desc} \item[Parameters:] \begin{description} \item[{\em name}]of file and serial options. \end{description} \end{Desc} \subsection{Member Function Documentation} \index{ost::ttystream@{ost::ttystream}!close@{close}} \index{close@{close}!ost::ttystream@{ost::ttystream}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void ost::ttystream::close (void)}\label{classost_1_1ttystream_4c27b39599ec7550606bd6e3cdcbb6d7} Close method for a tty stream. Reimplemented from {\bf ost::Serial} {\rm (p.\,\pageref{classost_1_1_serial_b58a9efec4fffc41b7f0618734a549e0})}.\index{ost::ttystream@{ost::ttystream}!open@{open}} \index{open@{open}!ost::ttystream@{ost::ttystream}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void ost::ttystream::open (const char $\ast$ {\em name})}\label{classost_1_1ttystream_9cd5bb27aace9c143b78af37330179e8} Open method for a tty stream. \begin{Desc} \item[Parameters:] \begin{description} \item[{\em name}]filename to open. \end{description} \end{Desc} Reimplemented from {\bf ost::Serial} {\rm (p.\,\pageref{classost_1_1_serial_ab0033a3ce6c142a4882f05187ff2749})}.\index{ost::ttystream@{ost::ttystream}!operator"!@{operator"!}} \index{operator"!@{operator"!}!ost::ttystream@{ost::ttystream}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool ost::ttystream::operator! (void)\hspace{0.3cm}{\tt [inline]}}\label{classost_1_1ttystream_8e77838120b5128c2dfa48d0f9ccaebc} Test to see if stream is opened. The documentation for this class was generated from the following file:\begin{CompactItemize} \item {\bf serial.h}\end{CompactItemize}