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

Modules/PlayersLocator/GTCamPlayersLocator.h

Go to the documentation of this file.
00001 /**
00002 * @file GTCamPlayersLocator.h
00003 * 
00004 * This file contains a class for players localization using the worldstate of the GTCam.
00005 *
00006 * @author <a href="mailto:timo.diekmann@uni-dortmund.de">Timo Diekmann</a>
00007 */
00008 
00009 #ifndef __GTCamPlayersLocator_h_
00010 #define __GTCamPlayersLocator_h_
00011 
00012 #include "PlayersLocator.h"
00013 
00014 /**
00015  * This class is a locator for players of the own and the opponentīs team using the worldstate of the GTCam.
00016  *
00017  * @author <a href="mailto:timo.diekmann@uni-dortmund.de">Timo Diekmann</a>
00018  */
00019 class GTCamPlayersLocator : public PlayersLocator
00020 {
00021 
00022 public:
00023   /** Constants for the number of robots in the own and in the opponentīs team*/
00024   enum {NUMBER_OF_OWN_PLAYERS_TO_LOCATE=3, NUMBER_OF_OPPONENT_PLAYERS_TO_LOCATE=4};
00025 
00026   /** 
00027   * Constructor.
00028   * @param interfaces The paramters of the PlayersLocator module.
00029   */
00030   GTCamPlayersLocator(const PlayersLocatorInterfaces& interfaces);
00031 
00032   /** Executes the module */
00033   virtual void execute();
00034   virtual bool handleMessage(InMessage& message);
00035 };
00036 
00037 #endif // __GTCamPlayersLocator_h_

Generated on Mon Mar 20 21:59:54 2006 for GT2005 by doxygen 1.3.6