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

KickSelectionSymbols Class Reference

The Xabsl2 symbols that are defined in "kick-selection-symbols.xml". More...

#include <KickSelectionSymbols.h>

Inheritance diagram for KickSelectionSymbols:

Inheritance graph
[legend]
Collaboration diagram for KickSelectionSymbols:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KickSelectionSymbols (BehaviorControlInterfaces &interfaces, const char *fileName)
void registerSymbols (Xabsl2Engine &engine)
 registers the symbols at an engine

double retrieveKick ()
 A function for the function "retrieve-kick".

bool handleMessage (InMessage &message)
 Is called for every incoming debug message.


Protected Attributes

double angle
 The function parameter "retrieve-kick.angle".

double tableID
 The function parameter "retrieve-kick.table-id".

KickSelectionTable kickSelectionTable
 The kick selection table that is used.


Detailed Description

The Xabsl2 symbols that are defined in "kick-selection-symbols.xml".

Author:
Martin Lötzsch

Definition at line 21 of file KickSelectionSymbols.h.


Constructor & Destructor Documentation

KickSelectionSymbols::KickSelectionSymbols BehaviorControlInterfaces interfaces,
const char *  fileName
 

Definition at line 12 of file KickSelectionSymbols.cpp.

References kickSelectionTable, and KickSelectionTable::load().

Here is the call graph for this function:


Member Function Documentation

void KickSelectionSymbols::registerSymbols Xabsl2Engine engine  ) 
 

registers the symbols at an engine

Definition at line 20 of file KickSelectionSymbols.cpp.

References Xabsl2Symbols::registerDecimalInputFunction(), Xabsl2Symbols::registerDecimalInputFunctionParameter(), retrieveKick(), and tableID.

Referenced by GT2004BehaviorControl::registerSymbolsAndBasicBehaviors().

Here is the call graph for this function:

double KickSelectionSymbols::retrieveKick  ) 
 

A function for the function "retrieve-kick".

Definition at line 28 of file KickSelectionSymbols.cpp.

References Geometry::distanceTo(), RobotPose::getPose(), SystemCall::getTimeSince(), kickSelectionTable, KickSelectionTable::retrieveKick(), BallModel::seen, tableID, SeenBallPosition::timeUntilSeenConsecutively, and SeenBallPosition::timeWhenFirstSeenConsecutively.

Referenced by registerSymbols().

Here is the call graph for this function:

bool KickSelectionSymbols::handleMessage InMessage message  ) 
 

Is called for every incoming debug message.

Parameters:
message An interface to read the message from the queue
Returns:
if the messag was read

Definition at line 45 of file KickSelectionSymbols.cpp.

References InMessage::getMessageID(), idKickSelectionTable, kickSelectionTable, and InMessage::text.

Referenced by GT2004BehaviorControl::handleMessage().

Here is the call graph for this function:


Member Data Documentation

double KickSelectionSymbols::angle [protected]
 

The function parameter "retrieve-kick.angle".

Definition at line 46 of file KickSelectionSymbols.h.

double KickSelectionSymbols::tableID [protected]
 

The function parameter "retrieve-kick.table-id".

Definition at line 49 of file KickSelectionSymbols.h.

Referenced by registerSymbols(), and retrieveKick().

KickSelectionTable KickSelectionSymbols::kickSelectionTable [protected]
 

The kick selection table that is used.

Definition at line 52 of file KickSelectionSymbols.h.

Referenced by handleMessage(), KickSelectionSymbols(), and retrieveKick().


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