Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

RS Namespace Reference

Used for all classes, types and functions used by RoboSoc. More...


Compounds

class  AngleDegrees
 Template class for representing angles in degrees. More...

class  AngleDegreesError
 Template class for representing angles with an error value. More...

class  AngleDegreesUE
 Template class for angles in degrees that can be unknown and have an error. More...

class  AngleDegreesUnknown
 Template class for representing angles in degrees that can be unknown. More...

class  AngleRadians
 Template class for representing angles in radians. More...

class  AssertionFailed
 Used to represent the exception raised when an assertion fails. More...

class  CoachCommand
 Class used as the base class of all coach commands defined in RoboSoc. More...

class  CoachOrTrainerCommand
 Class used as the base class of all CoachOrTrainer commands defined in RoboSoc. More...

class  Command
 Class used as the base class of all commands defined in RoboSoc. More...

class  ControlCommand
 Class used as the base class of all control commands defined in RoboSoc. More...

class  CoordCircle
 Template class for representing a cartesian two dimensional coordinate with a radiues, forming a circle. More...

class  CoordPoint
 Template class for representing a cartesian two dimensional coordinate. More...

class  CoordPointUE
 Template class for representing a cartesian two dimensional coordinate that can be unknown and have a confidence factor. More...

class  CoordPointUnknown
 Template class for representing a cartesian two dimensional coordinate that can be unknown. More...

class  CoordRectangle
 Template class for representing a cartesian two dimensional coordinate with a radiues, forming a rectangle. More...

class  CoordVector
 Template class for representing a two dimensional mathematical vector. More...

class  CoordVectorUE
 Template class for representing a two dimensional mathematical vector that can be unknown and have an error. More...

class  CoordVectorUnknown
 Template class for representing a two dimensional mathematical vector that can be unknown. More...

class  FuzzyBool
 Class used to represent truth values that can have a value between 0 and 1, where 0 is false and 1 is true. More...

class  ImmediateCommand
 Class used as the base class of all immediate commands defined in RoboSoc. More...

class  LogArea
 LogArea is used to keep track of the information associated with a log area. More...

class  LogStream
 Used to output logging info to a stream. More...

class  LogStreamManip
 Used to make it possible to call methods on the LogStream object by using the operator <<. More...

class  PeriodicCommand
 Class used as the base class of all periodic commands defined in RoboSoc. More...

class  Plan
 Used to represent a plan. More...

class  RSException
 Class used as the base class of all exceptions defined in RoboSoc. More...

class  Sector
 Class used to represent a circle sector in RoboSoc. More...

class  ServerCommand
 Class used as the base class of all server commands defined in RoboSoc. More...

class  SocketException
 Class used to represent an exception thrown by a socket. More...

class  Socket
 Class used to represent a communication socket. More...

struct  add_command
class  Step
 Used to represent a step in a plan. More...

class  Time
 Class used to represent the soccer server time. More...

class  Timer
 Class used to represent a timer. More...

class  TimeUnknown
 Class used to represent the soccer server time that can be unknown. More...

class  TooFewArgumentsException
 Used to represent the exception raised when someone tries to set some arguments but not giving enough arguments. More...

class  TrainerCommand
 Class used as the base class of all trainer commands defined in RoboSoc. More...

class  UnknownValueException
 Used to represent the exception raised when someone tries to take the value of an object with an unknown value. More...

class  WithError
 Template class for representing basic types that can have an error. More...

class  WithUE
 Template class for representing basic types that can be both unknown and have a (known or unknown) error value. More...

class  WithUnknown
 Template class for representing basic types that can be unknown. More...

class  ActuatorInterface
 This class is the interface between the decision maker and the actuators. More...

class  Actuators
 This class is responsible for turning steps into executable server or control commands and with the help of the controller execute them. More...

class  Agent
 This is a class that can be used to create the basic system for an agent so the user do not have to create and connect all the units herself. More...

class  AgentObject
 Class used to represent the agent. More...

class  AgentStep
 Used to represent a step in a plan. More...

class  AttentionToCommand
 Class used to represent the attention to command. More...

class  BallObject
 Class used to represent the ball. More...

class  ServerGameObject
 Used to represent the objects sent by the server to the client as see messages. More...

class  ServerMarkerObject
 Used to represent the marker objects sent by the server to the client as see messages. More...

class  ServerLineObject
 Used to represent the line objects sent by the server to the client as see messages. More...

class  ServerMobileObject
 Used to represent the mobile objects sent by the server to the client as see messages. More...

class  ServerPlayerObject
 Used to represent the player objects sent by the server to the client as see messages. More...

class  ServerBallObject
class  ServerArmState
class  ServerFocusState
class  ServerTackleState
class  ServerAgentObject
class  CoachMobileObject
 Used to represent the player objects sent by the server to coach clients as see messages. More...

class  CoachPlayerObject
class  FullstatePlayerObject
class  CoachBallObject
class  CoachHearingObject
class  BasicAgent
 This is a class that can be used to create the basic system for an agent so the user do not have to create and connect all the units herself. More...

class  BasicSensorInterface
 This class is the interface between the sensors and the rest of the agent. More...

class  ByeCommand
 Class used to represent the server command (bye). More...

class  CatchCommand
 Class used to represent the server command (catch Direction). More...

class  ChangeModeCommand
 Class used to represent the server command (change_mode ). More...

class  ChangeViewCommand
 Class used to represent the server command (change_view ViewWidth ViewQuality). More...

class  CheckBallCommand
 Class used to represent the server command (check_ball). More...

class  ClangVersionCommand
 Class used to represent a generic clangVersion command defined in RoboSoc. More...

class  CoachFreeformCommand
 Class used to represent the server command (freeform Message). More...

class  CoachInitCommand
 Class used to represent the server command (init TeamName (version V)). More...

class  CoachSayCommand
 Class used to represent the server command (say Message). More...

class  CoachSubstitutionCommand
 Class used to represent the command for a Coach to substitute a player. More...

class  ControlInterface
 This class is the interface between the controller and the decision maker. More...

class  Controller
 This class is the controller of the agent. More...

class  DashCommand
 Class used to represent the server command (dash Power). More...

class  Decision
 This is the base class for all decision makers in RoboSoc. More...

class  EarCommand
 Class used to represent the ear command defined in RoboSoc. More...

class  EyeCommand
 Class used to represent a eye command defined in RoboSoc. More...

class  InitCommand
 Class used to represent the server command (init TeamName (version V) (goalie)). More...

class  KickCommand
 Class used to represent the server command (kick Power Direction). More...

class  LineObject
 Class used to represent the four side lines in the soccer field. More...

class  LookCommand
 Class used to represent the server command (team_names). More...

class  MarkerObject
 Class used to represent a marker. More...

class  MobileObject
 Class used as the base class of all mobile objects, i.e. More...

class  MoveCommand
 Class used to represent the server command (move X Y). More...

class  MoveObjectCommand
 Class used to represent a command to move object in RoboSoc. More...

class  PlayerObject
 Class used to represent a player. More...

class  PlayerType
 Class used to represent a heterogenous player type. More...

class  PointToCommand
 Class used to represent the server command (pointto Distance Direction). More...

class  RecoverCommand
 Class used to represent the server command (recover). More...

class  SayCommand
 Class used to represent the server command (say Message). More...

class  SensorInterface
 This class is the interface between the sensors and the rest of the agent. More...

class  Sensors
 This class is responsible for parsing the server messages and storing them in the sensor interface for further use by the agent. More...

class  ServerException
 Used to represent the exceptions raised by the server interface. More...

class  ServerInterface
 This class is the interface between the controller and the soccer server. More...

class  SetCyclesSinceIOBeforeShutdown
 Class used to represent the control command SetCyclesSinceIOBeforeShutdown which should be used to control after how many cycles since the last io the controller should shut down the agent since the server is probably turn off anyway. More...

class  SetMaxTicksBeforeSendingCommand
 Class used to represent the control command SetMinTicksBeforeSendingCommand which should be used to control after how many ticks the controller should no longer send any commands to the server. More...

class  SetMinTicksBeforeSendingCommand
 Class used to represent the control command SetMinTicksBeforeSendingCommand which should be used to control how many ticks the controller should wait before sending any commands to the server. More...

class  SetTicksBeforeCommandWarning
 Class used to represent the control command SetTicksBeforeCommandWarning which should be used to control after how many ticks into a cycle the controller will generate a command warning event to the decision maker. More...

class  SetTicksBetweenCycles
 Class used to represent the control command SetTicksBetweenCycles which should be used to control how many ticks a cycle usually is. More...

class  SetTicksBetweenSenses
 Class used to represent the control command SetTicksBetweenSenses which should be used to control how many ticks a cycle usually is. More...

class  SetTicksBetweenVisuals
 Class used to represent the control command SetTicksBetweenVisuals which should be used to control how many ticks there are between visual information. More...

class  StartCommand
 Class used to represent the server command (team_names). More...

class  TackleCommand
 Class used to represent the server command (tackle Direction). More...

class  TeamNamesCommand
 Class used to represent the server command (team_names). More...

class  TrainerChangeModeCommand
 Class used to represent the trainer command (change_mode PLAY_MODE). More...

class  TrainerCheckBallCommand
 Class used to represent the trainer command (check_ball). More...

class  TrainerEarCommand
 Class used to represent the ear command defined in RoboSoc. More...

class  TrainerGetTeamnamesCommand
 Class used to represent the trainer command (team_name). More...

class  TrainerInitCommand
 Class used to represent the trainer command (init (version V)). More...

class  TrainerMoveObjectCommand
 Class used to represent the trainer command (move OBJECT X Y [VDIR [VEL_X VEL_Y]]). More...

class  TrainerRecoverCommand
 Class used to represent the trainer command (recover). More...

class  TrainerStartCommand
 Class used to represent the trainer command (start). More...

class  TrainerSubstitutionCommand
 Class used to represent the command for a trainer to substitute a player. More...

class  TurnCommand
 Class used to represent the server command (turn Angle). More...

class  TurnNeckCommand
 Class used to represent the server command (turn_neck Angle). More...

class  WorldFacts
 This class contains information that doesn't change about the world. More...

struct  OptionType
 Internal type used to parse the parameter options. More...

class  AgentView
 This view is used to keep track of the agent, its position, speed and other properties. More...

class  BallView
 This view is used to keep track of the ball. More...

class  CoachInformationStrategy
 Updates the world model when a coach message is recived. More...

class  CoachMessageStrategy
 Updates the world model when a coach message is recived. More...

class  CommandStrategy
 Updates the world model when the agent has executed a command. More...

class  FrameworkAgent
 This is a class that can be used to create the basic system and framework for an agent so the user do not have to create and connect all the units herself. More...

