soccertypes_8h.html
来自「仿真人工智能是指用人工的方法和技术」· HTML 代码 · 共 1,234 行 · 第 1/5 页
HTML
1,234 行
<a class="el" href="SoccerTypes_8h.html#a243a164">REFC_FOUL_RIGHT</a>, <br> <a class="el" href="SoccerTypes_8h.html#a243a165">REFC_GOAL_LEFT</a>, <a class="el" href="SoccerTypes_8h.html#a243a166">REFC_GOAL_RIGHT</a>, <a class="el" href="SoccerTypes_8h.html#a243a167">REFC_DROP_BALL</a>, <a class="el" href="SoccerTypes_8h.html#a243a168">REFC_GOALIE_CATCH_BALL_LEFT</a>, <br> <a class="el" href="SoccerTypes_8h.html#a243a169">REFC_GOALIE_CATCH_BALL_RIGHT</a><br> }</td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="SoccerTypes_8h.html#a244">ViewAngleT</a> { <a class="el" href="SoccerTypes_8h.html#a244a170">VA_NARROW</a>, <a class="el" href="SoccerTypes_8h.html#a244a171">VA_NORMAL</a>, <a class="el" href="SoccerTypes_8h.html#a244a172">VA_WIDE</a>, <a class="el" href="SoccerTypes_8h.html#a244a173">VA_ILLEGAL</a> }</td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="SoccerTypes_8h.html#a245">ViewQualityT</a> { <a class="el" href="SoccerTypes_8h.html#a245a174">VQ_HIGH</a>, <a class="el" href="SoccerTypes_8h.html#a245a175">VQ_LOW</a>, <a class="el" href="SoccerTypes_8h.html#a245a176">VQ_ILLEGAL</a> }</td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="SoccerTypes_8h.html#a246">SideT</a> { <a class="el" href="SoccerTypes_8h.html#a246a177">SIDE_LEFT</a>, <a class="el" href="SoccerTypes_8h.html#a246a178">SIDE_RIGHT</a>, <a class="el" href="SoccerTypes_8h.html#a246a179">SIDE_ILLEGAL</a> }</td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="SoccerTypes_8h.html#a247">CommandT</a> { <br> <a class="el" href="SoccerTypes_8h.html#a247a180">CMD_ILLEGAL</a>, <a class="el" href="SoccerTypes_8h.html#a247a181">CMD_DASH</a>, <a class="el" href="SoccerTypes_8h.html#a247a182">CMD_TURN</a>, <a class="el" href="SoccerTypes_8h.html#a247a183">CMD_TURNNECK</a>, <br> <a class="el" href="SoccerTypes_8h.html#a247a184">CMD_CHANGEVIEW</a>, <a class="el" href="SoccerTypes_8h.html#a247a185">CMD_CATCH</a>, <a class="el" href="SoccerTypes_8h.html#a247a186">CMD_KICK</a>, <a class="el" href="SoccerTypes_8h.html#a247a187">CMD_MOVE</a>, <br> <a class="el" href="SoccerTypes_8h.html#a247a188">CMD_SENSEBODY</a>, <a class="el" href="SoccerTypes_8h.html#a247a189">CMD_SAY</a>, <a class="el" href="SoccerTypes_8h.html#a247a190">CMD_CHANGEPLAYER</a>, <a class="el" href="SoccerTypes_8h.html#a247a191">CMD_MAX_COMMANDS</a><br> }</td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="SoccerTypes_8h.html#a248">PlayerT</a> { <br> <a class="el" href="SoccerTypes_8h.html#a248a192">PT_ILLEGAL</a>, <a class="el" href="SoccerTypes_8h.html#a248a193">PT_GOALKEEPER</a>, <a class="el" href="SoccerTypes_8h.html#a248a194">PT_DEFENDER_SWEEPER</a>, <a class="el" href="SoccerTypes_8h.html#a248a195">PT_DEFENDER_WING</a>, <br> <a class="el" href="SoccerTypes_8h.html#a248a196">PT_MIDFIELDER_CENTER</a>, <a class="el" href="SoccerTypes_8h.html#a248a197">PT_MIDFIELDER_WING</a>, <a class="el" href="SoccerTypes_8h.html#a248a198">PT_ATTACKER_WING</a>, <a class="el" href="SoccerTypes_8h.html#a248a199">PT_ATTACKER</a><br> }</td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="SoccerTypes_8h.html#a249">FormationT</a> { <br> <a class="el" href="SoccerTypes_8h.html#a249a200">FT_ILLEGAL</a>, <a class="el" href="SoccerTypes_8h.html#a249a201">FT_INITIAL</a>, <a class="el" href="SoccerTypes_8h.html#a249a202">FT_STANDARD</a>, <a class="el" href="SoccerTypes_8h.html#a249a203">FT_DEFENSIVE</a>, <br> <a class="el" href="SoccerTypes_8h.html#a249a204">FT_OPEN_DEFENSIVE</a>, <a class="el" href="SoccerTypes_8h.html#a249a205">FT_ATTACKING</a><br> }</td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="SoccerTypes_8h.html#a250">BallStatusT</a> { <br> <a class="el" href="SoccerTypes_8h.html#a250a206">BS_ILLEGAL</a>, <a class="el" href="SoccerTypes_8h.html#a250a207">BS_IN_FIELD</a>, <a class="el" href="SoccerTypes_8h.html#a250a208">BS_GOAL_LEFT</a>, <a class="el" href="SoccerTypes_8h.html#a250a209">BS_GOAL_RIGHT</a>, <br> <a class="el" href="SoccerTypes_8h.html#a250a210">BS_OUT_OF_FIELD</a><br> }</td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="SoccerTypes_8h.html#a251">ActionT</a> { <br> <a class="el" href="SoccerTypes_8h.html#a251a211">ACT_ILLEGAL</a>, <a class="el" href="SoccerTypes_8h.html#a251a212">ACT_SEARCH_BALL</a>, <a class="el" href="SoccerTypes_8h.html#a251a213">ACT_KICK_BALL</a>, <a class="el" href="SoccerTypes_8h.html#a251a214">ACT_CATCH_BALL</a>, <br> <a class="el" href="SoccerTypes_8h.html#a251a215">ACT_INTERCEPT</a>, <a class="el" href="SoccerTypes_8h.html#a251a216">ACT_MARK</a>, <a class="el" href="SoccerTypes_8h.html#a251a217">ACT_TELEPORT_TO_STRATEGIC_POSITION</a>, <a class="el" href="SoccerTypes_8h.html#a251a218">ACT_WATCH_BALL</a>, <br> <a class="el" href="SoccerTypes_8h.html#a251a219">ACT_GOTO_STRATEGIC_POSITION</a>, <a class="el" href="SoccerTypes_8h.html#a251a220">ACT_TURN_BODY_TO_CENTER</a>, <a class="el" href="SoccerTypes_8h.html#a251a221">ACT_MOVE_TO_DEAD_BALL_POSITION</a>, <a class="el" href="SoccerTypes_8h.html#a251a222">ACT_INTERCEPT_SCORING_ATTEMPT</a>, <br> <a class="el" href="SoccerTypes_8h.html#a251a223">ACT_DEFEND_GOALLINE</a>, <a class="el" href="SoccerTypes_8h.html#a251a224">ACT_TELEPORT_AFTER_CATCH</a><br> }</td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="SoccerTypes_8h.html#a252">MarkT</a> { <a class="el" href="SoccerTypes_8h.html#a252a225">MARK_ILLEGAL</a>, <a class="el" href="SoccerTypes_8h.html#a252a226">MARK_GOAL</a>, <a class="el" href="SoccerTypes_8h.html#a252a227">MARK_BISECTOR</a>, <a class="el" href="SoccerTypes_8h.html#a252a228">MARK_BALL</a> }</td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="SoccerTypes_8h.html#a253">DribbleT</a> { <a class="el" href="SoccerTypes_8h.html#a253a229">DRIBBLE_ILLEGAL</a>, <a class="el" href="SoccerTypes_8h.html#a253a230">DRIBBLE_WITHBALL</a>, <a class="el" href="SoccerTypes_8h.html#a253a231">DRIBBLE_SLOW</a>, <a class="el" href="SoccerTypes_8h.html#a253a232">DRIBBLE_FAST</a> }</td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="SoccerTypes_8h.html#a254">PassT</a> { <a class="el" href="SoccerTypes_8h.html#a254a233">PASS_ILLEGAL</a>, <a class="el" href="SoccerTypes_8h.html#a254a234">PASS_FAST</a>, <a class="el" href="SoccerTypes_8h.html#a254a235">PASS_NORMAL</a> }</td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="SoccerTypes_8h.html#a255">ClearBallT</a> { <a class="el" href="SoccerTypes_8h.html#a255a236">CLEAR_BALL_ILLEGAL</a>, <a class="el" href="SoccerTypes_8h.html#a255a237">CLEAR_BALL_OFFENSIVE</a>, <a class="el" href="SoccerTypes_8h.html#a255a238">CLEAR_BALL_DEFENSIVE</a>, <a class="el" href="SoccerTypes_8h.html#a255a239">CLEAR_BALL_GOAL</a> }</td></tr><tr><td colspan=2><br><h2>Variables</h2></td></tr><tr><td nowrap align=right valign=top>const double </td><td valign=bottom><a class="el" href="SoccerTypes_8h.html#a19">UnknownDoubleValue</a> = -1000.0</td></tr><tr><td nowrap align=right valign=top>const <a class="el" href="Geometry_8h.html#a2">AngDeg</a> </td><td valign=bottom><a class="el" href="SoccerTypes_8h.html#a20">UnknownAngleValue</a> = -1000.0</td></tr><tr><td nowrap align=right valign=top>const int </td><td valign=bottom><a class="el" href="SoccerTypes_8h.html#a21">UnknownIntValue</a> = -1000</td></tr><tr><td nowrap align=right valign=top>const int </td><td valign=bottom><a class="el" href="SoccerTypes_8h.html#a22">UnknownTime</a> = -20</td></tr><tr><td nowrap align=right valign=top>const long </td><td valign=bottom><a class="el" href="SoccerTypes_8h.html#a23">UnknownMessageNr</a> = -30</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2> <pre><b>File:</b> <a class="el" href="SenseHandler_8h.html">SenseHandler.h</a><b>Project:</b> Robocup Soccer Simulation Team: UvA Trilearn 2001<b>Authors:</b> Jelle Kok and Remco de Boer<b>Created:</b> 28/11/2000<b>Last Revision:</b> 06/01/2002<b>Contents:</b> This file contains the different enumerations and constants that are important in the Soccer Server. Furthermore it contains the class <a class="el" href="classSoccerCommand.html">SoccerCommand</a> which is used to denote the different possible soccer commands and the class <a class="el" href="classSoccerTypes.html">SoccerTypes</a> that contains all kind of static methods to translate text strings that are received from the server into the soccer types (=enumerations) that are defined here. Finally it contains the <a class="el" href="classTime.html">Time</a> class which holds a two-tuple that represents the time in the soccer server.</pre><p><p>Definition in file <a class="el" href="SoccerTypes_8h-source.html">SoccerTypes.h</a>.<hr><h2>Define Documentation</h2><a name="a12" doxytag="SoccerTypes.h::DEFAULT_OPPONENT_NAME"></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"> #define DEFAULT_OPPONENT_NAME "Team_R" </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>default teamname for opponent <p>Definition at line <a class="el" href="SoccerTypes_8h-source.html#l00074">74</a> of file <a class="el" href="SoccerTypes_8h-source.html">SoccerTypes.h</a>.<p>Referenced by <a class="el" href="WorldModel_8C-source.html#l01150">WorldModel::show</a>(). </td> </tr></table><a name="a11" doxytag="SoccerTypes.h::DEFAULT_TEAM_NAME"></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"> #define DEFAULT_TEAM_NAME "Team_L" </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>default teamname for own team <p>Definition at line <a class="el" href="SoccerTypes_8h-source.html#l00073">73</a> of file <a class="el" href="SoccerTypes_8h-source.html">SoccerTypes.h</a>.<p>Referenced by <a class="el" href="Objects_8C-source.html#l00683">AgentObject::show</a>(), <a class="el" href="Objects_8C-source.html#l00639">BallObject::show</a>(), <a class="el" href="Objects_8C-source.html#l00600">PlayerObject::show</a>(), and <a class="el" href="Objects_8C-source.html#l00266">FixedObject::show</a>(). </td> </tr></table><a name="a5" doxytag="SoccerTypes.h::MAX_COMMANDS"></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"> #define MAX_COMMANDS 10 </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>nr of commands that can be stored <p>Definition at line <a class="el" href="SoccerTypes_8h-source.html#l00067">67</a> of file <a class="el" href="SoccerTypes_8h-source.html">SoccerTypes.h</a>.<p>Referenced by <a class="el" href="ActHandler_8C-source.html#l00078">ActHandler::emptyQueue</a>(), <a class="el" href="WorldModel_8C-source.html#l00992">WorldModel::isQueuedActionPerformed</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l00386">WorldModel::processQueuedCommands</a>(), <a class="el" href="ActHandler_8C-source.html#l00168">ActHandler::putCommandInQueue</a>(), <a class="el" href="ActHandler_8C-source.html#l00102">ActHandler::sendCommands</a>(), <a class="el" href="WorldModel_8C-source.html#l01210">WorldModel::showQueuedCommands</a>(), and <a class="el" href="WorldModelUpdate_8C-source.html#l00659">WorldModel::updateAgentAndBallAfterSense</a>(). </td> </tr></table><a name="a9" doxytag="SoccerTypes.h::MAX_FLAGS"></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"> #define MAX_FLAGS 55 </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>maximum number of flags on field <p>Definition at line <a class="el" href="SoccerTypes_8h-source.html#l00071">71</a> of file <a class="el" href="SoccerTypes_8h-source.html">SoccerTypes.h</a>.<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l01832">WorldModel::resetTimeObjects</a>(), and <a class="el" href="WorldModel_8C-source.html#l00059">WorldModel::WorldModel</a>(). </td> </tr></table><a name="a3" doxytag="SoccerTypes.h::MAX_FORMATION_TYPES"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0">
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?