taskedsimulationcreator.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2005 by Robot Group Leipzig                             *
00003  *    martius@informatik.uni-leipzig.de                                    *
00004  *    fhesse@informatik.uni-leipzig.de                                     *
00005  *    der@informatik.uni-leipzig.de                                        *
00006  *    guettler@informatik.uni-leipzig.de                                   *
00007  *                                                                         *
00008  *   This program is free software; you can redistribute it and/or modify  *
00009  *   it under the terms of the GNU General Public License as published by  *
00010  *   the Free Software Foundation; either version 2 of the License, or     *
00011  *   (at your option) any later version.                                   *
00012  *                                                                         *
00013  *   This program is distributed in the hope that it will be useful,       *
00014  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00015  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00016  *   GNU General Public License for more details.                          *
00017  *                                                                         *
00018  *   You should have received a copy of the GNU General Public License     *
00019  *   along with this program; if not, write to the                         *
00020  *   Free Software Foundation, Inc.,                                       *
00021  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00022  ***************************************************************************
00023  *                                                                         *
00024  *  DESCRIPTION                                                            *
00025  *  
00026  *                                                                         *
00027  *                                                                         *
00028  *  $Log: taskedsimulationcreator.h,v $
00029  *  Revision 1.2  2009/08/21 09:49:07  robot12
00030  *  (guettler) support for tasked simulations.
00031  *  - use the simulation template_taskedSimulations.
00032  *  - merged (not completely) from lpzrobots_tasked.
00033  *  - graphics is supported, but only for one simulation of a pool
00034  *
00035  *  Revision 1.1.2.1  2009/08/11 15:59:20  guettler
00036  *  - support for tasked simulations, does not yet work with graphics
00037  *  - in development state
00038  *                                         *
00039  *                                                                         *
00040  **************************************************************************/
00041 #ifndef _TASKEDSIMULATIONCREATOR_H_
00042 #define _TASKEDSIMULATIONCREATOR_H_
00043 
00044 namespace lpzrobots
00045 {
00046 
00047   /**
00048    * Defines a method to construct a TaskedSimulation. This method is needed by the
00049    * SimulationTask, provided through the SimulationTaskSupervisor.
00050    * If you like to get the singleton instance of SimulationTaskSupervisor, you have
00051    * to pass as argument a deduced instance of the TaskedSimulationCreator.
00052    */
00053   class TaskedSimulationCreator
00054   {
00055   public:
00056 
00057     /**
00058      * Constructs and returns an instance of this class.
00059      */
00060     TaskedSimulationCreator() {}
00061 
00062     /**
00063      * Destroys the instance.
00064      */
00065     virtual ~TaskedSimulationCreator() {}
00066 
00067     /**
00068      * Builds (constructs) an instance of TaskedSimulation.
00069      * This method must be overwritten by a deduced builder
00070      * @return the builded instance with basic type TaskedSimulation
00071      */
00072     virtual TaskedSimulation* buildTaskedSimulationInstance() = 0;
00073 
00074   };
00075 
00076 }
00077 
00078 #endif /* _TASKEDSIMULATIONCREATOR_H_ */

Generated on Fri Oct 30 16:29:01 2009 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.4.7