class  FrameworkDecision
 This is a decision maker which also supports hearing messages from teammates using the CommLang developed at CMU. More...

class  FrameworkSensorInterface
 This class is a implementation of the abstract SensorInterface class. More...

class  GameView
 This view is used to keep track of the current game. More...

class  HearStrategy
 Updates the world model when new information is heard. More...

class  InitStrategy
 Updates the world model when a init message is recived. More...

class  NewCycleStrategy
 Updates the world model when a new cycle is issued. More...

class  PlayerView
 This view is used to keep track of the players, their position, speed and other properties. More...

class  Predicate
 The abstract base class for all predicates in the RoboSoc system. More...

class  PredicateWithArguments
 This class is the abstract base class for all predicates that uses arguments. More...

class  PredicateWithPosition
 This class is the abstract base class for all predicates that uses a position as argument. More...

class  PredicateWithVector
 This class is the abstract base class for all predicates that uses a vector as argument. More...

class  RSSayMsgFactory
 The RoboSoc SayMsgFactory which returns message handlers that call event handlres on a decision object. More...

class  MyOurPos
 OurPos member variables: float X - our position X value float Y - our position Y value. More...

class  MyBallPos
 BallPos member variables: float X - ball position X value float Y - ball position Y value unsigned short cycleno - number of cycles since saw ball. More...

class  MyBallVel
 BallVel member variables: float dX - ball velocity X value float dY - ball velocity Y value unsigned short cycleno - number of cycles since saw ball. More...

class  MyWeHaveBall
 WeHaveBall member variables: unsigned short playernum - number of player who has ball. More...

class  MyOppHasBall
 OppHasBall member variables: unsigned short playernum - number of player who has ball. More...

class  MyPassToPlayer
 PassToPlayer member variables: unsigned short playernum - number of player who has ball. More...

class  MyPassToCoord
 PassToCoord member variables: float X - X coordinate of position we're passing to. More...

class  MyWantPass
 WantPass member variables: none. More...

class  MyOppPos
 OppPos member variables: float X - opponent position X value float Y - opponent position Y value unsigned short cycleno - number of cycles since saw player unsigned short playernum - # of player at pos X,Y. More...

class  MyTeammatePos
 TeammatePos member variables: float X - teammate position X value float Y - teammate position Y value unsigned short cycleno - number of cycles since saw player unsigned short playernum - # of player at pos X,Y. More...

class  SeeStrategy
 Updates the world model when new visual information is recived. More...

class  SenseStrategy
 Updates the world model when new sensor information is recived. More...

class  Skill
 This class is the abstract base class for all skills in the RoboSoc system. More...

class  SkillWithArguments
 This abstract class represent skill that uses arguments. More...

class  SkillWithCommand
 This abstract class represent skill that uses a position and a command as arguments. More...

class  SkillWithDirection
 This abstract class represent skill that uses a direction as an argument. More...

class  SkillWithDirectionAndCommand
 This abstract class represent skill that uses a direction and a command as arguments. More...

class  SkillWithPosition
 This abstract class represent skill that uses a position as an argument. More...

class  SkillWithPositionAndCommand
 This abstract class represent skill that uses a position and a command as arguments. More...

class  SkillWithSpeed
 This abstract class represent skill that uses a speed as an argument. More...

class  SkillWithVector
 This abstract class represent skill that uses a vector as an argument. More...

class  Strategy
 This class is the abstract base class for all strategies. More...

class  TrainerView
 This view is used by a trainer to get information about the game. More...

class  View
 This class is the abstract base class for all views in the RoboSoc system. More...

class  ViewData
 Used to represent one entry in the ViewManager, it contains one view and some information about it like how many references to it exist in the system. More...

class  ViewManager
 This is the view manager in the RoboSoc system. More...

class  WorldModel
 This class contains the agens model of the world. More...

class  WorldModelInterface
 This class contains the history of the agent world model. More...

class  WorldObservation
 Stores the information from a new observation made by the agent. More...

class  BNView
 A stub class for views that can be used as a template for creating new views. More...

class  KickBallView
 A stub class for views that can be used as a template for creating new views. More...

class  OffsideTrapView
 This view is intended be used to spot situations where an offside trap is suitable. More...

class  OffsideView
 This view vill try to find offside lines. More...

struct  EvaluatedPlayer
class  PassView
 This view is used to keep track of the ball. More...

class  AccelerateBallToVelocity
 This skill accelerates the ball to the specified vector If the agent cannot accelerate the ball to the specified velocity, it tries to accelerate it as much as possible in the correct direction. More...

class  AlignNeckToBody
 Aligns the agents head with the agents body Turns the agents neck so that the view is aligned with the agents body. More...

class  CatchBall
 The skill will try to catch the ball. More...

class  DashToPoint
 This skill enables an agent to dash to a given point The agent can only dash straight ahead, so if the agent isn't pointed towards the point, it will try to get as close as possible. More...

class  FreezeBall
 This skill enables an agent to freeze a moving ball. More...

class  KickBallCloseToBody
 This skill enables an agent to kick the ball close to his body. More...

class  SearchBall
 This skill enables an agent to search for the ball. More...

class  SkillTestDecision
 A decision maker which tests skills. More...

class  TurnBackToPoint
 This skill enables an agent to turn his back towards a given position. More...

class  TurnBodyToAbsoluteDirection
 Turns the agents body so that it faces the defined absolute direction. More...

class  TurnBodyToBall
 Turns the agents body so that it faces the defined position. More...

class  TurnBodyToPoint
 Turns the agents body so that it faces the defined position. More...

class  TurnNeckToAbsoluteDirection
class  TurnNeckToBall
class  TurnNeckToPoint
class  AmIClosestToBall
 True if the agent believes it is closest to the ball. More...

class  AmIFirstToBall
 Tests if the agent will be the first player to reach the ball. More...

class  IsBallKnown
 Is the ball position known? This predicate check if the ball position is known. More...

class  IsCatchAllowed
 True if the agent is allowed to catch the ball with his hands. More...

class  PassKick
 This predicate tells you when to shoot or to pass. More...

class  BasicCoachInformationStrategy
class  BasicCoachMessageStrategy
class  BasicCommandStrategy
class  BasicHearStrategy
class  BasicInitStrategy
class  BasicNewCycleStrategy
class  BasicSeeStrategy
class  BasicSenseStrategy
class  FieldStrategy
class  NewSeeStrategy
class  PersistentSeeStrategy
class  StrategyIO

Functions callable from the << operator.

Functions that should be callable from the << operator.

LogStream_SetCurrentArea (LogStream &ls, const LogAreaName &area)
LogStream_SetTemporaryArea (LogStream &ls, const LogAreaName &area)
LogStream_StopLogFileArea (LogStream &ls, const LogAreaName &area)
LogStream_StartLogFileArea (LogStream &ls, const LogAreaName &area)
LogStream_StopLogScreenArea (LogStream &ls, const LogAreaName &area)
LogStream_StartLogScreenArea (LogStream &ls, const LogAreaName &area)
LogStreamresetTemporaryArea (LogStream &ls)
LogStreamManip setCurrentArea (const LogAreaName &area)
LogStreamManip setTemporaryArea (const LogAreaName &area)
LogStreamManip stopLogFileArea (const LogAreaName &area)
LogStreamManip startLogFileArea (const LogAreaName &area)
LogStreamManip stopLogScreenArea (const LogAreaName &area)
LogStreamManip startLogScreenArea (const LogAreaName &area)

dequantize help functions

Float64 invQMin (const Float64 def_value, const Float64 qstep)
Float64 invQMax (const Float64 def_value, const Float64 qstep)
Float64 distanceMin (const Float64 def_value, const Float64 qstep)
Float64 distanceMax (const Float64 def_value, const Float64 qstep)
AngleDeg invQMin (const AngleDeg def_value, const Float64 qstep)
AngleDeg invQMax (const AngleDeg def_value, const Float64 qstep)
AngleDeg distanceMin (const AngleDeg def_value, const Float64 qstep)
AngleDeg distanceMax (const AngleDeg def_value, const Float64 qstep)

String Utilities

A collection of functions to convert from objects to a string describing the object.

std::string toString (const ViewWidth view_w)
 Function used to convert an object to a string, mainly using a strstream and the operator<< defined on the object.

std::string toString (const ViewQuality view_q)
std::string toString (const PlayMode play_mode)
template<typename T> std::string toString (const T &obj)

Symbolic constants for log area names.

The reason for doing it like this and not with an enumeration is that the user should be able to add/delete area names during the running of the program.

const LogAreaName LA_TOP = 0
const LogAreaName LA_ROBOSOC = 1
const LogAreaName LA_FATAL = 2
const LogAreaName LA_ERROR = 3
const LogAreaName LA_WARNING = 4
const LogAreaName LA_DEBUG = 5
const LogAreaName LA_EXCEPTION = 6
const LogAreaName LA_ASSERT = 7
const LogAreaName LA_INFO = 8
const LogAreaName LA_LIBRARY = 10
const LogAreaName LA_BASIC_SYSTEM = 20
const LogAreaName LA_ACTUATORS = 21
const LogAreaName LA_CONTROLLER = 22
const LogAreaName LA_DECISION = 23
const LogAreaName LA_SENSORS = 24
const LogAreaName LA_SERVER_INTERFACE = 25
const LogAreaName LA_ACTUATOR_INTERFACE = 26
const LogAreaName LA_CONTROL_INTERFACE = 27
const LogAreaName LA_SENSOR_INTERFACE = 28
const LogAreaName LA_AGENT = 29
const LogAreaName LA_BASIC_AGENT = 30
const LogAreaName LA_SENSOR_DATA = 31
const LogAreaName LA_SERVER_COMMANDS = 32
const LogAreaName LA_TIME = 33
const LogAreaName LA_FRAMEWORK = 35
const LogAreaName LA_VIEW_MANAGER = 36
const LogAreaName LA_FRAMEWORK_AGENT = 37
const LogAreaName LA_VIEW = 40
const LogAreaName LA_PARAMETER_VIEW = 41
const LogAreaName LA_COMMAND_VIEW = 42
const LogAreaName LA_MARKER_VIEW = 43
const LogAreaName LA_AGENT_VIEW = 44
const LogAreaName LA_BALL_VIEW = 45
const LogAreaName LA_PLAYER_VIEW = 46
const LogAreaName LA_CONTROL_VIEW = 47
const LogAreaName LA_COACH = 48
const LogAreaName LA_WORLDMODEL = 49
const LogAreaName LA_STRATEGY = 50
const LogAreaName LA_SKILL = 70
const LogAreaName LA_RECEIVE_PASS = 71
const LogAreaName LA_BLOCK_PASS = 72
const LogAreaName LA_CUT_OFF_PASS_ANGLE = 73
const LogAreaName LA_MAKE_PASSABLE = 74
const LogAreaName LA_MARK_PLAYER = 75
const LogAreaName LA_MOVE_ALONG = 76
const LogAreaName LA_PULL_OFFSIDE_TRAP = 77
const LogAreaName LA_RUSH = 78
const LogAreaName LA_ZONE_DEFENCE = 79
const LogAreaName LA_MAN_TO_MAN_DEFENCE = 80
const LogAreaName LA_FACE_DIR = 81
const LogAreaName LA_MOVE_TO_XY = 82
const LogAreaName LA_MOVE_TO_XY_WITH_BALL = 83
const LogAreaName LA_TURN_TO_DIR = 84
const LogAreaName LA_DASH_TO_SPEED = 85
const LogAreaName LA_KICK_BALL_IN_DIR = 86
const LogAreaName LA_TURN_TO_DIR_WHILE_FACING_DIR = 87
const LogAreaName LA_DASH_TO_SPEED_VECTOR = 88
const LogAreaName LA_KICK_BALL_TO_XY = 89
const LogAreaName LA_KICK_BALL_TO_SPEED_VECTOR = 90
const LogAreaName LA_MOVE_TO_XY_AVOIDING_OBSTACLES = 91
const LogAreaName LA_CATCH_BALL = 92
const LogAreaName LA_CLEAR_BALL = 93
const LogAreaName LA_DRIBBLE = 94
const LogAreaName LA_INTERCEPT_BALL = 95
const LogAreaName LA_SCORE = 96
const LogAreaName LA_PASS = 97
const LogAreaName LA_AVOID_OFFSIDE = 98
const LogAreaName LA_CUT_OFF_GOAL_ANGLE = 99
const LogAreaName LA_FIND_BALL = 100
const LogAreaName LA_MADSOC = 101
const LogAreaName LA_PREDICATE = 150

