⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classpconsolechannel.html

📁 pwlib开发文档
💻 HTML
字号:
<!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>PConsoleChannel class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>PConsoleChannel Class Reference</h1><code>#include &lt;<a class="el" href="conchan_8h-source.html">conchan.h</a>&gt;</code><p><p>Inheritance diagram for PConsoleChannel:<p><center><img src="classPConsoleChannel.png" usemap="#PConsoleChannel_map" border="0" alt=""></center><map name="PConsoleChannel_map"><area href="classPChannel.html" alt="PChannel" shape="rect" coords="0,56,113,80"><area href="classPObject.html" alt="PObject" shape="rect" coords="0,0,113,24"></map><a href="classPConsoleChannel-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Public Types</h2></td></tr><tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classPConsoleChannel.html#s3">ConsoleType</a> { <a class="el" href="classPConsoleChannel.html#s3s0">StandardInput</a>, <a class="el" href="classPConsoleChannel.html#s3s1">StandardOutput</a>, <a class="el" href="classPConsoleChannel.html#s3s2">StandardError</a> }</td></tr><tr><td colspan=2><br><h2>Public Methods</h2></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPString.html">PString</a>&nbsp;</td><td valign=bottom><a class="el" href="classPConsoleChannel.html#a0">GetName</a> () const</td></tr><tr><td nowrap align=right valign=top>BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPConsoleChannel.html#a1">Close</a> ()</td></tr><tr><td colspan="2"><div class="groupHeader">Construction</div></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classPConsoleChannel.html#z57_0">PConsoleChannel</a> ()</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Create a new console channel object, leaving it unopen.</em> <a href="#z57_0"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classPConsoleChannel.html#z57_1">PConsoleChannel</a> (<a class="el" href="classPConsoleChannel.html#s3">ConsoleType</a> type)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Create a new console channel object, connecting to the I/O stream.</em> <a href="#z57_1"></a><em></em></font><br><br></td></tr><tr><td colspan="2"><div class="groupHeader">Open functions</div></td></tr><tr><td nowrap align=right valign=top>virtual BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPConsoleChannel.html#z59_0">Open</a> (<a class="el" href="classPConsoleChannel.html#s3">ConsoleType</a> type)</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>This class defines an I/O channel that communicates via a console. <p><hr><h2>Member Enumeration Documentation</h2><a name="s3" doxytag="PConsoleChannel::ConsoleType"></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"> enum PConsoleChannel::ConsoleType      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><dl compact><dt><b>Enumeration values: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a name="s3s0" doxytag="StandardInput"></a><em>StandardInput</em></em>&nbsp;</td><td></td></tr><tr><td valign=top><em><a name="s3s1" doxytag="StandardOutput"></a><em>StandardOutput</em></em>&nbsp;</td><td></td></tr><tr><td valign=top><em><a name="s3s2" doxytag="StandardError"></a><em>StandardError</em></em>&nbsp;</td><td></td></tr></table></dl>    </td>  </tr></table><hr><h2>Constructor &amp; Destructor Documentation</h2><a name="z57_0" doxytag="PConsoleChannel::PConsoleChannel"></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"> PConsoleChannel::PConsoleChannel </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Create a new console channel object, leaving it unopen.<p>    </td>  </tr></table><a name="z57_1" doxytag="PConsoleChannel::PConsoleChannel"></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"> PConsoleChannel::PConsoleChannel </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPConsoleChannel.html#s3">ConsoleType</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>type</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Create a new console channel object, connecting to the I/O stream.<p><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>type</em>&nbsp;</td><td>Type of console for object </td></tr></table></dl>    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a name="a1" doxytag="PConsoleChannel::Close"></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"> BOOL PConsoleChannel::Close </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Close the channel, shutting down the link to the data source.<p><dl compact><dt><b>Returns: </b></dt><dd>TRUE if the channel successfully closed. </dl><p>Reimplemented from <a class="el" href="classPChannel.html#z53_1">PChannel</a>.    </td>  </tr></table><a name="a0" doxytag="PConsoleChannel::GetName"></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"> <a class="el" href="classPString.html">PString</a> PConsoleChannel::GetName </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get the platform and I/O channel type name of the channel. For example, it would return the filename in PFile# type channels.<p><dl compact><dt><b>Returns: </b></dt><dd>the name of the channel. </dl><p>Reimplemented from <a class="el" href="classPChannel.html#z47_1">PChannel</a>.    </td>  </tr></table><a name="z59_0" doxytag="PConsoleChannel::Open"></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"> virtual BOOL PConsoleChannel::Open </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPConsoleChannel.html#s3">ConsoleType</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>type</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Open a serial channal. The channel is opened it on the specified port and with the specified attributes. <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>type</em>&nbsp;</td><td>Type of console for object </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="conchan_8h-source.html">conchan.h</a></ul><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:15 2004 for PWLib by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -