console.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  *                                                                         *
00007  *   This program is free software; you can redistribute it and/or modify  *
00008  *   it under the terms of the GNU General Public License as published by  *
00009  *   the Free Software Foundation; either version 2 of the License, or     *
00010  *   (at your option) any later version.                                   *
00011  *                                                                         *
00012  *   This program is distributed in the hope that it will be useful,       *
00013  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00014  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00015  *   GNU General Public License for more details.                          *
00016  *                                                                         *
00017  *   You should have received a copy of the GNU General Public License     *
00018  *   along with this program; if not, write to the                         *
00019  *   Free Software Foundation, Inc.,                                       *
00020  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00021  ***************************************************************************
00022  *                                                                         *
00023  *  DESCRIPTION                                                            *
00024  *                                                                         *
00025  *   $Log: console.h,v $
00026  *   Revision 1.1  2007/03/26 13:06:02  martius
00027  *   new commandline interface
00028  *
00029  *
00030  *                                                                 *
00031  ***************************************************************************/
00032 #ifndef __CONSOLE_H
00033 #define __CONSOLE_H
00034 
00035 #include "globaldata.h"
00036 
00037 namespace lpzrobots {
00038 
00039   /// should be called at the start
00040   void initializeConsole();
00041   /// should be called at the end (to store history)
00042   void closeConsole();
00043 
00044   /** offers a console interface
00045       the possibility to change parameter of all configurable objects in globalData
00046       storeing and restoreing of controllers ...
00047       also informs agents about changes 
00048       @return false if program should exit
00049   */
00050   bool handleConsole(GlobalData& globalData);
00051 
00052 }
00053 
00054 #endif

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