Typedefs

typedef UInt16 UInt
 A type for representing the standard unsigned integer.

typedef Int32 Int
 A type for representing the standard signed integer.

typedef Float64 Float
 A type for representing the standard floating point number.

typedef AngleDegrees< FloatAngleDeg
 A type for representing the standard angles in degrees.

typedef AngleRadians< FloatAngleRad
 A type for representing the standard angles in radians.

typedef CoordPoint< FloatPoint
 A type for representing standard points.

typedef CoordVector< FloatVector
 A type for representing standard vectors.

typedef CoordCircle< FloatCircle
 A type for representing standard circles.

typedef CoordRectangle< FloatRectangle
 A type for representing standard circles.

typedef ObjectCollection<
Int
IntCollection
 Type for representing a collection of Int.

typedef ObjectCollection<
Float
FloatCollection
 Type for representing a collection of Float.

typedef ObjectCollection<
UInt
UIntCollection
 Type for representing a collection of UInt.

typedef ObjectCollection<
Vector
VectorCollection
 Type for representing a collection of Vector.

typedef ObjectCollection<
Point
PointCollection
 Type for representing a collection of Point.

typedef ObjectCollection<
AngleDeg
AngleDegCollection
 Type for representing a collection of AngleDeg.

typedef WithError< IntIntError
typedef WithError< UIntUIntError
typedef WithError< FloatFloatError
typedef AngleDegreesError<
Float
AngleDegError
typedef WithUE< IntIntUE
typedef WithUE< UIntUIntUE
typedef WithUE< FloatFloatUE
typedef AngleDegreesUE< FloatAngleDegUE
typedef CoordPointUE< FloatPointUE
typedef CoordVectorUE< FloatVectorUE
typedef WithUnknown< IntIntUnknown
typedef WithUnknown< UIntUIntUnknown
typedef WithUnknown< FloatFloatUnknown
typedef WithUnknown< bool > BoolUnknown
typedef AngleDegreesUnknown<
Float
AngleDegUnknown
typedef CoordVectorUnknown<
Float
VectorUnknown
typedef CoordPointUnknown<
Float
PointUnknown
typedef ObjectCollection<
IntUnknown > 
IntUnknownCollection
typedef ObjectCollection<
FloatUnknown > 
FloatUnknownCollection
typedef ObjectCollection<
UIntUnknown > 
UIntUnknownCollection
typedef ObjectCollection<
VectorUnknown > 
VectorUnknownCollection
typedef ObjectCollection<
PointUnknown > 
PointUnknownCollection
typedef ObjectCollection<
AngleDegUnknown > 
AngleDegUnknownCollection
typedef Int32 LogAreaName
 A type used to identify the different log areas.

typedef unsigned short UInt16
 A type for representing unsigned 16-bit integers.

typedef unsigned int UInt32
 A type for representing unsigned 32-bit integers.

typedef unsigned long long UInt64
 A type for representing unsigned 64-bit integers.

typedef short Int16
 A type for representing signed 16-bit integers.

typedef int Int32
 A type for representing signed 32-bit integers.

typedef long long Int64
 A type for representing signed 64-bit integers.

typedef float Float32
 A type for representing 32-bit floating pointer numbers.

typedef double Float64
 A type for representing 64-bit floating pointer numbers.

typedef WithUnknown< UInt16UInt16U
typedef WithUnknown< Int32Int32U
typedef WithUnknown< Float32Float32U
typedef WithUnknown< Float64Float64U
typedef std::vector< PointPoints
typedef std::vector< AngleDegAngles
typedef std::vector< SectorSectors
typedef RETSIGTYPE Sigfunc (int)
 Used to represent signal handling functions.

typedef UInt16 ViewId
 Represent the identity of a view, must be unique.

typedef std::vector< EvaluatedPlayer > SortedVector
typedef std::vector< PlayerObjectPlayerVector
typedef std::vector< FieldStrategy > StrategyVector

Enumerations

enum  CommandType {
  CMD_Unknown, CMD_Bye, CMD_Say, CMD_Init,
  CMD_Catch, CMD_ChangeView, CMD_Dash, CMD_Kick,
  CMD_Move, CMD_SenseBody, CMD_Turn, CMD_TurnNeck,
  CMD_AttentionTo, CMD_PointTo, CMD_Tackle, CMD_ClangVersion,
  CMD_Trainer, CMD_TrainerInit, CMD_TrainerSubstitution, CMD_ChangeMode,
  CMD_MoveObject, CMD_CheckBall, CMD_Start, CMD_Recover,
  CMD_Ear, CMD_Coach, CMD_CoachInit, CMD_CoachSubstitution,
  CMD_Look, CMD_Eye, CMD_TeamNames, CMD_TeamGraphics,
  CMD_SetCyclesSinceIOBeforeShutdown, CMD_SetMinTicksBeforeSendingCommand, CMD_SetMaxTicksBeforeSendingCommand, CMD_SetTicksBeforeCommandWarning,
  CMD_SetTicksBetweenCycles, CMD_SetTicksBetweenSenses, CMD_SetTicksBetweenVisuals, CMD_Generic
}
 A type for representing the different commands that can be sent. More...

enum  ViewWidth { VW_UNKNOWN, VW_NORMAL, VW_WIDE, VW_NARROW }
 A type for representing the view width of a player.

enum  ViewQuality { VQ_UNKNOWN, VQ_HIGH, VQ_LOW }
 A type for representing the view quality of a player.

enum  SideLineName {
  SL_UNKNOWN, SL_LEFT, SL_RIGHT, SL_TOP,
  SL_BOTTOM
}
 A type for representing the names of the side lines.

enum  FieldLocation {
  FL_RIGHT, FL_CENTER, FL_LEFT, FL_TOP,
  FL_BOTTOM, FL_GOAL, FL_PENALTY, FL_UNKNOWN
}
 A type for representing the locations on the field.

enum  MarkerName {
  GOAL_L, GOAL_R, FLAG_C, FLAG_CT,
  FLAG_CB, FLAG_LT, FLAG_LB, FLAG_RT,
  FLAG_RB, FLAG_PLT, FLAG_PLC, FLAG_PLB,
  FLAG_PRT, FLAG_PRC, FLAG_PRB, FLAG_GLT,
  FLAG_GLB, FLAG_GRT, FLAG_GRB, FLAG_TL50,
  FLAG_TL40, FLAG_TL30, FLAG_TL20, FLAG_TL10,
  FLAG_T0, FLAG_TR10, FLAG_TR20, FLAG_TR30,
  FLAG_TR40, FLAG_TR50, FLAG_BL50, FLAG_BL40,
  FLAG_BL30, FLAG_BL20, FLAG_BL10, FLAG_B0,
  FLAG_BR10, FLAG_BR20, FLAG_BR30, FLAG_BR40,
  FLAG_BR50, FLAG_LT30, FLAG_LT20, FLAG_LT10,
  FLAG_L0, FLAG_LB10, FLAG_LB20, FLAG_LB30,
  FLAG_RT30, FLAG_RT20, FLAG_RT10, FLAG_R0,
  FLAG_RB10, FLAG_RB20, FLAG_RB30, UNKNOWN_MARKER
}
 A type for representing the marker names.

enum  Side { S_UNKNOWN, S_NEUTRAL, S_LEFT, S_RIGHT }
 A type for representing the sides of the soccer field.

enum  Team { T_UNKNOWN, T_OUR_TEAM, T_THEIR_TEAM }
 A type for representing the teams in a soccer game.

