BehaviorTeamMessage Class Reference

#include <BehaviorTeamMessage.h>

List of all members.

Public Types

typedef BehaviorTeamMessage::WalkR WalkRequest
 none
 justPerformedAKick
 performingAKick
 preparingAKick
 sync
 sleep
 initial
 ready
 set
 playing
 penalized
 finished
 goalie
 striker
 offensiveSupporter
 defensiveSupporter
enum  Message {
  none, justPerformedAKick, performingAKick, preparingAKick,
  sync
}
enum  GameState {
  sleep, initial, ready, set,
  playing, penalized, finished
}
enum  DynamicRole { goalie, striker, offensiveSupporter, defensiveSupporter }

Public Member Functions

 BehaviorTeamMessage ()

Public Attributes

double estimatedTimeToReachBall
Message message
enum BehaviorTeamMessage::GameState gameState
enum BehaviorTeamMessage::DynamicRole dynamicRole
unsigned char ratedOptions [RateableOptions::numOfOptions]
WalkR walkRequest
int ocStatus
int masterWaitState

Classes

struct  WalkR


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::DynamicRole

The dynamic role of the sender. Used by DDD2003BehaviorControl and GT2003BehaviorControl.

Enumerator:
goalie 
striker 
offensiveSupporter 
defensiveSupporter 

Definition at line 64 of file BehaviorTeamMessage.h.

enum BehaviorTeamMessage::GameState

The game state of the sender. Used by Humboldt2003BehaviorControl and GT2003BehaviorControl.

Enumerator:
sleep 
initial 
ready 
set 
playing 
penalized 
finished 

Definition at line 58 of file BehaviorTeamMessage.h.

enum BehaviorTeamMessage::Message

Different discrete messages that can be exchanged. Used by XabslBehaviorControl.

Enumerator:
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.


Constructor & Destructor Documentation

BehaviorTeamMessage::BehaviorTeamMessage (  ) 

Constructor.

Definition at line 11 of file BehaviorTeamMessage.cpp.

References masterWaitState, RateableOptions::numOfOptions, ocStatus, ratedOptions, BehaviorTeamMessage::WalkR::rotation, BehaviorTeamMessage::WalkR::type, walkRequest, BehaviorTeamMessage::WalkR::x, and BehaviorTeamMessage::WalkR::y.


Member Data Documentation

enum BehaviorTeamMessage::DynamicRole BehaviorTeamMessage::dynamicRole

The dynamic role of the sender. Used by DDD2003BehaviorControl and GT2003BehaviorControl.

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

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().

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().

int BehaviorTeamMessage::masterWaitState

Definition at line 88 of file BehaviorTeamMessage.h.

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

Message BehaviorTeamMessage::message

the message

Definition at line 52 of file BehaviorTeamMessage.h.

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

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().

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

The ratedOptions of the sender. Used by GT2004BehaviorControl

Definition at line 70 of file BehaviorTeamMessage.h.

Referenced by BehaviorTeamMessage(), 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 BehaviorTeamMessage(), GT2004BasicBehaviorDogAsJoystick::execute(), GT2004BasicBehaviorMoveTheBridge::execute(), operator<<(), and operator>>().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:19:18 2006 for DT2005.panorama by  doxygen 1.4.7