classobject.html
来自「仿真人工智能是指用人工的方法和技术」· HTML 代码 · 共 1,188 行 · 第 1/4 页
HTML
1,188 行
</tr></table><a name="a5" doxytag="Object::setType"></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 Object::setType </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="SoccerTypes_8h.html#a240">ObjectT</a> </td> <td class="mdname1" valign="top" nowrap> <em>o</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This method sets the type of this object (i.e. OBJECT_BALL, FLAG_L_R_T). <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>o</em> </td><td>ObjectT representing the type of this object </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether value was set. </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00094">94</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="SoccerTypes_8h-source.html#l00102">ObjectT</a>, and <a class="el" href="Objects_8h-source.html#l00060">objectType</a>.<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l01702">WorldModel::mapUnknownPlayers</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l00138">WorldModel::processNewObjectInfo</a>(), <a class="el" href="WorldModel_8C-source.html#l00511">WorldModel::setAgentObjectType</a>(), and <a class="el" href="WorldModel_8C-source.html#l00059">WorldModel::WorldModel</a>(). </td> </tr></table><a name="a1" doxytag="Object::show"></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 void Object::show </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ostream & </td> <td class="mdname1" valign="top" nowrap> <em>os</em> = cout </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [pure virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>abstract function that should be defined in a subclass <p>Reimplemented in <a class="el" href="classFixedObject.html#a2">FixedObject</a>, <a class="el" href="classPlayerObject.html#a1">PlayerObject</a>, <a class="el" href="classBallObject.html#a1">BallObject</a>, and <a class="el" href="classAgentObject.html#a1">AgentObject</a>.<p>Referenced by <a class="el" href="WorldModel_8C-source.html#l01222">WorldModel::show</a>(). </td> </tr></table><hr><h2>Member Data Documentation</h2><a name="n0" doxytag="Object::objectType"></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="SoccerTypes_8h.html#a240">ObjectT</a> Object::objectType<code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Type of this object <p>Definition at line <a class="el" href="Objects_8h-source.html#l00060">60</a> of file <a class="el" href="Objects_8h-source.html">Objects.h</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00102">getType</a>(), <a class="el" href="Objects_8C-source.html#l00057">Object</a>(), <a class="el" href="Objects_8C-source.html#l00094">setType</a>(), <a class="el" href="Objects_8C-source.html#l00692">AgentObject::show</a>(), <a class="el" href="Objects_8C-source.html#l00639">BallObject::show</a>(), <a class="el" href="Objects_8C-source.html#l00609">PlayerObject::show</a>(), and <a class="el" href="Objects_8C-source.html#l00266">FixedObject::show</a>(). </td> </tr></table><a name="n2" doxytag="Object::posGlobal"></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="classVecPosition.html">VecPosition</a> Object::posGlobal<code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Global position in the field <p>Definition at line <a class="el" href="Objects_8h-source.html#l00063">63</a> of file <a class="el" href="Objects_8h-source.html">Objects.h</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00177">getGlobalPosition</a>(), <a class="el" href="Objects_8C-source.html#l00165">setGlobalPosition</a>(), <a class="el" href="Objects_8C-source.html#l00692">AgentObject::show</a>(), <a class="el" href="Objects_8C-source.html#l00639">BallObject::show</a>(), and <a class="el" href="Objects_8C-source.html#l00609">PlayerObject::show</a>(). </td> </tr></table><a name="n6" doxytag="Object::posGlobalLastSee"></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="classVecPosition.html">VecPosition</a> Object::posGlobalLastSee<code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Global position of last see msg <p>Definition at line <a class="el" href="Objects_8h-source.html#l00067">67</a> of file <a class="el" href="Objects_8h-source.html">Objects.h</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00217">getGlobalPositionLastSee</a>(), and <a class="el" href="Objects_8C-source.html#l00206">setGlobalPositionLastSee</a>(). </td> </tr></table><a name="n4" doxytag="Object::posRelative"></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="classVecPosition.html">VecPosition</a> Object::posRelative<code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Relative position of the object <p>Definition at line <a class="el" href="Objects_8h-source.html#l00065">65</a> of file <a class="el" href="Objects_8h-source.html">Objects.h</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00065">getRelativeAngle</a>(), <a class="el" href="Objects_8C-source.html#l00073">getRelativeDistance</a>(), <a class="el" href="Objects_8C-source.html#l00138">getRelativePosition</a>(), <a class="el" href="Objects_8C-source.html#l00114">setRelativePosition</a>(), <a class="el" href="Objects_8C-source.html#l00639">BallObject::show</a>(), <a class="el" href="Objects_8C-source.html#l00609">PlayerObject::show</a>(), and <a class="el" href="Objects_8C-source.html#l00266">FixedObject::show</a>(). </td> </tr></table><a name="n7" doxytag="Object::timeGlobalPosDerivedFromSee"></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="classTime.html">Time</a> Object::timeGlobalPosDerivedFromSee<code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><a class="el" href="classTime.html">Time</a> pos derived from see msg <p>Definition at line <a class="el" href="Objects_8h-source.html#l00068">68</a> of file <a class="el" href="Objects_8h-source.html">Objects.h</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00235">getTimeGlobalPosDerivedFromSee</a>(), <a class="el" href="Objects_8C-source.html#l00226">setTimeGlobalPosDerivedFromSee</a>(), <a class="el" href="Objects_8C-source.html#l00639">BallObject::show</a>(), and <a class="el" href="Objects_8C-source.html#l00609">PlayerObject::show</a>(). </td> </tr></table><a name="n3" doxytag="Object::timeGlobalPosition"></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="classTime.html">Time</a> Object::timeGlobalPosition<code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Server time of global position <p>Definition at line <a class="el" href="Objects_8h-source.html#l00064">64</a> of file <a class="el" href="Objects_8h-source.html">Objects.h</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00194">getTimeGlobalPosition</a>(), <a class="el" href="Objects_8C-source.html#l00185">setTimeGlobalPosition</a>(), <a class="el" href="Objects_8C-source.html#l00692">AgentObject::show</a>(), <a class="el" href="Objects_8C-source.html#l00639">BallObject::show</a>(), and <a class="el" href="Objects_8C-source.html#l00609">PlayerObject::show</a>(). </td> </tr></table><a name="n1" doxytag="Object::timeLastSeen"></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="classTime.html">Time</a> Object::timeLastSeen<code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><a class="el" href="classTime.html">Time</a> last see message has arrived <p>Definition at line <a class="el" href="Objects_8h-source.html#l00061">61</a> of file <a class="el" href="Objects_8h-source.html">Objects.h</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00083">getConfidence</a>(), <a class="el" href="Objects_8C-source.html#l00253">getTimeLastSeen</a>(), <a class="el" href="Objects_8C-source.html#l00244">setTimeLastSeen</a>(), <a class="el" href="Objects_8C-source.html#l00639">BallObject::show</a>(), <a class="el" href="Objects_8C-source.html#l00609">PlayerObject::show</a>(), and <a class="el" href="Objects_8C-source.html#l00266">FixedObject::show</a>(). </td> </tr></table><a name="n5" doxytag="Object::timeRelativePosition"></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="classTime.html">Time</a> Object::timeRelativePosition<code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Server time of relative position <p>Definition at line <a class="el" href="Objects_8h-source.html#l00066">66</a> of file <a class="el" href="Objects_8h-source.html">Objects.h</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00155">getTimeRelativePosition</a>(), <a class="el" href="Objects_8C-source.html#l00146">setTimeRelativePosition</a>(), <a class="el" href="Objects_8C-source.html#l00639">BallObject::show</a>(), <a class="el" href="Objects_8C-source.html#l00609">PlayerObject::show</a>(), and <a class="el" href="Objects_8C-source.html#l00266">FixedObject::show</a>(). </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="Objects_8h-source.html">Objects.h</a><li><a class="el" href="Objects_8C-source.html">Objects.C</a></ul><hr><address><small>Generated on Thu Mar 7 00:37:55 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>, © 1997-2001</small></address></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?