#include <iostream>
#include <stdio.h>
#include <string.h>
#include "SoccerTypes.h"
#include "Parse.h"
Include dependency graph for SoccerTypes.cpp:
Go to the source code of this file.
Functions | |
ostream & | operator<< (ostream &os, Time t) |
Variables | |
const char * | ObjectNames [] |
File: SoccerTypes.cpp Project: Robocup Soccer Simulation Team: UvA Trilearn Authors: Jelle Kok Created: 28/11/2000 Last Revision: $ID$ Contents: This file contains the different enumerations and constants that are important in the Soccer Server. Furthermore it contains the class SoccerCommand which is used to denote the different possible soccer commands and the class SoccerTypes 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 Time class which holds a two-tuple that represents the time in the soccer server.
Changes
Date Author Comment 28/11/2000 Jelle Kok Initial version created
Definition in file SoccerTypes.cpp.
|
Overloaded version of the C++ output operator for a Time class. This operator makes it possible to use Time objects in output statements (e.g. cout << t). The current cycle and the stopped time are printed in the format (t1,t2).
Definition at line 443 of file SoccerTypes.cpp. References Time::getTime(), and Time::getTimeStopped(). |
|
Initial value: { "(b)", "(g l)", "(g r)", "(g ?)", "(l l)", "(l r)", "(l b)", "(l t)", "(f l t)","(f t l 50)", "(f t l 40)", "(f t l 30)", "(f t l 20)", "(f t l 10)", "(f t 0)","(f c t)","(f t r 10)", "(f t r 20)", "(f t r 30)", "(f t r 40)","(f t r 50)", "(f r t)", "(f r t 30)", "(f r t 20)","(f r t 10)", "(f g r t)" , "(f r 0)", "(f g r b)" , "(f r b 10)", "(f r b 20)", "(f r b 30)", "(f r b)" , "(f b r 50)", "(f b r 40)", "(f b r 30)", "(f b r 20)", "(f b r 10)", "(f c b)" , "(f b 0)" , "(f b l 10)", "(f b l 20)", "(f b l 30)", "(f b l 40)", "(f b l 50)", "(f l b)", "(f l b 30)", "(f l b 20)", "(f l b 10)", "(f g l b)" , "(f l 0)", "(f g l t)" , "(f l t 10)", "(f l t 20)", "(f l t 30)", "(f p l t)", "(f p l c)", "(f p l b)", "(f p r t)", "(f p r c)", "(f p r b)", "(f c)" } Definition at line 1129 of file SoccerTypes.cpp. Referenced by SoccerTypes::getObjectStr(). |