Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > ad1ba1135a9c9eeffc2e538163e00373 > files > 778

libCommonC++2_1.4-devel-1.4.1-1mdv2007.0.i586.rpm

\section{ost::TTYSession Class Reference}
\label{classost_1_1_t_t_y_session}\index{ost::TTYSession@{ost::TTYSession}}
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})}.  


{\tt \#include $<$serial.h$>$}

Inheritance diagram for ost::TTYSession::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3cm]{classost_1_1_t_t_y_session}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf TTYSession} (const char $\ast$name, int pri=0, int stack=0)
\begin{CompactList}\small\item\em Create TTY stream that will be managed by it's own thread. \item\end{CompactList}\item 
virtual {\bf $\sim$TTYSession} ()
\end{CompactItemize}


\subsection{Detailed Description}
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})}. 

This class is very anagolous to {\bf TCPSession}{\rm (p.\,\pageref{classost_1_1_t_c_p_session})}.

\begin{Desc}
\item[Author:]David Sugar $<${\tt dyfet@ostel.com}$>$ \end{Desc}




\subsection{Constructor \& Destructor Documentation}
\index{ost::TTYSession@{ost::TTYSession}!TTYSession@{TTYSession}}
\index{TTYSession@{TTYSession}!ost::TTYSession@{ost::TTYSession}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}ost::TTYSession::TTYSession (const char $\ast$ {\em name}, int {\em pri} = {\tt 0}, int {\em stack} = {\tt 0})}\label{classost_1_1_t_t_y_session_1f849213ff11ab7bba9e764f062be7a8}


Create TTY stream that will be managed by it's own thread. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em name}]of tty device to open. \item[{\em pri}]execution priority. \item[{\em stack}]allocation needed on some platforms. \end{description}
\end{Desc}
\index{ost::TTYSession@{ost::TTYSession}!~TTYSession@{$\sim$TTYSession}}
\index{~TTYSession@{$\sim$TTYSession}!ost::TTYSession@{ost::TTYSession}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual ost::TTYSession::$\sim$TTYSession ()\hspace{0.3cm}{\tt  [virtual]}}\label{classost_1_1_t_t_y_session_0f4b704100c32670045e116d967b8977}




The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
{\bf serial.h}\end{CompactItemize}