<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ost::TTYSession class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Generated by Doxygen 1.2.10 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>ost::TTYSession Class Reference</h1>The <a class="el" href="classost_1_1_t_t_y_session.html">TTYSession</a> aggragates a <a class="el" href="classost_1_1_t_t_y_stream.html">TTYStream</a> and a Common C++ <a class="el" href="classost_1_1_thread.html">Thread</a> which is assumed to be the execution context that will be used to perform actual I/O operations. This class is very anagolous to <a class="el" href="classost_1_1_t_c_p_session.html">TCPSession</a>. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="serial_8h-source.html">serial.h</a>></code> <p> <p>Inheritance diagram for ost::TTYSession:: <p><center><img src="classost_1_1_t_t_y_session.gif" usemap="#ost::TTYSession_map" border="0"></center> <map name="ost::TTYSession_map"> <area href="classost_1_1_t_t_y_stream.html" alt="ost::TTYStream" shape="rect" coords="111,56,212,80"> <area href="classost_1_1_thread.html" alt="ost::Thread" shape="rect" coords="222,56,323,80"> <area href="classstd_1_1streambuf.html" alt="std::streambuf" shape="rect" coords="0,0,101,24"> <area href="classstd_1_1iostream.html" alt="std::iostream" shape="rect" coords="111,0,212,24"> <area href="classost_1_1_serial.html" alt="ost::Serial" shape="rect" coords="222,0,323,24"> </map> <a href="classost_1_1_t_t_y_session-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classost_1_1_t_t_y_session.html#a0">TTYSession</a> (const char *name, int pri=0, int stack=0)</td></tr> <tr><td> </td><td><font size=-1><em>Create TTY stream that will be managed by it's own thread.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> The <a class="el" href="classost_1_1_t_t_y_session.html">TTYSession</a> aggragates a <a class="el" href="classost_1_1_t_t_y_stream.html">TTYStream</a> and a Common C++ <a class="el" href="classost_1_1_thread.html">Thread</a> which is assumed to be the execution context that will be used to perform actual I/O operations. This class is very anagolous to <a class="el" href="classost_1_1_t_c_p_session.html">TCPSession</a>. <p> This class is very anagolous to <a class="el" href="classost_1_1_t_c_p_session.html">TCPSession</a>. <p> <dl compact><dt><b> Author: </b><dd> David Sugar <<a href="mailto:dyfet@ostel.com">dyfet@ostel.com</a>> </dl> <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="ost::TTYSession::TTYSession"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> ost::TTYSession::TTYSession </td> <td class="md">( </td> <td class="md">const char *</td> <td class="mdname"> <em>name</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md">int</td> <td class="mdname"> <em>pri</em> = 0, </td> </tr> <tr> <td></td> <td></td> <td class="md">int</td> <td class="mdname"> <em>stack</em> = 0</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Create TTY stream that will be managed by it's own thread. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>name </em> </td><td> of tty device to open. </td></tr> <tr><td valign=top><em>pri </em> </td><td> execution priority. </td></tr> <tr><td valign=top><em>stack </em> </td><td> allocation needed on some platforms. </td></tr> </table> </dl> </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="serial_8h-source.html">serial.h</a></ul> <hr><address><small>Generated at Fri Jan 4 18:51:51 2002 for CommonC++ by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.10 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2001</small></address> </body> </html>