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

📄 player_8c.html

📁 仿真人工智能是指用人工的方法和技术
💻 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>Player.C File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body bgcolor="#ffffff"><!-- Generated by Doxygen 1.2.12 --><center><a class="qindex" href="index.html">Main Page</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>Player.C File Reference</h1><code>#include "<a class="el" href="Player_8h-source.html">Player.h</a>"</code><br><code>#include "<a class="el" href="Parse_8h-source.html">Parse.h</a>"</code><br><code>#include &lt;sys/poll.h&gt;</code><br><p>Include dependency graph for Player.C:<p><center><img src="Player_8C__incl.gif" border="0" usemap="#Player.C_map" alt="Include dependency graph"></center><map name="Player.C_map"><area href="Player_8h.html" shape="rect" coords="417,547,473,566" alt=""><area href="BasicPlayer_8h.html" shape="rect" coords="457,480,542,499" alt=""><area href="ActHandler_8h.html" shape="rect" coords="471,414,557,432" alt=""><area href="Connection_8h.html" shape="rect" coords="639,80,725,99" alt=""><area href="GenericValues_8h.html" shape="rect" coords="478,80,579,99" alt=""><area href="Logger_8h.html" shape="rect" coords="174,147,235,166" alt=""><area href="WorldModel_8h.html" shape="rect" coords="469,347,559,366" alt=""><area href="Objects_8h.html" shape="rect" coords="494,280,558,299" alt=""><area href="SoccerTypes_8h.html" shape="rect" coords="374,214,465,232" alt=""><area href="Formations_8h.html" shape="rect" coords="341,347,423,366" alt=""><area href="Geometry_8h.html" shape="rect" coords="286,147,361,166" alt=""><area href="ServerSettings_8h.html" shape="rect" coords="478,147,579,166" alt=""><area href="PlayerSettings_8h.html" shape="rect" coords="546,214,645,232" alt=""><area href="Parse_8h.html" shape="rect" coords="497,547,547,566" alt=""></map><p><a href="Player_8C-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0><tr><td colspan=2><br><h2>Functions</h2></td></tr><tr><td nowrap align=right valign=top>void *&nbsp;</td><td valign=bottom><a class="el" href="Player_8C.html#a0">stdin_callback</a> (void *v)</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2><p><pre><b>File:</b>          <a class="el" href="Player_8C.html">Player.C</a><b>Project:</b>       Robocup Soccer Simulation Team: UvA Trilearn 2001<b>Authors:</b>       Jelle Kok and Remco de Boer<b>Created:</b>       03/03/2001<b>Last Revision:</b> 08/05/2001<b>Contents:</b>      This file contains the definitions for the <a class="el" href="classPlayer.html">Player</a> class,               which is a superclass from <a class="el" href="classBasicPlayer.html">BasicPlayer</a> and contains the               decision procedure to select the skills from the               <a class="el" href="classBasicPlayer.html">BasicPlayer</a>.</pre><p><p>Definition in file <a class="el" href="Player_8C-source.html">Player.C</a>.<hr><h2>Function Documentation</h2><a name="a0" doxytag="Player.C::stdin_callback"></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"> void* stdin_callback </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">void *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>v</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>This method can be called in a separate thread (see pthread_create) since it returns a void pointer. It is assumed that this function receives a <a class="el" href="classBasicPlayer.html">BasicPlayer</a> class as argument. The only thing this function does is starting the method handleStdin() from the corresponding <a class="el" href="classBasicPlayer.html">BasicPlayer</a> class that listens to user input from the keyboard. This function is necessary since a method from a class cannot be an argument of pthread_create. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>v</em>&nbsp;</td><td>void pointer to a <a class="el" href="classBasicPlayer.html">BasicPlayer</a> class. </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>should never return since function handleStdin has infinite loop </dl><p>Definition at line <a class="el" href="Player_8C-source.html#l00630">630</a> of file <a class="el" href="Player_8C-source.html">Player.C</a>.<p>References <a class="el" href="Player_8C-source.html#l00468">Player::handleStdin</a>().    </td>  </tr></table><hr><address><small>Generated on Thu Mar 7 00:37:48 2002 for UvA Trilearn 2001 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.12 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, &copy;&nbsp;1997-2001</small></address></body></html>

⌨️ 快捷键说明

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