enum  PlayMode {
  PM_UNKNOWN, PM_BEFORE_KICK_OFF, PM_HALF_TIME, PM_TIME_OVER,
  PM_EXTENDED_TIME, PM_PLAY_ON, PM_DROP_BALL, PM_OUR_OFFSIDE_KICK,
  PM_THEIR_OFFSIDE_KICK, PM_OUR_KICK_OFF, PM_THEIR_KICK_OFF, PM_OUR_KICK_IN,
  PM_THEIR_KICK_IN, PM_OUR_FREE_KICK, PM_THEIR_FREE_KICK, PM_OUR_INDIRECT_FREE_KICK,
  PM_THEIR_INDIRECT_FREE_KICK, PM_OUR_CORNER_KICK, PM_THEIR_CORNER_KICK, PM_OUR_GOAL_KICK,
  PM_THEIR_GOAL_KICK, PM_OUR_GOAL, PM_THEIR_GOAL, PM_OUR_GOALIE_GOT_BALL,
  PM_THEIR_GOALIE_GOT_BALL, PM_OUR_PENALTY_KICK, PM_THEIR_PENALTY_KICK, PM_OUR_PENALTY_SETUP,
  PM_THEIR_PENALTY_SETUP, PM_OUR_PENALTY_READY, PM_THEIR_PENALTY_READY, PM_OUR_PENALTY_TAKEN,
  PM_THEIR_PENALTY_TAKEN, PM_OUR_PENALTY_MISS, PM_THEIR_PENALTY_MISS, PM_OUR_PENALTY_SCORE,
  PM_THEIR_PENALTY_SCORE, PM_OUR_PENALTY_ONFIELD, PM_THEIR_PENALTY_ONFIELD, PM_OUR_PENALTY_FOUL,
  PM_THEIR_PENALTY_FOUL, PM_OUR_PENALTY_WINNER, PM_THEIR_PENALTY_WINNER, PM_PENALTY_DRAW,
  PM_FIRST_HALF_OVER, PM_PAUSE, PM_HUMAN, PM_OUR_FOUL,
  PM_THEIR_FOUL, PM_OUR_FOUL_CHARGE, PM_THEIR_FOUL_CHARGE, PM_OUR_FOUL_PUSH,
  PM_THEIR_FOUL_PUSH, PM_OUR_FOUL_MULTIPLEATTACKER, PM_THEIR_FOUL_MULTIPLEATTACKER, PM_OUR_FOUL_BALLOUT,
  PM_THEIR_FOUL_BALLOUT, PM_OUR_FOUL_BACKPASS, PM_THEIR_FOUL_BACKPASS, PM_OUR_FOUL_FREEKICKFAULT,
  PM_THEIR_FOUL_FREEKICKFAULT, PM_OUR_FOUL_CATCHFAULT, PM_THEIR_FOUL_CATCHFAULT, PM_TIME_UP_WITHOUT_TEAM
}
 A type for representing the play modes in the soccer simulation.

enum  SocketType { SOCKET_TYPE_UNKOWN, SOCKET_TYPE_TCP, SOCKET_TYPE_UDP }
enum  SocketError {
  SOCKET_NO_ERROR, SOCKET_NO_DATA, SOCKET_NO_CONNECTION, SOCKET_ILLEGAL_ADDRESS,
  SOCKET_OPEN_FAILED, SOCKET_BIND_FAILED, SOCKET_CLOSE_FAILED, SOCKET_WRITE_FAILED,
  SOCKET_READ_FAILED, SOCKET_FD_ERROR, SOCKET_INVALID_ARGUMENT, SOCKET_IO_ERROR,
  SOCKET_NO_LINK, SOCKET_OVERFLOW, SOCKET_UNKNOWN_TYPE, SOCKET_UNKNOWN_ERROR
}
enum  ErrorType {
  ERROR_QUANTIZE, ERROR_DISTANCE, ERROR_DISTCHANGE, ERROR_NORMAL,
  ERROR_NONE
}
enum  ControllerResult { CONTROLLER_OK, CONTROLLER_ERROR }
 Represent the different results the controller can return.

enum  SensorType {
  SENSOR_AURAL_COACH, SENSOR_AURAL_PLAYER, SENSOR_AURAL_REFEREE, SENSOR_AURAL_SCORE,
  SENSOR_AURAL_SELF, SENSOR_VISUAL, SENSOR_SENSE, SENSOR_ACTUATORS,
  SENSOR_INIT, SENSOR_ERROR, SENSOR_WARNING, SENSOR_COACH_AURAL,
  SENSOR_COACH_VISUAL, SENSOR_PARAM, SENSOR_PLAYER_TYPE, SENSOR_PLAYER_PARAM,
  SENSOR_SUBSTITUTION, SENSOR_OK, SENSOR_UNKNOWN
}
 Used to represent the different types of sensor information the agent can receive.

enum  ServerError {
  SERVER_UNKNOWN_ERROR, SERVER_NOT_CONNECTED, SERVER_NO_DATA, SERVER_SOCKET_ERROR,
  SERVER_NO_ERROR, SERVER_ALREADY_CONNECTED
}
 Used to represent the different errors that the server interface can return.

enum  ViewUpdateResult { UPDATE_OK, UPDATE_ALREADY_MADE, UPDATE_MISSING_UPDATES, UPDATE_ERROR }
 Represent the result of updateing a view.


Functions

