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

BehaviorTeamMessage Class Reference

Represents a message that is exchanged between the behaviors of different robots. More...

#include <BehaviorTeamMessage.h>

Collaboration diagram for BehaviorTeamMessage:

Collaboration graph
[legend]
List of all members.

Public Types

typedef BehaviorTeamMessage::WalkR WalkRequest
enum  Message {
  none, justPerformedAKick, performingAKick,
  preparingAKick, sync
}
 Different discrete messages that can be exchanged. More...

enum  GameState {
  sleep, initial, ready,
  set, playing, penalized,
  finished
}
 The game state of the sender. More...

enum  DynamicRole {
  goalie, striker, offensiveSupporter,
  defensiveSupporter
}
 The dynamic role of the sender. More...


Public Member Functions

 BehaviorTeamMessage ()
 Constructor.


Public Attributes

double estimatedTimeToReachBall
 The time that the sender of the message estimates for reaching the ball.

Message message
 the message

enum BehaviorTeamMessage::GameState gameState
 The game state of the sender.

enum BehaviorTeamMessage::DynamicRole dynamicRole
 The dynamic role of the sender.

unsigned char ratedOptions [RateableOptions::numOfOptions]
 The ratedOptions of the sender.

WalkR walkRequest
 the MothionRequest from the Dog at the bridge.

int ocStatus
 the status of the open challenge

int masterWaitState

Detailed Description

Represents a message that is exchanged between the behaviors of different robots.

Author:
Martin Loetzsch

Definition at line 26 of file BehaviorTeamMessage.h.


Member Typedef Documentation

typedef struct BehaviorTeamMessage::WalkR BehaviorTeamMessage::WalkRequest
 


Member Enumeration Documentation

enum BehaviorTeamMessage::Message
 

Different discrete messages that can be exchanged.

Used by XabslBehaviorControl.

Enumeration values:
none  no message
justPerformedAKick  The player performed a kick. Used by GT2003BehaviorControl
performingAKick  The player performes a kick. Used by GT2003BehaviorControl
preparingAKick  The player prepares a kick. Used by GT2003BehaviorControl
sync  The player sends a sync signal. Used to synchronise behavior

Definition at line 41 of file BehaviorTeamMessage.h.

enum BehaviorTeamMessage::GameState
 

The game state of the sender.

Used by Humboldt2003BehaviorControl and GT2003BehaviorControl.

Enumeration values:
sleep 
initial 
ready 
set 
playing 
penalized 
finished 

Definition at line 58 of file BehaviorTeamMessage.h.

enum BehaviorTeamMessage::DynamicRole
 

The dynamic role of the sender.

Used by DDD2003BehaviorControl and GT2003BehaviorControl.

Enumeration values:
goalie 
striker 
offensiveSupporter 
defensiveSupporter 

Definition at line 64 of file BehaviorTeamMessage.h.


Constructor & Destructor Documentation

BehaviorTeamMessage::BehaviorTeamMessage  ) 
 

Constructor.

Definition at line 11 of file BehaviorTeamMessage.cpp.

References masterWaitState, ocStatus, BehaviorTeamMessage::WalkR::rotation, BehaviorTeamMessage::WalkR::type, BehaviorTeamMessage::WalkR::x, and BehaviorTeamMessage::WalkR::y.


Member Data Documentation

double BehaviorTeamMessage::estimatedTimeToReachBall
 

The time that the sender of the message estimates for reaching the ball.

Definition at line 35 of file BehaviorTeamMessage.h.

Referenced by operator<<(), operator>>(), and GT2004StrategySymbols::update().

Message BehaviorTeamMessage::message
 

the message

Definition at line 52 of file BehaviorTeamMessage.h.

Referenced by operator<<(), operator>>(), GT2004BehaviorControl::preExecute(), and GT2004StrategySymbols::registerSymbols().

enum BehaviorTeamMessage::GameState BehaviorTeamMessage::gameState
 

The game state of the sender.

Used by Humboldt2003BehaviorControl and GT2003BehaviorControl.

Referenced by operator<<(), operator>>(), GT2004BehaviorControl::postExecute(), and GT2004StrategySymbols::registerSymbols().

enum BehaviorTeamMessage::DynamicRole BehaviorTeamMessage::dynamicRole
 

The dynamic role of the sender.

Used by DDD2003BehaviorControl and GT2003BehaviorControl.

Referenced by operator<<(), operator>>(), and GT2004StrategySymbols::update().

unsigned char BehaviorTeamMessage::ratedOptions[RateableOptions::numOfOptions]
 

The ratedOptions of the sender.

Used by GT2004BehaviorControl

Definition at line 70 of file BehaviorTeamMessage.h.

Referenced by CollectedBeliefs::broadcast(), operator<<(), and operator>>().

WalkR BehaviorTeamMessage::walkRequest
 

the MothionRequest from the Dog at the bridge.

Used by OpenChallange04

Definition at line 84 of file BehaviorTeamMessage.h.

Referenced by GT2004BasicBehaviorDogAsJoystick::execute(), GT2004BasicBehaviorMoveTheBridge::execute(), operator<<(), and operator>>().

int BehaviorTeamMessage::ocStatus
 

the status of the open challenge

Definition at line 87 of file BehaviorTeamMessage.h.

Referenced by BehaviorTeamMessage(), operator<<(), operator>>(), and OpenChallengeSymbols::setOCStatus().

int BehaviorTeamMessage::masterWaitState
 

Definition at line 88 of file BehaviorTeamMessage.h.

Referenced by BehaviorTeamMessage(), operator<<(), and operator>>().


The documentation for this class was generated from the following files:
Generated on Thu Sep 23 20:04:39 2004 for GT2004 by doxygen 1.3.6