Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

BallObject Class Reference

#include <Objects.h>

Inheritance diagram for BallObject:

Inheritance graph
[legend]
Collaboration diagram for BallObject:

Collaboration graph
[legend]
List of all members.

Public Methods

 BallObject ()
void show (ostream &os=cout)

Detailed Description

Class PlayerObject contains RoboCup information that is available for the ball. No extra variables are added to superclass DynamicObject

Definition at line 271 of file Objects.h.


Constructor & Destructor Documentation

BallObject::BallObject  
 

This is the constructor for a BallObject. It does nothing except initializing the class.

Definition at line 806 of file Objects.cpp.


Member Function Documentation

void BallObject::show ostream &    os = cout [virtual]
 

This method prints information about the ball to the specified output stream

Parameters:
os  output stream to which information is written.

Reimplemented from Object.

Definition at line 815 of file Objects.cpp.

References DEFAULT_TEAM_NAME, DynamicObject::dRelativeAngleChange, DynamicObject::dRelativeDistanceChange, VecPosition::getDirection(), VecPosition::getMagnitude(), SoccerTypes::getObjectStr(), MAX_TEAM_NAME_LENGTH, Object::objectType, Object::posGlobal, Object::posRelative, Object::timeGlobalPosDerivedFromSee, Object::timeGlobalPosition, DynamicObject::timeGlobalVelocity, Object::timeLastSeen, Object::timeRelativePosition, and DynamicObject::vecGlobalVelocity.

Referenced by WorldModel::show().


The documentation for this class was generated from the following files:
Generated on Fri Nov 7 11:45:59 2003 for UvA Trilearn 2003 Base Code by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001