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

worldconfig.h

00001 /***************************************************************************
00002                           worldconfig.h  -  description
00003                              -------------------
00004     begin                : Sat Apr 12 2003
00005     copyright            : (C) 2003 by root
00006     email                : root@localhost.localdomain
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef WORLDCONFIG_H
00019 #define WORLDCONFIG_H
00020 
00021 #include "robotconfig.h"
00022 #include "serializable.h"
00023 //#define NROBOTS 20
00024 #define MAXROBOTS 100
00025 
00034 class WorldConfig :public Serializable{
00035 public:
00038     char worldFileName[200];
00040     int nrobots;
00042     RobotConfig rini[MAXROBOTS]; 
00044     void virtual Serialize(FILE *f);
00046     void virtual Deserialize(FILE *f);
00047     WorldConfig();
00048     ~WorldConfig();
00049 };
00050 
00051 #endif

Generated on Thu Feb 12 18:42:57 2004 for ParallelizedEvolutionSystem by doxygen1.2.18