#include <RoboCupGameManagerSymbols.h>
Inheritance diagram for RoboCupGameManagerSymbols:


Public Member Functions | |
| RoboCupGameManagerSymbols (const BehaviorControlInterfaces &interfaces) | |
| void | registerSymbols (Xabsl2Engine &engine) |
| registers the symbols at an engine | |
| void | update () |
| updates the symbols | |
| void | setTeamColor (int teamColor) |
Input symbols | |
| int | getState () |
| int | getKickoff () |
| int | getTeamColor () |
| bool | getOwnTeamScored () |
| bool | getOpponentTeamScored () |
| double | getOwnScore () |
| double | getOpponentScore () |
| double | getTimeSinceLastMessage () |
Private Attributes | |
| int | lastGameControlDataState |
| the game control state we received the last time | |
| int | lastOwnScore |
| keeps the recent own score value | |
| int | lastOpponentScore |
| keeps the recent opponent score value | |
| unsigned long | timeWhenOwnTeamScored |
| keeps the time when the last own goal was shot | |
| unsigned long | timeWhenOpponentTeamScored |
| keeps the time when the last opponent goal was shot | |
| RState | currentState |
| The current game state (set by the behavior). | |
Definition at line 21 of file RoboCupGameManagerSymbols.h.
|
|
Definition at line 12 of file RoboCupGameManagerSymbols.cpp. |
|
Here is the call graph for this function:

|
|
updates the symbols
Definition at line 74 of file RoboCupGameManagerSymbols.cpp. References GameControlData::data, SystemCall::getCurrentSystemTime(), getPlayer(), getTimeSinceLastMessage(), lastGameControlDataState, lastOpponentScore, lastOwnScore, Player::setTeamColor(), timeWhenOpponentTeamScored, and timeWhenOwnTeamScored. Referenced by GT2004BehaviorControl::execute(). |
Here is the call graph for this function:

|
|
A function for the symbol "game.state" Definition at line 105 of file RoboCupGameManagerSymbols.cpp. References GameControlData::data. Referenced by registerSymbols(). |
|
|
A function for the symbol "game.kickoff" Definition at line 110 of file RoboCupGameManagerSymbols.cpp. References GameControlData::data. Referenced by registerSymbols(). |
|
|
A function for the symbol "game.team-color" Definition at line 115 of file RoboCupGameManagerSymbols.cpp. References getPlayer(), and Player::getTeamColor(). Referenced by registerSymbols(). |
Here is the call graph for this function:

|
|
A function for the symbol "game.own-team-scored" Definition at line 120 of file RoboCupGameManagerSymbols.cpp. References SystemCall::getTimeSince(), and timeWhenOwnTeamScored. Referenced by registerSymbols(). |
Here is the call graph for this function:

|
|
A function for the symbol "game.opponent-team-scored" Definition at line 125 of file RoboCupGameManagerSymbols.cpp. References SystemCall::getTimeSince(), and timeWhenOpponentTeamScored. Referenced by registerSymbols(). |
Here is the call graph for this function:

|
|
A function for the symbol "game.own-score" Definition at line 130 of file RoboCupGameManagerSymbols.cpp. References GameControlData::data. Referenced by registerSymbols(). |
|
|
A function for the symbol "game.opponent-score" Definition at line 135 of file RoboCupGameManagerSymbols.cpp. References GameControlData::data. Referenced by registerSymbols(). |
|
|
A function for the symbol "game.time-since-last-message" Definition at line 140 of file RoboCupGameManagerSymbols.cpp. References SystemCall::getTimeSince(), and GameControlData::timeStamp. Referenced by registerSymbols(), and update(). |
Here is the call graph for this function:

|
|
Definition at line 100 of file RoboCupGameManagerSymbols.cpp. References getPlayer(), and Player::setTeamColor(). Referenced by registerSymbols(). |
Here is the call graph for this function:

|
|
the game control state we received the last time
Definition at line 53 of file RoboCupGameManagerSymbols.h. Referenced by update(). |
|
|
keeps the recent own score value
Definition at line 56 of file RoboCupGameManagerSymbols.h. Referenced by update(). |
|
|
keeps the recent opponent score value
Definition at line 59 of file RoboCupGameManagerSymbols.h. Referenced by update(). |
|
|
keeps the time when the last own goal was shot
Definition at line 62 of file RoboCupGameManagerSymbols.h. Referenced by getOwnTeamScored(), and update(). |
|
|
keeps the time when the last opponent goal was shot
Definition at line 65 of file RoboCupGameManagerSymbols.h. Referenced by getOpponentTeamScored(), and update(). |
|
|
The current game state (set by the behavior).
Definition at line 68 of file RoboCupGameManagerSymbols.h. Referenced by registerSymbols(). |
1.3.6