#include <cstdlib>
#include <stdint.h>
#include <sys/types.h>
#include <sstream>
#include <gu_util.h>
Go to the source code of this file.
|
| enum | guWhiteboard::TeamColors : int8_t {
guWhiteboard::BLUE =0
, guWhiteboard::RED
, guWhiteboard::YELLOW
, guWhiteboard::BLACK
,
guWhiteboard::WHITE
, guWhiteboard::GREEN
, guWhiteboard::ORANGE
, guWhiteboard::PURPLE
,
guWhiteboard::BROWN
, guWhiteboard::GRAY
, guWhiteboard::NUM_JERSEY_COLORS
} |
| | Team Colours. More...
|
| |
| enum | guWhiteboard::CompetitionType : int8_t { guWhiteboard::NormalCompetition
, guWhiteboard::MixedTeam
, guWhiteboard::NUM_COMPETITION_TYPES
} |
| | Type of the competition. More...
|
| |
| enum | guWhiteboard::CompetitionPhase : int8_t { guWhiteboard::RoundRobin
, guWhiteboard::PlayOff
, guWhiteboard::NUM_COMPETITION_PHASES
} |
| | Phase of the competition. More...
|
| |
| enum | guWhiteboard::GamePhase : int8_t { guWhiteboard::NormalPhase
, guWhiteboard::PenaltyShoot
, guWhiteboard::Overtime
, guWhiteboard::Timeout
} |
| | Phase of the game. More...
|
| |
| enum | guWhiteboard::GameState : int8_t {
guWhiteboard::Initial
, guWhiteboard::Ready
, guWhiteboard::Set
, guWhiteboard::Playing
,
guWhiteboard::Finished
, guWhiteboard::NUM_GAME_STATES
} |
| | High level Game Controller states. More...
|
| |
| enum | guWhiteboard::SetPlay : int8_t {
guWhiteboard::NoSetPlay
, guWhiteboard::GoalFreeKick
, guWhiteboard::PushingFreeKick
, guWhiteboard::CornerKick
,
guWhiteboard::KickIn
, guWhiteboard::NUM_SET_PLAY_TYPES
} |
| | Set play codes. More...
|
| |
| enum | guWhiteboard::PenaltyTypes : int8_t {
guWhiteboard::NoPenalty = 0
, guWhiteboard::IllegalBallContact
, guWhiteboard::PlayerPushing
, guWhiteboard::IllegalMotionInSet
,
guWhiteboard::InactivePlayer
, guWhiteboard::IllegalDefender
, guWhiteboard::LeavingTheField
, guWhiteboard::KickOffGoal
,
guWhiteboard::RequestForPickUp
, guWhiteboard::LocalGameStuck
, guWhiteboard::IllegalPositioning
, guWhiteboard::SubstitutionPenalty = 14
,
guWhiteboard::ManualPenalty = 15
} |
| | Penalty types. More...
|
| |
| enum | guWhiteboard::HomeAway : int8_t { guWhiteboard::Home =0
, guWhiteboard::Away =1
} |
| | Used to nominate which team is home/away and to decouple game state from team specifics. More...
|
| |
| enum | guWhiteboard::GameHalf : int8_t { guWhiteboard::SecondHalf
, guWhiteboard::FirstHalf
} |
| | Soccer games comprise of two halves. More...
|
| |
| enum | guWhiteboard::BallOut : int8_t { guWhiteboard::OutByHome
, guWhiteboard::OutByAway
} |
| | Who kicked the ball out. More...
|
| |
| enum | guWhiteboard::GameControllerCommand : int8_t {
guWhiteboard::InitialReceived
, guWhiteboard::ReadyReceived
, guWhiteboard::SetReceived
, guWhiteboard::PlayingReceived
,
guWhiteboard::FinishedReceived
} |
| | received command from the Game Controller More...
|
| |
| enum | guWhiteboard::GameContollerSignal : int8_t {
guWhiteboard::NoGSsignal
, guWhiteboard::GSOurGoalSignalPushed
, guWhiteboard::GSTheirGoalSignalPushed
, guWhiteboard::GSBlueKickOffSignalPushed
,
guWhiteboard::GSRedKickOffSignalPushed
} |
| | major game event signals (goals, kick-offs) More...
|
| |
◆ DEFAULT_PLAYER_NUMBER
| #define DEFAULT_PLAYER_NUMBER 2 |
◆ kGSBlueKickOffSignalPushed
| #define kGSBlueKickOffSignalPushed "GSBlueKickOffSignalPushed" |
◆ kGSCornerKick
| #define kGSCornerKick "GSCornerKick" |
◆ kGSDropIn
| #define kGSDropIn "Drop In" |
◆ kGSFinished
| #define kGSFinished "GSFinished" |
◆ kGSFinishedReceived
| #define kGSFinishedReceived "FinishedReceived" |
◆ kGSFirstHalf
| #define kGSFirstHalf "FirstHalf" |
◆ kGSGoalFreeKick
| #define kGSGoalFreeKick "GSGoalFreeKick" |
◆ kGSIllegalBallContact
| #define kGSIllegalBallContact "IllegalBallContact" |
◆ kGSIllegalDefender
| #define kGSIllegalDefender "IllegalDefender" |
◆ kGSIllegalMotionInSet
| #define kGSIllegalMotionInSet "IllegalMotionInSet" |
◆ kGSIllegalPositioning
| #define kGSIllegalPositioning "IllegalPositioning" |
◆ kGSInactivePlayer
| #define kGSInactivePlayer "InactivePlayer" |
◆ kGSInitial
| #define kGSInitial "GSInitial" |
◆ kGSInitialReceived
| #define kGSInitialReceived "InitialReceived" |
◆ kGSKickIn
| #define kGSKickIn "GSKickIn" |
◆ kGSKickOffGoal
| #define kGSKickOffGoal "KickOffGoal" |
◆ kGSLeavingTheField
| #define kGSLeavingTheField "LeavingTheField" |
◆ kGSLocalGameStuck
| #define kGSLocalGameStuck "LocalGameStuck" |
◆ kGSManualPenalty
| #define kGSManualPenalty "ManualPenalty" |
◆ kGSMixedTeam
| #define kGSMixedTeam "MixedTeams" |
◆ kGSNoPenalty
| #define kGSNoPenalty "NoPenalty" |
◆ kGSNormalGame
| #define kGSNormalGame "NormalGame" |
◆ kGSNoSetPlay
| #define kGSNoSetPlay "GSNoSetPlay" |
◆ kGSOurGoalSignalPushed
| #define kGSOurGoalSignalPushed "GSOurGoalSignalPushed" |
◆ kGSOverTime
| #define kGSOverTime "OverTime" |
◆ kGSPenaltyShots
| #define kGSPenaltyShots "PenaltyShots" |
◆ kGSPlayerPushing
| #define kGSPlayerPushing "PlayerPushing" |
◆ kGSPlaying
| #define kGSPlaying "GSPlaying" |
◆ kGSPlayingReceived
| #define kGSPlayingReceived "PlayingReceived" |
◆ kGSPushingFreeKick
| #define kGSPushingFreeKick "GSPushingFreeKick" |
◆ kGSReady
| #define kGSReady "GSReady" |
◆ kGSReadyReceived
| #define kGSReadyReceived "ReadyReceived" |
◆ kGSRedKickOffSignalPushed
| #define kGSRedKickOffSignalPushed "GSRedKickOffSignalPushed" |
◆ kGSRequestForPickup
| #define kGSRequestForPickup "RequestForPickup" |
◆ kGSSecondHalf
| #define kGSSecondHalf "SecondHalf" |
◆ kGSSet
◆ kGSSetReceived
| #define kGSSetReceived "SetReceived" |
◆ kGSSubstitutionPenalty
| #define kGSSubstitutionPenalty "SubstitutionPenalty" |
◆ kGSTeamAway
| #define kGSTeamAway "AwayTeam" |
◆ kGSTeamHome
| #define kGSTeamHome "HomeTeam" |
◆ kGSTheirGoalSignalPushed
| #define kGSTheirGoalSignalPushed "GSTheirGoalSignalPushed" |
◆ kGSTimeOut
| #define kGSTimeOut "TimeOut" |
◆ kNoGSsignal
| #define kNoGSsignal "NoGSsignal" |
◆ MIPAL_TEAM_NO
◆ SPL_NUM_PLAYERS
| #define SPL_NUM_PLAYERS 6 |
◆ SPL_NUM_TEAMS