template<typename T> AngleDegrees< T > operator+ (const T &op1, const AngleDegrees< T > &op2)
template<typename T> AngleDegrees< T > operator- (const T &op1, const AngleDegrees< T > &op2)
template<typename T> AngleDegrees< T > operator * (const T &op1, const AngleDegrees< T > &op2)
template<typename T> AngleDegrees< T > operator/ (const T &op1, const AngleDegrees< T > &op2)
template<typename T> bool operator== (const T &op1, const AngleDegrees< T > &op2)
template<typename T> bool operator!= (const T &op1, const AngleDegrees< T > &op2)
template<typename T> bool operator< (const T &op1, const AngleDegrees< T > &op2)
template<typename T> bool operator<= (const T &op1, const AngleDegrees< T > &op2)
template<typename T> bool operator> (const T &op1, const AngleDegrees< T > &op2)
template<typename T> bool operator>= (const T &op1, const AngleDegrees< T > &op2)
template<typename T> std::ostream & operator<< (std::ostream &os, const AngleDegrees< T > &ang)
template<typename T> const std::string toString (const AngleDegrees< T > &ang)
template<typename T> T sin (const AngleDegrees< T > &x)
template<typename T> T cos (const AngleDegrees< T > &x)
template<typename T> T tan (const AngleDegrees< T > &x)
template<typename T> T floor (const AngleDegrees< T > &x)
template<typename T> T log (const AngleDegrees< T > &x)
template<typename T> T exp (const AngleDegrees< T > &x)
template<typename T> AngleDegrees< T > ASin (const T &x)
template<typename T> AngleDegrees< T > ACos (const T &x)
template<typename T> AngleDegrees< T > ATan (const T &x)
template<typename T> AngleDegrees< T > ATan2 (const T &x, const T &y)
template<typename T> AngleDegrees< T > rint (const AngleDegrees< T > &ang)
template<typename T> int isnan (const AngleDegrees< T > &ang)
template<typename T> AngleDegreesError< T > operator- (const T &op1, const AngleDegreesError< T > &op2)
template<typename T> AngleDegreesError< T > operator- (const WithError< T > &op1, const AngleDegreesError< T > &op2)
template<typename T> AngleDegreesError< T > operator- (const AngleDegrees< T > &op1, const AngleDegreesError< T > &op2)
template<typename T> AngleDegreesError< T > operator- (const WithError< AngleDegrees< T > > &op1, const AngleDegreesError< T > &op2)
template<typename T> AngleDegreesError< T > operator+ (const T &op1, const AngleDegreesError< T > &op2)
template<typename T> AngleDegreesError< T > operator+ (const WithError< T > &op1, const AngleDegreesError< T > &op2)
template<typename T> AngleDegreesError< T > operator+ (const AngleDegrees< T > &op1, const AngleDegreesError< T > &op2)
template<typename T> AngleDegreesError< T > operator+ (const WithError< AngleDegrees< T > > &op1, const AngleDegreesError< T > &op2)
template<typename T> AngleDegreesError< T > operator * (const T &op1, const AngleDegreesError< T > &op2)
template<typename T> AngleDegreesError< T > operator * (const WithError< T > &op1, const AngleDegreesError< T > &op2)
template<typename T> AngleDegreesError< T > operator * (const AngleDegrees< T > &op1, const AngleDegreesError< T > &op2)
template<typename T> AngleDegreesError< T > operator * (const WithError< AngleDegrees< T > > &op1, const AngleDegreesError< T > &op2)
template<typename T> AngleDegreesError< T > operator/ (const T &op1, const AngleDegreesError< T > &op2)
template<typename T> AngleDegreesError< T > operator/ (const WithError< T > &op1, const AngleDegreesError< T > &op2)
template<typename T> AngleDegreesError< T > operator/ (const AngleDegrees< T > &op1, const AngleDegreesError< T > &op2)
template<typename T> AngleDegreesError< T > operator/ (const WithError< AngleDegrees< T > > &op1, const AngleDegreesError< T > &op2)
template<typename T> bool operator== (const T &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator== (const WithError< T > &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator== (const AngleDegrees< T > &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator== (const WithError< AngleDegrees< T > > &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator!= (const T &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator!= (const WithError< T > &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator!= (const AngleDegrees< T > &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator!= (const WithError< AngleDegrees< T > > &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator< (const T &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator< (const WithError< T > &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator< (const AngleDegrees< T > &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator< (const WithError< AngleDegrees< T > > &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator<= (const T &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator<= (const WithError< T > &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator<= (const AngleDegrees< T > &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator<= (const WithError< AngleDegrees< T > > &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator> (const T &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator> (const WithError< T > &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator> (const AngleDegrees< T > &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator> (const WithError< AngleDegrees< T > > &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator>= (const T &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator>= (const WithError< T > &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator>= (const AngleDegrees< T > &op1, const AngleDegreesError< T > op2)
template<typename T> bool operator>= (const WithError< AngleDegrees< T > > &op1, const AngleDegreesError< T > op2)
template<typename T> std::ostream & operator<< (std::ostream &os, const AngleDegreesError< T > &obj)
template<typename T> const std::string toString (const AngleDegreesError< T > &obj)
template<typename T> WithError< T > sin (const AngleDegreesError< T > &x)
template<typename T> WithError< T > cos (const AngleDegreesError< T > &x)
template<typename T> WithError< T > tan (const AngleDegreesError< T > &x)
template<typename T> AngleDegrees< T > ASin (const WithError< T > &op)
template<typename T> AngleDegrees< T > ACos (const WithError< T > &op)
template<typename T> AngleDegrees< T > ATan (const WithError< T > &op)
template<typename T> AngleDegrees< T > ATan2 (const WithError< T > &op1, const WithError< T > &op2)
template<typename T> AngleDegreesUE< T > operator- (const T &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator- (const WithUnknown< T > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator- (const AngleDegrees< T > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator- (const AngleDegreesUnknown< T > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator- (const AngleDegreesError< T > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator- (const WithUE< AngleDegrees< T > > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator+ (const T &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator+ (const WithUnknown< T > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator+ (const AngleDegrees< T > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator+ (const AngleDegreesUnknown< T > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator+ (const AngleDegreesError< T > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator+ (const WithUE< AngleDegrees< T > > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator * (const T &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator * (const WithUnknown< T > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator * (const AngleDegrees< T > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator * (const AngleDegreesUnknown< T > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator * (const AngleDegreesError< T > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator * (const WithUE< AngleDegrees< T > > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator/ (const T &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator/ (const WithUnknown< T > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator/ (const AngleDegrees< T > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator/ (const AngleDegreesUnknown< T > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator/ (const AngleDegreesError< T > &op1, const AngleDegreesUE< T > &op2)
template<typename T> AngleDegreesUE< T > operator/ (const WithUE< AngleDegrees< T > > &op1, const AngleDegreesUE< T > &op2)
template<typename T> bool operator== (const T &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator== (const WithUnknown< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator== (const AngleDegrees< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator== (const AngleDegreesUnknown< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator== (const AngleDegreesError< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator== (const WithUE< AngleDegrees< T > > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator!= (const T &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator!= (const WithUnknown< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator!= (const AngleDegrees< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator!= (const AngleDegreesUnknown< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator!= (const AngleDegreesError< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator!= (const WithUE< AngleDegrees< T > > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator< (const T &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator< (const WithUnknown< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator< (const AngleDegrees< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator< (const AngleDegreesUnknown< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator< (const AngleDegreesError< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator< (const WithUE< AngleDegrees< T > > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator<= (const T &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator<= (const WithUnknown< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator<= (const AngleDegrees< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator<= (const AngleDegreesUnknown< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator<= (const AngleDegreesError< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator<= (const WithError< AngleDegrees< T > > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator> (const T &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator> (const WithError< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator> (const AngleDegrees< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator> (const AngleDegreesUnknown< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator> (const AngleDegreesError< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator> (const WithUE< AngleDegrees< T > > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator>= (const T &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator>= (const WithUnknown< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator>= (const AngleDegrees< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator>= (const AngleDegreesUnknown< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator>= (const AngleDegreesError< T > &op1, const AngleDegreesUE< T > op2)
template<typename T> bool operator>= (const WithUE< AngleDegrees< T > > &op1, const AngleDegreesUE< T > op2)
template<typename T> std::ostream & operator<< (std::ostream &os, const AngleDegreesUE< T > &ang)
template<typename T> const std::string toString (const AngleDegreesUE< T > &ang)
template<typename T> WithUE< T > sin (const AngleDegreesUE< T > &x)
template<typename T> WithUE< T > cos (const AngleDegreesUE< T > &x)
template<typename T> WithUE< T > tan (const AngleDegreesUE< T > &x)
template<typename T> AngleDegreesUnknown< T > ASin (const WithUE< T > &op)
template<typename T> AngleDegreesUnknown< T > ACos (const WithUE< T > &op)
template<typename T> AngleDegreesUnknown< T > ATan (const WithUE< T > &op)
template<typename T> AngleDegreesUnknown< T > ATan2 (const WithUE< T > &op1, const WithUE< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator- (const T &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator- (const WithUnknown< T > &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator- (const AngleDegrees< T > &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator- (const AngleRadians< T > &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator- (const WithUnknown< AngleDegrees< T > > &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator+ (const T &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator+ (const WithUnknown< T > &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator+ (const AngleDegrees< T > &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator+ (const AngleRadians< T > &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator+ (const WithUnknown< AngleDegrees< T > > &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator * (const T &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator * (const WithUnknown< T > &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator * (const AngleDegrees< T > &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator * (const AngleRadians< T > &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator * (const WithUnknown< AngleDegrees< T > > &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator/ (const T &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator/ (const WithUnknown< T > &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator/ (const AngleDegrees< T > &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator/ (const AngleRadians< T > &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> AngleDegreesUnknown< T > operator/ (const WithUnknown< AngleDegrees< T > > &op1, const AngleDegreesUnknown< T > &op2)
template<typename T> bool operator== (const T &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator== (const WithUnknown< T > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator== (const AngleDegrees< T > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator== (const AngleRadians< T > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator== (const WithUnknown< AngleDegrees< T > > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator!= (const T &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator!= (const WithUnknown< T > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator!= (const AngleDegrees< T > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator!= (const AngleRadians< T > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator!= (const WithUnknown< AngleDegrees< T > > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator< (const T &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator< (const WithUnknown< T > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator< (const AngleDegrees< T > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator< (const AngleRadians< T > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator< (const WithUnknown< AngleDegrees< T > > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator<= (const T &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator<= (const WithUnknown< T > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator<= (const AngleDegrees< T > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator<= (const AngleRadians< T > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator<= (const WithUnknown< AngleDegrees< T > > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator> (const AngleDegreesUnknown< T > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator> (const T &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator> (const WithUnknown< T > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator> (const AngleDegrees< T > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator> (const AngleRadians< T > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> bool operator>= (const WithUnknown< AngleDegrees< T > > &op1, const AngleDegreesUnknown< T > op2)
template<typename T> std::ostream & operator<< (std::ostream &os, const AngleDegreesUnknown< T > &ang)
template<typename T> const std::string toString (const AngleDegreesUnknown< T > &ang)
template<typename T> WithUnknown< T > sin (const AngleDegreesUnknown< T > &x)
template<typename T> WithUnknown< T > cos (const AngleDegreesUnknown< T > &x)
template<typename T> WithUnknown< T > tan (const AngleDegreesUnknown< T > &x)
template<typename T> AngleDegreesUnknown< T > ASin (const WithUnknown< T > &op)
template<typename T> AngleDegreesUnknown< T > ACos (const WithUnknown< T > &op)
template<typename T> AngleDegreesUnknown< T > ATan (const WithUnknown< T > &op)
template<typename T> AngleDegreesUnknown< T > ATan2 (const WithUnknown< T > &op1, const WithUnknown< T > &op2)
template<typename T> AngleRadians< T > operator+ (const T &op1, const AngleRadians< T > &op2)
template<typename T> AngleRadians< T > operator- (const T &op1, const AngleRadians< T > &op2)
template<typename T> AngleRadians< T > operator * (const T &op1, const AngleRadians< T > &op2)
template<typename T> AngleRadians< T > operator/ (const T &op1, const AngleRadians< T > &op2)
template<typename T> bool operator== (const T &op1, const AngleRadians< T > &op2)
template<typename T> bool operator!= (const T &op1, const AngleRadians< T > &op2)
template<typename T> bool operator< (const T &op1, const AngleRadians< T > &op2)
template<typename T> bool operator<= (const T &op1, const AngleRadians< T > &op2)
template<typename T> bool operator> (const T &op1, const AngleRadians< T > &op2)
template<typename T> bool operator>= (const T &op1, const AngleRadians< T > &op2)
template<typename T> std::ostream & operator<< (std::ostream &os, const AngleRadians< T > &ang)
template<typename T> const std::string toString (const AngleRadians< T > &ang)
template<typename T> T sin (const AngleRadians< T > &x)
template<typename T> T cos (const AngleRadians< T > &x)
template<typename T> T tan (const AngleRadians< T > &x)
template<typename T> CoordCircle< T > operator * (const T &a, const CoordCircle< T > &pt)
template<typename T> std::ostream & operator<< (std::ostream &os, const CoordCircle< T > &pt)
template<typename T> const std::string ToString (const CoordCircle< T > &pt)
template<typename T> CoordPoint< T > operator * (const T &a, const CoordPoint< T > &pt)
template<typename T> const std::string toString (const CoordPoint< T > &pt)
template<typename T> std::ostream & operator<< (std::ostream &os, const CoordPoint< T > &pt)
template<typename T> CoordPoint< T > middlePoint (const CoordPoint< T > &pt1, const CoordPoint< T > &pt2)
template<typename T> CoordPointUE< T > operator- (const CoordPoint< T > &pt1, const CoordPointUE< T > &pt2)
template<typename T> CoordPointUE< T > operator- (const CoordPointUnknown< T > &pt1, const CoordPointUE< T > &pt2)
template<typename T> CoordPointUE< T > operator+ (const CoordPoint< T > &pt1, const CoordPointUE< T > &pt2)
template<typename T> CoordPointUE< T > operator+ (const CoordPointUnknown< T > &pt1, const CoordPointUE< T > &pt2)
template<typename T> CoordPointUE< T > operator * (const T &a, const CoordPointUE< T > &pt)
template<typename T> CoordPointUE< T > operator * (const WithUE< T > &a, const CoordPointUE< T > &pt)
template<typename T> CoordPointUE< T > operator * (const CoordPoint< T > &pt1, const CoordPointUE< T > &pt2)
template<typename T> CoordPointUE< T > operator * (const CoordPointUnknown< T > &pt1, const CoordPointUE< T > &pt2)
template<typename T> CoordPointUE< T > operator/ (const CoordPoint< T > &pt1, const CoordPointUE< T > &pt2)
template<typename T> CoordPointUE< T > operator/ (const CoordPointUnknown< T > &pt1, const CoordPointUE< T > &pt2)
template<typename T> bool operator== (const CoordPoint< T > &pt1, const CoordPointUE< T > &pt2)
template<typename T> bool operator== (const CoordPointUnknown< T > &pt1, const CoordPointUE< T > &pt2)
template<typename T> bool operator!= (const CoordPoint< T > &pt1, const CoordPointUE< T > &pt2)
template<typename T> bool operator!= (const CoordPointUnknown< T > &pt1, const CoordPointUE< T > &pt2)
template<typename T> const std::string toString (const CoordPointUE< T > &pt)
template<typename T> std::ostream & operator<< (std::ostream &os, const CoordPointUE< T > &pt)
template<typename T> CoordPointUE< T > middlePoint (const CoordPointUE< T > &pt1, const CoordPointUE< T > &pt2)
template<typename T> CoordPointUnknown< T > operator- (const CoordPoint< T > &pt1, const CoordPointUnknown< T > &pt2)
template<typename T> CoordPointUnknown< T > operator+ (const CoordPoint< T > &pt1, const CoordPointUnknown< T > &pt2)
template<typename T> CoordPointUnknown< T > operator * (const T &a, const CoordPointUnknown< T > &pt)
template<typename T> CoordPointUnknown< T > operator * (const WithUnknown< T > &a, const CoordPointUnknown< T > &pt)
template<typename T> CoordPointUnknown< T > operator * (const CoordPoint< T > &pt1, const CoordPointUnknown< T > &pt2)
template<typename T> CoordPointUnknown< T > operator/ (const CoordPoint< T > &pt1, const CoordPointUnknown< T > &pt2)
template<typename T> bool operator== (const CoordPoint< T > &pt1, const CoordPointUnknown< T > &pt2)
template<typename T> bool operator!= (const CoordPoint< T > &pt1, const CoordPointUnknown< T > &pt2)
template<typename T> const std::string toString (const CoordPointUnknown< T > &pt)
template<typename T> std::ostream & operator<< (std::ostream &os, const CoordPointUnknown< T > &pt)
template<typename T> CoordPointUnknown< T > middlePoint (const CoordPointUnknown< T > &pt1, const CoordPointUnknown< T > &pt2)
template<typename T> CoordRectangle< T > operator * (const T &a, const CoordRectangle< T > &pt)
template<typename T> std::ostream & operator<< (std::ostream &os, const CoordRectangle< T > &pt)
template<typename T> const std::string ToString (const CoordRectangle< T > &pt)
template<typename T> CoordVector< T > operator * (const T &a, const CoordVector< T > &vec)
template<typename T> const std::string ToString (const CoordVector< T > &v)
template<typename T> std::ostream & operator<< (std::ostream &os, const CoordVector< T > &v)
template<typename T> CoordVectorUE< T > operator- (const CoordVector< T > &v1, const CoordVectorUE< T > &v2)
template<typename T> CoordVectorUE< T > operator- (const CoordVectorUnknown< T > &v1, const CoordVectorUE< T > &v2)
template<typename T> CoordPointUE< T > operator- (const CoordPoint< T > &pt, const CoordVectorUE< T > &vec)
template<typename T> CoordPointUE< T > operator- (const CoordPointUnknown< T > &pt, const CoordVectorUE< T > &vec)
template<typename T> CoordVectorUE< T > operator+ (const CoordVector< T > &v1, const CoordVectorUE< T > &v2)
template<typename T> CoordVectorUE< T > operator+ (const CoordVectorUnknown< T > &v1, const CoordVectorUE< T > &v2)
template<typename T> CoordPointUE< T > operator+ (const CoordPoint< T > &pt, const CoordVectorUE< T > &vec)
template<typename T> CoordPointUE< T > operator+ (const CoordPointUnknown< T > &pt, const CoordVectorUE< T > &vec)
template<typename T> CoordVectorUE< T > operator * (const T &a, const CoordVectorUE< T > &vec)
template<typename T> CoordVectorUE< T > operator * (const WithUnknown< T > &a, const CoordVectorUE< T > &vec)
template<typename T> CoordVectorUE< T > operator * (const WithUE< T > &a, const CoordVectorUE< T > &vec)
template<typename T> bool operator== (const CoordVector< T > &v1, const CoordVectorUE< T > &v2)
template<typename T> bool operator== (const CoordVectorUnknown< T > &v1, const CoordVectorUE< T > &v2)
template<typename T> bool operator!= (const CoordVector< T > &v1, const CoordVectorUE< T > &v2)
template<typename T> bool operator!= (const CoordVectorUnknown< T > &v1, const CoordVectorUE< T > &v2)
template<typename T> bool operator< (const CoordVector< T > &v1, const CoordVectorUE< T > &v2)
template<typename T> bool operator< (const CoordVectorUnknown< T > &v1, const CoordVectorUE< T > &v2)
template<typename T> bool operator<= (const CoordVector< T > &v1, const CoordVectorUE< T > &v2)
template<typename T> bool operator<= (const CoordVectorUnknown< T > &v1, const CoordVectorUE< T > &v2)
template<typename T> bool operator> (const CoordVector< T > &v1, const CoordVectorUE< T > &v2)
template<typename T> bool operator> (const CoordVectorUnknown< T > &v1, const CoordVectorUE< T > &v2)
template<typename T> bool operator>= (const CoordVector< T > &v1, const CoordVectorUE< T > &v2)
template<typename T> bool operator>= (const CoordVectorUnknown< T > &v1, const CoordVectorUE< T > &v2)
template<typename T> const std::string toString (const CoordVectorUE< T > &v)
template<typename T> std::ostream & operator<< (std::ostream &os, const CoordVectorUE< T > &v)
template<typename T> CoordVectorUnknown< T > operator- (const CoordVector< T > &v1, const CoordVectorUnknown< T > &v2)
template<typename T> CoordPointUnknown< T > operator- (const CoordPoint< T > &pt, const CoordVectorUnknown< T > &vec)
template<typename T> CoordVectorUnknown< T > operator+ (const CoordVector< T > &v1, const CoordVectorUnknown< T > &v2)
template<typename T> CoordPointUnknown< T > operator+ (const CoordPoint< T > &pt, const CoordVectorUnknown< T > &vec)
template<typename T> CoordVectorUnknown< T > operator * (const T &a, const CoordVectorUnknown< T > &vec)
template<typename T> CoordVectorUnknown< T > operator * (const WithUnknown< T > &a, const CoordVectorUnknown< T > &vec)
template<typename T> bool operator== (const CoordVector< T > &v1, const CoordVectorUnknown< T > &v2)
template<typename T> bool operator!= (const CoordVector< T > &v1, const CoordVectorUnknown< T > &v2)
template<typename T> bool operator< (const CoordVector< T > &v1, const CoordVectorUnknown< T > &v2)
template<typename T> bool operator<= (const CoordVector< T > &v1, const CoordVectorUnknown< T > &v2)
template<typename T> bool operator> (const CoordVector< T > &v1, const CoordVectorUnknown< T > &v2)
template<typename T> bool operator>= (const CoordVector< T > &v1, const CoordVectorUnknown< T > &v2)
template<typename T> std::string toSTring (const CoordVectorUnknown< T > &v)
template<typename T> std::ostream & operator<< (std::ostream &os, const CoordVectorUnknown< T > &v)
std::ostream & operator<< (std::ostream &os, const FuzzyBool &f)
Int32 Power (const Int32 x, const UInt32 y)
Float64 power (const Float64 x, const UInt32 y)
 Return x to the power of y.

Float64 sin (const Float64 op)
 Calculates the sin of op.

Float64 cos (const Float64 op)
 Calculates the cos of op.

Float64 tan (const Float64 op)
 Calculates the tan of op.

Float64 deg2Rad (const Float64 deg)
 Converts an angle in degrees to an angle in radians.

Float64 rad2Deg (const Float64 rad)
 Converts an angle in radians to an angle in degrees.

template<typename T> T minMax (const T &min_val, const T &val, const T &max_val)
template<typename T> T sqr (const T &v)
 Template for calculating the square of v.

template<typename T> T abs (const T &v)
 Template for calculating the absolute value of v.

template<typename T> Int32 sign (const T &v)
 Template for returning the sign of v.

template<typename T> T log (const T &v)
template<typename T> T exp (const T &v)
double rint (const double &v)
int isnan (const Float64 &v)
Int32 div (const Float64 d1, const Float64 d2)
 Function returning the integer part of division of two floats.

Int32 div (const Int32 i1, const Int32 i2)
 Function returning the integer part of division of two integers.

Float64 sMod (const Float64 d1, const Float64 d2)
 Function for calculating the signed modulus of two floating point numbers.

Int32 sMod (const Int32 i1, const Int32 i2)
 Function for calculating the signed modulus of two integers.

Float64 mod (const Float64 d1, const Float64 d2)
 Function for calculating the unsigned modulus of two floating point numbers.

Int32 mod (const Int32 i1, const Int32 i2)
 Function for calculating the unsigned modulus of two integers.

Float64 sqrt (const Float64 &v)
 Calculate the square root of v.

Int32 power (const Int32 x, const UInt32 y)
 Return x to the power of y.

Float64 power (const Float64 x, const Float64 y)
 Return x to the power of y.

std::ostream & operator<< (std::ostream &os, const RSException &excp)
 Overloaded ostream::operator<< to output RSExceptions.

template<typename T> bool between (const T &min_val, const T &val, const T &max_val)
Sector get_largest_sector (const Point &from, const std::vector< Point > &to, const Sector &sector)
 Return the largest sector defined as the global angles between the points in to as seen from from which are within sector.

std::vector< Sectorget_sector_wider_than (const Point &from, const std::vector< Point > &to, const Sector &sector, const AngleDeg &min_width)
 Return all sectors defined as the global angles between the points in to as seen from from which are within sectorlarger than min_width.

template<typename Type> Type from_string (const std::string &s)
 Convert from a string to a specific type.

std::ostream & operator<< (std::ostream &os, const Time &ct)
const std::string toString (const Time &obj)
std::ostream & operator<< (std::ostream &os, const TimeUnknown &obj)
const std::string toString (const TimeUnknown &obj)
template<typename T> WithError< T > operator- (const T &op1, const WithError< T > &op2)
template<typename T> WithError< T > operator+ (const T &op1, const WithError< T > &op2)
template<typename T> WithError< T > operator * (const T &op1, const WithError< T > &op2)
template<typename T> WithError< T > operator/ (const T &op1, const WithError< T > &op2)
template<typename T> bool operator== (const T &op1, const WithError< T > &op2)
template<typename T> bool operator!= (const T &op1, const WithError< T > &op2)
template<typename T> bool operator< (const T &op1, const WithError< T > &op2)
template<typename T> bool operator<= (const T &op1, const WithError< T > &op2)
template<typename T> bool operator> (const T &op1, const WithError< T > &op2)
template<typename T> bool operator>= (const T &op1, const WithError< T > &op2)
template<typename T> std::ostream & operator<< (std::ostream &os, const WithError< T > &obj)
template<typename T> const std::string toString (const WithError< T > &obj)
template<typename T> WithError< T > sqrt (const WithError< T > &op)
template<typename T> WithError< T > sqr (const WithError< T > &op)
template<typename T> WithUE< T > operator- (const T &op1, const WithUE< T > &op2)
template<typename T> WithUE< T > operator- (const WithUnknown< T > &op1, const WithUE< T > &op2)
template<typename T> WithUE< T > operator- (const WithError< T > &op1, const WithUE< T > &op2)
template<typename T> WithUE< T > operator- (const WithUnknown< WithError< T > > &op1, const WithUE< T > &op2)
template<typename T> WithUE< T > operator+ (const T &op1, const WithUE< T > &op2)
template<typename T> WithUE< T > operator+ (const WithUnknown< T > &op1, const WithUE< T > &op2)
template<typename T> WithUE< T > operator+ (const WithError< T > &op1, const WithUE< T > &op2)
template<typename T> WithUE< T > operator+ (const WithUnknown< WithError< T > > &op1, const WithUE< T > &op2)
template<typename T> WithUE< T > operator * (const T &op1, const WithUE< T > &op2)
template<typename T> WithUE< T > operator * (const WithUnknown< T > &op1, const WithUE< T > &op2)
template<typename T> WithUE< T > operator * (const WithError< T > &op1, const WithUE< T > &op2)
template<typename T> WithUE< T > operator * (const WithUnknown< WithError< T > > &op1, const WithUE< T > &op2)
template<typename T> WithUE< T > operator/ (const T &op1, const WithUE< T > &op2)
template<typename T> WithUE< T > operator/ (const WithUnknown< T > &op1, const WithUE< T > &op2)
template<typename T> WithUE< T > operator/ (const WithError< T > &op1, const WithUE< T > &op2)
template<typename T> WithUE< T > operator/ (const WithUnknown< WithError< T > > &op1, const WithUE< T > &op2)
template<typename T> bool operator== (const T &op1, const WithUE< T > op2)
template<typename T> bool operator== (const WithUnknown< T > &op1, const WithUE< T > op2)
template<typename T> bool operator== (const WithError< T > &op1, const WithUE< T > op2)
template<typename T> bool operator== (const WithUnknown< WithError< T > > &op1, const WithUE< T > op2)
template<typename T> bool operator!= (const T &op1, const WithUE< T > op2)
template<typename T> bool operator!= (const WithUnknown< T > &op1, const WithUE< T > op2)
template<typename T> bool operator!= (const WithError< T > &op1, const WithUE< T > op2)
template<typename T> bool operator!= (const WithUnknown< WithError< T > > &op1, const WithUE< T > op2)
template<typename T> bool operator< (const T &op1, const WithUE< T > op2)
template<typename T> bool operator< (const WithUnknown< T > &op1, const WithUE< T > op2)
template<typename T> bool operator< (const WithError< T > &op1, const WithUE< T > op2)
template<typename T> bool operator< (const WithUnknown< WithError< T > > &op1, const WithUE< T > op2)
template<typename T> bool operator<= (const T &op1, const WithUE< T > op2)
template<typename T> bool operator<= (const WithUnknown< T > &op1, const WithUE< T > op2)
template<typename T> bool operator<= (const WithError< T > &op1, const WithUE< T > op2)
template<typename T> bool operator<= (const WithUnknown< WithError< T > > &op1, const WithUE< T > op2)
template<typename T> bool operator> (const T &op1, const WithUE< T > op2)
template<typename T> bool operator> (const WithUnknown< T > &op1, const WithUE< T > op2)
template<typename T> bool operator> (const WithError< T > &op1, const WithUE< T > op2)
template<typename T> bool operator> (const WithUnknown< WithError< T > > &op1, const WithUE< T > op2)
template<typename T> bool operator>= (const T &op1, const WithUE< T > op2)
template<typename T> bool operator>= (const WithUnknown< T > &op1, const WithUE< T > op2)
template<typename T> bool operator>= (const WithError< T > &op1, const WithUE< T > op2)
template<typename T> bool operator>= (const WithUnknown< WithError< T > > &op1, const WithUE< T > op2)
template<typename T> std::ostream & operator<< (std::ostream &os, const WithUE< T > &obj)
template<typename T> const std::string toString (const WithUE< T > &obj)
template<typename T> WithUE< T > sqr (const WithUE< T > &op)
template<typename T> WithUE< T > sqrt (const WithUE< T > &op)
template<typename T> WithUnknown< T > operator- (const T &op1, const WithUnknown< T > &op2)
template<typename T> WithUnknown< T > operator+ (const T &op1, const WithUnknown< T > &op2)
template<typename T> WithUnknown< T > operator * (const T &op1, const WithUnknown< T > &op2)
template<typename T> WithUnknown< T > operator/ (const T &op1, const WithUnknown< T > &op2)
template<typename T> bool operator== (const T &op1, const WithUnknown< T > &op2)
template<typename T> bool operator!= (const T &op1, const WithUnknown< T > &op2)
template<typename T> bool operator< (const T &op1, const WithUnknown< T > &op2)
template<typename T> bool operator<= (const T &op1, const WithUnknown< T > &op2)
template<typename T> bool operator> (const T &op1, const WithUnknown< T > &op2)
template<typename T> bool operator>= (const T &op1, const WithUnknown< T > &op2)
template<typename T> std::ostream & operator<< (std::ostream &os, const WithUnknown< T > &v)
template<typename T> const std::string toString (const WithUnknown< T > &obj)
template<typename T> WithUnknown< T > min (const WithUnknown< T > &op1, const WithUnknown< T > &op2)
template<typename T> WithUnknown< T > max (const WithUnknown< T > &op1, const WithUnknown< T > &op2)
template<typename T> WithUnknown< T > sqr (const WithUnknown< T > &op)
template<typename T> WithUnknown< T > sqrt (const WithUnknown< T > &op)
RETSIGTYPE externSigAlarmHandler (int sig)
 Signal handler for sigalrm.

RETSIGTYPE externSigIOHandler (int sig)
 Signal handler for sigio.

bool in_penalty_area (const Point &pos, const Side &side, Float offset)
 Return true iff pos is in the penalty area on side relative offset.

bool on_field (const Point &pos, Float offset)
 Return true iff pos is on the soccer field relative offset.

bool on_side (const Point &pos, const Side &side, Float offset)
 Return true iff pos is on side of the soccer field relative offset.

std::ostream & operator<< (std::ostream &os, const LineObject &line)
std::ostream & operator<< (std::ostream &os, const MarkerObject &marker)
void init_random_number_generator (int seed)
 Initialize the random number generator with seed.

Int generate_integer_in_interval (Int min, Int max)
 Generate a random integer between min and max.

Float generate_distance_in_interval (Float min_dist, Float max_dist)
 Generate a random distance between min_dist and max_dist.

AngleDeg generate_direction_in_sector (const AngleDeg &min_angle, const AngleDeg &max_angle)
 Generate a random direction between min_angle and max_angle.

AngleDeg generate_direction_in_sector (const Sector &sector)
 Generate a random direction in sector.

Point generate_point_on_line (const Point &left, const Point &right)
 Generate a random point on the lined defined by left and right.

Point generate_point_in_area (const Point &upper_left, const Point &lower_right)
 Generate a random point in area defined by upper_left and lower_right.

Point generate_point_in_parallellogram (const Point &upper_left, const Point &upper_right, const Point &lower_left, const Point &lower_right)
 Generate a random point in the parallellogram defined by upper_left, upper_right, lower_left, lower_right.

Point generate_point_in_scoring_sector (const Side &side)
 Generate a random point in the scoring sector on side.

Point generate_point_in_defense_sector (const Side &side, const Point &pos)
 Generate a random point in the defensice sector on side when defending against a player at position pos.

Point generate_point_in_penalty_area (const Side &side)
 Generate a random point in the penalty area on side.

Point generate_point_in_pitch ()
 Generate a random point in the pitch.

Point generate_point_on_goal_line (const Side &side, const Point &pos, Float max_dist)
 Generate a random point on the goalie line on side which is at most max_dist meters in Y-direction from pos.

Vector generate_vector_in_circle_segment (const AngleDeg &min_angle, const AngleDeg &max_angle, Float min_length, Float max_length)
 Generate a random vector with an angle between min_angle and max_angle with a length between min_length and max_length.

Vector generate_kickable_ball_vector ()
 Generate a random ball vector which is kickable.

Vector generate_kickable_ball_vector (const AngleDeg &min_angle, const AngleDeg &max_angle)
 Generate a random ball vector with an angle between min_angle and max_angle where the ball is kickable.

template<class view> void getView (view *&tmp, ViewId view_id)
 Use getView to get a pointer to the view with ViewId view_id.


Variables

const Float64 PI = 3.14159265358979323846
 Constant representing Pi.

const Float64 TWO_PI = PI + PI
 Constant representing 2*Pi.

const Float64 DEG2RAD = PI / 180.0
 Constant used to convert between degrees and radians fast.

const Float64 RAD2DEG = 180.0 / PI
 Constant used to convert between radians and degrees fast.

const Float32 FLOAT32EPSILON = 0.0001
 Constant representing the epsilon of Float32.

const Float64 FLOAT64EPSILON = 0.00001
 Constant representing the epsilon of Float32.

const std::string SP_host = "localhost"
const UInt16 SP_port = 6000
const UInt32 SP_buffer_size = 2048
const UInt16 SP_simulator_step = 100
const UInt16 SP_recv_step = 10
const UInt16 SP_sense_body_step = 100
const UInt16 SP_send_step = 150
const std::string CP_team_name = "RoboSoc"
const UInt16 CP_cycles_since_io_before_shutdown = 10
const UInt16 CP_min_ticks_before_sending_command = 2
const UInt16 CP_ticks_before_command_warning = 5
const UInt16 CP_max_ticks_before_sending_command = 9
const UInt DEFAULT_HISTORY_LENGTH = 20
 Represents the default number of steps stored in the history of views with history.

const Int PREV = -1
 Symbolic constant representing the previous step in the history.

const Int NOW = 0
 Symbolic constant representing the current step in the history.

const Int NEXT = 1
 Symbolic constant representing the next step in the history.

const float Area = 10
const float threshold = 0.5
const float moveAngle = 10
const float moveDistance = 1
const ViewId PARAMETER_VIEW_ID = 1
 Symbolic name for the id of the parameter view.

const ViewId GAME_VIEW_ID = 2
 Symbolic name for the id of the game view.

const ViewId COMMAND_VIEW_ID = 3
 Symbolic name for the id of the command view.

const ViewId MARKER_VIEW_ID = 4
 Symbolic name for the id of the marker view.

const ViewId AGENT_VIEW_ID = 5
 Symbolic name for the id of the agent view.

const ViewId BALL_VIEW_ID = 6
 Symbolic name for the id of the ball view.

const ViewId PLAYER_VIEW_ID = 7
 Symbolic name for the id of the player view.

const ViewId COACH_VIEW_ID = 8
 Symbolic name for the id of the coach view.

const ViewId CONTROL_VIEW_ID = 9
 Symbolic name for the id of the control view.

const ViewId DASH_VIEW_ID = 10
 Symbolic name for the id of the dash view.

const ViewId FUTUREBALL_VIEW_ID = 11
 Symbolic name for the id of the FutureBall view.

const ViewId KICK_VIEW_ID = 12
 Symbolic name for the id of the kick view.

const ViewId ZONEDEFENCEDEFAULTPOSITION_VIEW_ID = 13
 Symbolic name for the id of the zonedefencenormalposition view.

const ViewId GOALIE_VIEW_ID = 14
 Symbolic name for the id of the Goalie view.

const ViewId TERRITORY_CONTROL_VIEW_ID = 15
 Symbolic name for the id of the TerritoryControl view.

const ViewId KICKBALL_VIEW_ID = 16
 Symbolic name for the if of the KickBall view.

const ViewId VIRTUALSHIRT_VIEW_ID = 17
 Symbolic name for the if of the VitualShirt view.

const ViewId SITUATION_VIEW_ID = 18
 Symbolic name for the if of the Situation view.

const ViewId FUZZY_BALL_VIEW_ID = 19
 Symbolic name for the if of the Fuzzy Ball view.

const ViewId PLAYERDATAIMPROVER_ID = 20
 Symbolic name for the if of the Player Data Improver.

const ViewId BALLDATAIMPROVER_ID = 21
 Symbolic name for the if of the Ball Data Improver.

const ViewId WORLD_STATE_VIEW_ID = 21
 Symbolic name for the if of the World State View.

const ViewId OFFSIDE_VIEW_ID = 22
 Symbolic name for the Offside view.

const ViewId OFFSIDETRAP_VIEW_ID = 23
 Symbolic name for the OffsideTrap view.

const ViewId PASS_VIEW_ID = 24
 Symbolic name for the Pass View.

const ViewId TRAINER_VIEW_ID = 25
 Symbolic name for the Trainer View.

const ViewId BN_VIEW_ID = 26
 Symbolic name for the BN View.

const int fieldSizeX = 105
const int fieldSizeY = 68


Detailed Description

Used for all classes, types and functions used by RoboSoc.

Typedef Documentation

typedef UInt16 RS::UInt
 

A type for representing the standard unsigned integer.

It is used when the precision of the number only defines how exact the result will be. To increase/decrease the precision the user can redefine this type.

Definition at line 99 of file library_types.h.

Referenced by RS::AgentObject::getArmExpiresIn(), RS::AgentObject::getArmMoveableIn(), RS::AgentObject::getAttentionTos(), RS::Sensors::getCurrentTime(), RS::AgentObject::getCyclesSinceCatch(), RS::AgentObject::getCyclesSinceSay(), RS::AgentView::getDashes(), RS::AgentObject::getDashes(), RS::WorldModelInterface::getIndex(), RS::AgentView::getKicks(), RS::AgentObject::getKicks(), RS::WorldFacts::getOurScore(), RS::AgentObject::getPointTos(), RS::TimeUnknown::getS(), RS::AgentView::getSays(), RS::AgentObject::getSays(), RS::TimeUnknown::getT(), RS::AgentObject::getTackleExpiresIn(), RS::AgentObject::getTackles(), RS::AgentObject::getTeammateSpeaker(), RS::WorldFacts::getTheirScore(), RS::AgentView::getTurnNecks(), RS::AgentObject::getTurnNecks(), RS::AgentView::getTurns(), and RS::AgentObject::getTurns().

typedef Int32 RS::Int
 

A type for representing the standard signed integer.

It is used when the precision of the number only defines how exact the result will be. To increase/decrease the precision the user can redefine this type.

Definition at line 105 of file library_types.h.

Referenced by generate_integer_in_interval().

typedef Float64 RS::Float
 

A type for representing the standard floating point number.

It is used when the precision of the number only defines how exact the result will be. To increase/decrease the precision the user can redefine this type.

Definition at line 111 of file library_types.h.

Referenced by generate_direction_in_sector(), generate_distance_in_interval(), generate_kickable_ball_vector(), generate_point_in_area(), RS::SearchBall::generateStep(), RS::KickBallCloseToBody::generateStep(), RS::FreezeBall::generateStep(), RS::AccelerateBallToVelocity::generateStep(), RS::AgentObject::getAngleForTurn(), RS::MarkerObject::getPosX(), RS::MarkerObject::getPosY(), RS::AgentView::getPowerForDashToAbsolutePosition(), RS::AgentObject::getPowerForDashToAbsolutePosition(), RS::AgentView::getPowerForDashToRelativePosition(), RS::AgentObject::getPowerUsed(), RS::SkillWithSpeed::getSpeed(), RS::FuzzyBool::getValue(), in_penalty_area(), RS::PassView::markedEval(), and RS::BasicCommandStrategy::updateAfterCommand().


Enumeration Type Documentation

enum RS::CommandType
 

A type for representing the different commands that can be sent.

Enumeration values:
CMD_Unknown  General commands.
CMD_Init  Field players commands.
CMD_Trainer  Trainer commands, CMD_Trainer can be used for future developments.
CMD_Coach  Coach (and trainer) command, CMD_Coach can be used for new coach commands.
CMD_TeamGraphics  Only Coach.
CMD_SetCyclesSinceIOBeforeShutdown  Other commands (internal).

Definition at line 75 of file Command.h.

Referenced by RS::Command::getType().


Function Documentation

Float64 RS::power const Float64    x,
const UInt32    y
 

Return x to the power of y.

It works but is not very efficient.

Definition at line 75 of file math_utils.cc.

References Float64, power(), and UInt32.

Referenced by RS::KickBallCloseToBody::generateStep(), RS::FreezeBall::generateStep(), RS::AccelerateBallToVelocity::generateStep(), power(), RS::AgentObject::setPowerUsed(), and RS::BasicCommandStrategy::updateAfterCommand().

Float64 RS::sin const Float64    op
 

Calculates the sin of op.

If RS_TRIG_IN_DEG is defined then op is assumed to be in degrees, otherwise in radians.

Definition at line 127 of file math_utils.cc.

References deg2Rad(), and Float64.

Referenced by RS::CoordPoint< T >::CoordPoint(), RS::PassView::markedEval(), and RS::BasicCommandStrategy::updateAfterCommand().

Float64 RS::cos const Float64    op
 

Calculates the cos of op.

If RS_TRIG_IN_DEG is defined then op is assumed to be in degrees, otherwise in radians.

Definition at line 137 of file math_utils.cc.

References deg2Rad(), and Float64.

Referenced by RS::CoordPoint< T >::CoordPoint(), and RS::BasicCommandStrategy::updateAfterCommand().

Float64 RS::tan const Float64    op
 

Calculates the tan of op.

If RS_TRIG_IN_DEG is defined then op is assumed to be in degrees, otherwise in radians.

Definition at line 147 of file math_utils.cc.

References deg2Rad(), and Float64.

template<typename T>
Int32 sign const T &    v [inline]
 

Template for returning the sign of v.

If it returns -1 then v is negative, if it returns 1 then v is positive.

Definition at line 150 of file math_utils.h.

References Int32, and sign().

Referenced by RS::SearchBall::generateStep(), RS::AgentObject::getPowerForDashToAbsolutePosition(), and sign().

Int32 power const Int32    x,
const UInt32    y
 

Return x to the power of y.

It works but is not very efficient.

Float64 RS::power const Float64    x,
const Float64    y
[inline]
 

Return x to the power of y.

It works but is not very efficient.

Definition at line 105 of file math_utils.icc.

References Float64, and power().

std::string RS::toString const ViewWidth    view_w
 

Function used to convert an object to a string, mainly using a strstream and the operator<< defined on the object.

If no operator<< exist then compile time errors will occur.

Definition at line 63 of file string_utils.cc.

Referenced by RS::TurnNeckCommand::serverString(), RS::TurnCommand::serverString(), RS::TrainerSubstitutionCommand::serverString(), RS::TrainerMoveObjectCommand::serverString(), RS::TrainerInitCommand::serverString(), RS::TrainerEarCommand::serverString(), RS::TrainerChangeModeCommand::serverString(), RS::TackleCommand::serverString(), RS::PointToCommand::serverString(), RS::MoveObjectCommand::serverString(), RS::MoveCommand::serverString(), RS::KickCommand::serverString(), RS::InitCommand::serverString(), RS::EyeCommand::serverString(), RS::EarCommand::serverString(), RS::DashCommand::serverString(), RS::CoachSubstitutionCommand::serverString(), RS::CoachInitCommand::serverString(), RS::ClangVersionCommand::serverString(), RS::ChangeViewCommand::serverString(), RS::CatchCommand::serverString(), RS::AttentionToCommand::serverString(), and RS::Sensors::updateTime().

RETSIGTYPE RS::externSigAlarmHandler int    sig
 

Signal handler for sigalrm.

It is declared as an external C function since the Unix signal handler requires this.

Definition at line 942 of file Controller.cc.

RETSIGTYPE RS::externSigIOHandler int    sig
 

Signal handler for sigio.

It is declared as an external C function since the Unix signal handler requires this.

Definition at line 947 of file Controller.cc.

Point RS::generate_point_in_scoring_sector const Side   side
 

Generate a random point in the scoring sector on side.

The scoring sector is defined as the area in the polygon FLAG_PRT, FLAG_GRT - 1m x-dir, FLAG_GRB - 1m x-dir, FLAG_PRB, for the right side of the field. The left is symmetric.

Definition at line 207 of file trainer_helpers.cc.

References generate_point_in_parallellogram(), generate_point_in_scoring_sector(), RS::WorldFacts::getMarker(), RS::MarkerObject::getPosition(), RS::MarkerObject::getPosX(), and RS::MarkerObject::getPosY().

Referenced by generate_point_in_scoring_sector().

Point RS::generate_point_in_defense_sector const Side   side,
const Point   pos
 

Generate a random point in the defensice sector on side when defending against a player at position pos.

The scoring sector is defined as the area in the polygon pos + 1m x-dir -1m y-dir, FLAG_GRT - 1m x-dir, FLAG_GRB - 1m x-dir, pos +1m x-dir +1m y-dir, for the right side of the field. The left is symmetric.

Definition at line 243 of file trainer_helpers.cc.

References generate_point_in_defense_sector(), generate_point_in_parallellogram(), RS::WorldFacts::getMarker(), RS::MarkerObject::getPosX(), RS::MarkerObject::getPosY(), and RS::CoordPoint< Float >::getX().

Referenced by generate_point_in_defense_sector().

template<class view>
void getView view *&    tmp,
ViewId    view_id
 

Use getView to get a pointer to the view with ViewId view_id.

The reason for not using view* getView(ViewId) is that C++ doesn't allow overloading on the return type.

Definition at line 188 of file View.h.

References getView().

Referenced by RS::AccelerateBallToVelocity::AccelerateBallToVelocity(), RS::AlignNeckToBody::AlignNeckToBody(), RS::AmIClosestToBall::AmIClosestToBall(), RS::AmIFirstToBall::AmIFirstToBall(), RS::BallView::BallView(), RS::BNView::BNView(), RS::CatchBall::CatchBall(), RS::DashToPoint::DashToPoint(), RS::FreezeBall::FreezeBall(), getView(), RS::IsBallKnown::IsBallKnown(), RS::IsCatchAllowed::IsCatchAllowed(), RS::KickBallCloseToBody::KickBallCloseToBody(), RS::OffsideTrapView::OffsideTrapView(), RS::OffsideView::OffsideView(), RS::PassKick::PassKick(), RS::PassView::PassView(), RS::TurnBackToPoint::TurnBackToPoint(), RS::TurnBodyToAbsoluteDirection::TurnBodyToAbsoluteDirection(), RS::TurnBodyToBall::TurnBodyToBall(), RS::TurnBodyToPoint::TurnBodyToPoint(), and RS::TurnNeckToAbsoluteDirection::TurnNeckToAbsoluteDirection().


Generated on Mon Aug 29 08:22:03 2011 for RoboSoc by doxygen1.3-rc3