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

📄 wtxtclutil.html

📁 vxworks相关论文
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/tornado-api/wtxtcl/wtxtclUtil.html - generated by refgen from wtwpwr.c --> <title> wtxtclUtil [Tcl] </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>Tornado API Reference :  WTX Tcl Library</i></a></p></blockquote><h1>wtxtclUtil [Tcl]</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wtxtclUtil [Tcl]</strong> - WTX Tcl utilities </p></blockquote><h4>TCL PROCEDURES</h4><blockquote><p><p><b><a href="./wtxtclUtil.html#wtxCpuInfoGet">wtxCpuInfoGet</a></b>  -  explore target data base resource file to retrieve info<br><b><a href="./wtxtclUtil.html#wtxInfoQ">wtxInfoQ</a></b>  -  return a list of existing servers<br><b><a href="./wtxtclUtil.html#wtxUnregister">wtxUnregister</a></b>  -  remove an entry from the Tornado registry<br><b><a href="./wtxtclUtil.html#wtxRegister">wtxRegister</a></b>  -  add an entry to the Tornado registry<br><b><a href="./wtxtclUtil.html#bindNamesToList">bindNamesToList</a></b>  -  create variables in the caller that are bound to list values<br><b><a href="./wtxtclUtil.html#wtxToolIdGet">wtxToolIdGet</a></b>  -  return the tool identifier of the current tool<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library contains all the WTX Tcl related utilities.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtxtclUtil.html#top">wtxtclUtil</a></b><hr><a name="wtxCpuInfoGet"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library :  Tcl Procedures</i></a></p></blockquote><h1>wtxCpuInfoGet</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wtxCpuInfoGet</strong> - explore target data base resource file to retrieve info</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxUnregister [options] <i>cpuNum</i></pre></blockquote><h4>PARAMETERS</h4><blockquote><p><table><tr valign=top><td align=left><b>cpuNum</b> </td><td align=left> - </td><td align=left> CPU number to get information on  </tr><tr valign=top><td align=left></tr></tr></table><p></blockquote><h4>OPTIONS</h4><blockquote><p>-a : returns only target architecture directory<br>&nbsp;&nbsp;-d&nbsp;:&nbsp;returns&nbsp;target&nbsp;demangler<br>&nbsp;&nbsp;-l&nbsp;:&nbsp;returns&nbsp;target&nbsp;symbol's&nbsp;leading&nbsp;character<br>&nbsp;&nbsp;-n&nbsp;:&nbsp;returns&nbsp;target&nbsp;CPU&nbsp;name<p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command gets target CPU related information located in target architecture data base file.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtxtclUtil.html#top">wtxtclUtil</a></b>, wtxtcl, wtxTsInfoGet<hr><a name="wtxInfoQ"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library :  Tcl Procedures</i></a></p></blockquote><h1>wtxInfoQ</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wtxInfoQ</strong> - return a list of existing servers</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxInfoQ [<i>namePat</i> [<i>typePat</i> [<i>keyPat</i>]]]</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>wtxInfoQ queries the list of servers maintained by the Tornado targetserver registry, <b><a href="../../tornado/tools/wtxregd.html#top" >wtxregd</a></b>.  Each entry in the registry is a triplecontaining the name of the server, its type, and the communication key.The three pattern arguments are regular expressions that can be used toqualify the search.  Patterns that are not specified will match anyregistry entry.  If more than one pattern is specified, candidate entriesmust match both patterns.<p></blockquote><h4>RETURNS</h4><blockquote><p>A list of three-element lists, each of the form <b>{name type key}</b>.<p></blockquote><h4>EXAMPLE</h4><blockquote><p>The following command will list all target servers known to the registry:<p><pre>tcl&gt; wtxInfoQ .* tgtsvr{julia@aven tgtsvr rpc/aven/147.11.80.6/570425351/1/tcp}{irene@aven tgtsvr rpc/aven/147.11.80.6/570425346/1/tcp}{lily@aven tgtsvr rpc/aven/147.11.80.6/570425347/1/tcp}</pre></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtxtclUtil.html#top">wtxtclUtil</a></b>, wtxtcl, wtxToolAttach<hr><a name="wtxUnregister"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library :  Tcl Procedures</i></a></p></blockquote><h1>wtxUnregister</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wtxUnregister</strong> - remove an entry from the Tornado registry</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxUnregister <i>name</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command removes the entry in the Tornado registry corresponding to <i>name</i>.  Ordinarily, this command is not needed, as Tornado serverstake care of registering and unregistering themselves if they exit normally.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtxtclUtil.html#top">wtxtclUtil</a></b>, wtxtcl, wtxInfoQ<hr><a name="wtxRegister"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library :  Tcl Procedures</i></a></p></blockquote><h1>wtxRegister</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wtxRegister</strong> - add an entry to the Tornado registry</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxRegister <i>name</i> <i>type</i> <i>key</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command adds an entry, consisting of the given <i>name</i>, <i>type</i>, and <i>key</i>, to the Tornado registry.  This command is only useful for programsthat provide servers for the Tornado tool set.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtxtclUtil.html#top">wtxtclUtil</a></b>, wtxtcl, wtxInfoQ<hr><a name="bindNamesToList"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library :  Tcl Procedures</i></a></p></blockquote><h1>bindNamesToList</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>bindNamesToList</strong> - create variables in the caller that are bound to list values</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><p><pre>bindNamesToList <i>nameList</i> <i>valList</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This function can be used to assign names to list elements. For example, the following call will set the variables a, b, and c inthe procedure scope with the values 10, 11, and 12, respectively:<pre>    bindNamesToList {a b c} {10 11 12}</pre>If there are more names than values, excess names will be given the value0.  If there are more values than names, excess values are ignored.<p></blockquote><h4>PARAMETERS</h4><blockquote><p><table><tr valign=top><td align=left></tr></tr></table><p></blockquote><h4>RETURNS</h4><blockquote><p><p>Standard Tcl return.<p></blockquote><h4>ERRORS</h4><blockquote><p>NONE<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtxtclUtil.html#top">wtxtclUtil</a></b>, wtxtcl<hr><a name="wtxToolIdGet"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library :  Tcl Procedures</i></a></p></blockquote><h1>wtxToolIdGet</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wtxToolIdGet</strong> - return the tool identifier of the current tool</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxToolIdGet</pre></blockquote><h4>RETURNS</h4><blockquote><p>The tool identifier of the current tool.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtxtclUtil.html#top">wtxtclUtil</a></b>, wtxtcl, wtxToolName</body></html>

⌨️ 快捷键说明

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