player_8h.html

来自「仿真人工智能是指用人工的方法和技术」· HTML 代码 · 共 105 行

HTML
105
字号
<!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.h 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.h File Reference</h1><code>#include "<a class="el" href="BasicPlayer_8h-source.html">BasicPlayer.h</a>"</code><br><code>#include "<a class="el" href="Formations_8h-source.html">Formations.h</a>"</code><br><p>Include dependency graph for Player.h:<p><center><img src="Player_8h__incl.gif" border="0" usemap="#Player.h_map" alt="Include dependency graph"></center><map name="Player.h_map"><area href="BasicPlayer_8h.html" shape="rect" coords="439,480,525,499" alt=""><area href="ActHandler_8h.html" shape="rect" coords="465,413,550,432" alt=""><area href="Connection_8h.html" shape="rect" coords="633,80,718,99" alt=""><area href="GenericValues_8h.html" shape="rect" coords="478,80,579,99" alt=""><area href="Logger_8h.html" shape="rect" coords="183,147,245,165" alt=""><area href="WorldModel_8h.html" shape="rect" coords="462,347,553,365" alt=""><area href="Objects_8h.html" shape="rect" coords="487,280,551,299" alt=""><area href="SoccerTypes_8h.html" shape="rect" coords="374,213,465,232" alt=""><area href="Formations_8h.html" shape="rect" coords="334,347,417,365" alt=""><area href="Geometry_8h.html" shape="rect" coords="286,147,361,165" alt=""><area href="ServerSettings_8h.html" shape="rect" coords="478,147,579,165" alt=""><area href="PlayerSettings_8h.html" shape="rect" coords="539,213,638,232" alt=""></map><p>This graph shows which files directly or indirectly include this file:<p><center><img src="Player_8h__dep__incl.gif" border="0" usemap="#Player.hdep_map" alt="Included by dependency graph"></center><map name="Player.hdep_map"><area href="main_8C.html" shape="rect" coords="14,14,65,33" alt=""><area href="Player_8C.html" shape="rect" coords="89,14,147,33" alt=""></map><p><a href="Player_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0><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="classPlayer.html">Player</a></td></tr><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_8h.html#a0">stdin_callback</a> (void *v)</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2> <pre><b>File:</b>          <a class="el" href="Player_8h.html">Player.h</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 declaration 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_8h-source.html">Player.h</a>.<hr><h2>Function Documentation</h2><a name="a0" doxytag="Player.h::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>.    </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 + =
减小字号Ctrl + -
显示快捷键?