📄 classsoccertypes.html
字号:
Referenced by <a class="el" href="SenseHandler_8C-source.html#l00285">SenseHandler::analyzeSeeGlobalMessage</a>(), and <a class="el" href="SenseHandler_8C-source.html#l00206">SenseHandler::analyzeSeeMessage</a>(). </td> </tr></table><a name="d0" doxytag="SoccerTypes::getObjectStr"></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"> char * SoccerTypes::getObjectStr </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">char * </td> <td class="mdname" nowrap> <em>strBuf</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="SoccerTypes_8h.html#a240">ObjectT</a> </td> <td class="mdname" nowrap> <em>o</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>strTeamName</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [static]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This method returns the string that corresponds to a specific object. This string name is exactly the same as the (short) name of the RoboCup Simulation. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>strBuf</em> </td><td>is the string in which the string representation is stored </td></tr><tr><td valign=top><em>o</em> </td><td>ObjectT that has to be converted to the string representation </td></tr><tr><td valign=top><em>strTeamName</em> </td><td>teamname that should be placed in case of player object </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>pointer to strBuf, which contains the string representation </dl><p>Definition at line <a class="el" href="SoccerTypes_8C-source.html#l00859">859</a> of file <a class="el" href="SoccerTypes_8C-source.html">SoccerTypes.C</a>.<p>References <a class="el" href="SoccerTypes_8C-source.html#l01139">getIndex</a>(), <a class="el" href="SoccerTypes_8C-source.html#l01248">isKnownPlayer</a>(), <a class="el" href="namespace_3globalScope_4.html#a240a24">OBJECT_BALL</a>, <a class="el" href="namespace_3globalScope_4.html#a240a84">OBJECT_FLAG_C</a>, <a class="el" href="namespace_3globalScope_4.html#a240a108">OBJECT_OPPONENT_UNKNOWN</a>, <a class="el" href="namespace_3globalScope_4.html#a240a109">OBJECT_PLAYER_UNKNOWN</a>, <a class="el" href="namespace_3globalScope_4.html#a240a96">OBJECT_TEAMMATE_UNKNOWN</a>, <a class="el" href="namespace_3globalScope_4.html#a240a110">OBJECT_UNKNOWN</a>, <a class="el" href="SoccerTypes_8C-source.html#l00838">ObjectNames</a>, and <a class="el" href="SoccerTypes_8h-source.html#l00102">ObjectT</a>.<p>Referenced by <a class="el" href="SoccerTypes_8C-source.html#l00885">getObjectFromStr</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="d16" doxytag="SoccerTypes::getOpponentObjectFromIndex"></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> SoccerTypes::getOpponentObjectFromIndex </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>iIndex</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [static]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This method returns the object type of an opponent with index iIndex. When iIndex equals 9 for example OBJECT_OPPONENT_10 is returned. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>iIndex</em> </td><td>index of opponent range is [0..10] </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>object type corresponding to this index </dl><p>Definition at line <a class="el" href="SoccerTypes_8C-source.html#l01168">1168</a> of file <a class="el" href="SoccerTypes_8C-source.html">SoccerTypes.C</a>.<p>References <a class="el" href="namespace_3globalScope_4.html#a240a97">OBJECT_OPPONENT_1</a>, and <a class="el" href="SoccerTypes_8h-source.html#l00102">ObjectT</a>.<p>Referenced by <a class="el" href="SenseHandler_8C-source.html#l00493">SenseHandler::analyzePlayerMessage</a>(), and <a class="el" href="WorldModel_8C-source.html#l00059">WorldModel::WorldModel</a>(). </td> </tr></table><a name="d6" doxytag="SoccerTypes::getOwnGoal"></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> SoccerTypes::getOwnGoal </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="SoccerTypes_8h.html#a246">SideT</a> </td> <td class="mdname1" valign="top" nowrap> <em>s</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [static]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This method returns the object representing the own goal <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>s</em> </td><td>own side </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>object of the own goal, OBJECT_ILLEGAL when s is SIDE_ILLEGAL </dl><p>Definition at line <a class="el" href="SoccerTypes_8C-source.html#l01274">1274</a> of file <a class="el" href="SoccerTypes_8C-source.html">SoccerTypes.C</a>.<p>References <a class="el" href="namespace_3globalScope_4.html#a240a25">OBJECT_GOAL_L</a>, <a class="el" href="namespace_3globalScope_4.html#a240a26">OBJECT_GOAL_R</a>, <a class="el" href="namespace_3globalScope_4.html#a240a113">OBJECT_ILLEGAL</a>, <a class="el" href="SoccerTypes_8h-source.html#l00102">ObjectT</a>, <a class="el" href="namespace_3globalScope_4.html#a246a177">SIDE_LEFT</a>, <a class="el" href="namespace_3globalScope_4.html#a246a178">SIDE_RIGHT</a>, and <a class="el" href="SoccerTypes_8h-source.html#l00287">SideT</a>.<p>Referenced by <a class="el" href="WorldModel_8C-source.html#l00938">WorldModel::getPosOwnGoal</a>(). </td> </tr></table><a name="d20" doxytag="SoccerTypes::getPlayModeFromRefereeMessage"></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#a242">PlayModeT</a> SoccerTypes::getPlayModeFromRefereeMessage </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="SoccerTypes_8h.html#a243">RefereeMessageT</a> </td> <td class="mdname1" valign="top" nowrap> <em>rm</em> </td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -