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

📄 pprocess_8h.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>pprocess.h File 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>pprocess.h File Reference</h1><code>#include &lt;<a class="el" href="mutex_8h-source.html">ptlib/mutex.h</a>&gt;</code><br><code>#include &lt;<a class="el" href="syncpoint_8h-source.html">ptlib/syncpoint.h</a>&gt;</code><br><code>#include &lt;<a class="el" href="pfactory_8h-source.html">ptlib/pfactory.h</a>&gt;</code><br><code>#include "unix/ptlib/pprocess.h"</code><br><p><a href="pprocess_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Compounds</h2></td></tr><tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classPProcess.html">PProcess</a></td></tr><tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classPProcessStartup.html">PProcessStartup</a></td></tr><tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classPTimerList.html">PTimerList</a></td></tr><tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classPTraceLevelSetStartup.html">PTraceLevelSetStartup</a></td></tr><tr><td colspan=2><br><h2>Defines</h2></td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="pprocess_8h.html#a0">PCREATE_PROCESS</a>(cls)</td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="pprocess_8h.html#a1">PDECLARE_PROCESS</a>(cls, ancestor, manuf, name, major, minor, status, build)</td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="pprocess_8h.html#a2">P_DEFAULT_TRACE_OPTIONS</a>&nbsp;&nbsp;&nbsp;( PTrace::Blocks | PTrace::Timestamp | PTrace::Thread | PTrace::FileAndLine )</td></tr><tr><td colspan=2><br><h2>Typedefs</h2></td></tr><tr><td nowrap align=right valign=top>typedef <a class="el" href="classPFactory.html">PFactory</a>&lt; <a class="el" href="classPProcessStartup.html">PProcessStartup</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="pprocess_8h.html#a3">PProcessStartupFactory</a></td></tr><tr><td colspan=2><br><h2>Functions</h2></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="pprocess_8h.html#a4">PLIST</a> (PInternalTimerList, <a class="el" href="classPTimer.html">PTimer</a>)</td></tr></table><hr><h2>Define Documentation</h2><a name="a2" doxytag="pprocess.h::P_DEFAULT_TRACE_OPTIONS"></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"> #define P_DEFAULT_TRACE_OPTIONS&nbsp;&nbsp;&nbsp;( PTrace::Blocks | PTrace::Timestamp | PTrace::Thread | PTrace::FileAndLine )      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a0" doxytag="pprocess.h::PCREATE_PROCESS"></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"> #define PCREATE_PROCESS</td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">cls&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><b>Value:</b><div class="fragment"><pre><span class="keywordtype">int</span> main(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> ** argv, <span class="keywordtype">char</span> ** envp) \    { <a class="code" href="classPProcess.html#d0">PProcess::PreInitialise</a>(argc, argv, envp); \      <span class="keyword">static</span> cls instance; \      <span class="keywordflow">return</span> instance._main(); \    }</pre></div>Create a process. This macro is used to create the components necessary for a user PWLib process. For a PWLib program to work correctly on all platforms the main()# function must be defined in the same module as the instance of the application.     </td>  </tr></table><a name="a1" doxytag="pprocess.h::PDECLARE_PROCESS"></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"> #define PDECLARE_PROCESS</td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">cls,         <tr>          <td></td>          <td></td>          <td class="md" nowrap>ancestor,         <tr>          <td></td>          <td></td>          <td class="md" nowrap>manuf,         <tr>          <td></td>          <td></td>          <td class="md" nowrap>name,         <tr>          <td></td>          <td></td>          <td class="md" nowrap>major,         <tr>          <td></td>          <td></td>          <td class="md" nowrap>minor,         <tr>          <td></td>          <td></td>          <td class="md" nowrap>status,         <tr>          <td></td>          <td></td>          <td class="md" nowrap>build&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><b>Value:</b><div class="fragment"><pre><span class="keyword">class </span>cls : <span class="keyword">public</span> ancestor { \    <a class="code" href="object_8h.html#a27">PCLASSINFO</a>(cls, ancestor); \    <span class="keyword">public</span>: \      cls() : ancestor(manuf, name, major, minor, status, build) { } \    <span class="keyword">private</span>: \      <span class="keyword">virtual</span> <span class="keywordtype">void</span> Main(); \  };</pre></div>    </td>  </tr></table><hr><h2>Typedef Documentation</h2><a name="a3" doxytag="pprocess.h::PProcessStartupFactory"></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"> typedef <a class="el" href="classPFactory.html">PFactory</a>&lt;<a class="el" href="classPProcessStartup.html">PProcessStartup</a>&gt; PProcessStartupFactory      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><hr><h2>Function Documentation</h2><a name="a4" doxytag="pprocess.h::PLIST"></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"> PLIST </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">PInternalTimerList&nbsp;</td>          <td class="mdname" nowrap>&nbsp;, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="classPTimer.html">PTimer</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp;</td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:12 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 + -