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

basicsimulationsystem.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           basicsimulationsystem.h  -  description
00003                              -------------------
00004     begin                : Mon May 6 2002
00005     copyright            : (C) 2002 by Peter Haase
00006     email                : mail@p-haase.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This library is free software; you can redistribute it and/or         *
00012  *   modify it under the terms of the GNU Lesser General Public            *
00013  *   License as published by the Free Software Foundation; either          *
00014  *   version 2.1 of the License, or (at your option) any later version.    *
00015  *                                                                         *
00016  *   This library is distributed in the hope that it will be useful,       *
00017  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00018  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00019  *   Lesser General Public License for more details.                       *
00020  *                                                                         *
00021  *   You should have received a copy of the GNU Lesser General Public      *
00022  *   License along with this library; if not, write to the Free Software   *
00023  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston,                 *
00024  *   MA  02111-1307  USA                                                   *
00025  *                                                                         *
00026  ***************************************************************************/
00027 
00038 #ifndef BASIC_SIMULATION_SYSTEM_HEADER
00039 #define BASIC_SIMULATION_SYSTEM_HEADER
00040 
00041 #include <simthetic/version.h>
00042 #include <iostream>
00043 
00057 namespace simth
00058 {
00059 
00066 class SimulationSystem
00067 {
00068   protected:
00069 
00070   public:
00071 
00072     enum RUNNING_FLAG 
00073     {
00074       rf_std = 0x1,       // standard output 
00075       rf_quiet = 0x2,     // no output while running simulation
00076       rf_asterisks = 0x4, // output one asterisk for each iteration step
00077       rf_deviceNr = 0x8,   //display the number of the currently processing device only
00078       rf_nobackspaces = 0x10 // Do not print backspace characters but instead newlines
00079     };
00080 
00083     SimulationSystem();
00084 
00086     virtual ~SimulationSystem();
00087 
00094     virtual double mainSimulationLoop(int mode) = 0;
00095 
00102     virtual void print(std::ostream &os) const;
00103 };
00104 
00105 
00106 }
00107 
00108 #endif
00109 

Generated on Mon Apr 24 21:19:19 2006 for simthetic by  doxygen 1.4.1