00001 //:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 00002 // 00003 // This file is part of E-Cell Simulation Environment package 00004 // 00005 // Copyright (C) 1996-2002 Keio University 00006 // 00007 //:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 00008 // 00009 // 00010 // E-Cell is free software; you can redistribute it and/or 00011 // modify it under the terms of the GNU General Public 00012 // License as published by the Free Software Foundation; either 00013 // version 2 of the License, or (at your option) any later version. 00014 // 00015 // E-Cell is distributed in the hope that it will be useful, 00016 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00018 // See the GNU General Public License for more details. 00019 // 00020 // You should have received a copy of the GNU General Public 00021 // License along with E-Cell -- see the file COPYING. 00022 // If not, write to the Free Software Foundation, Inc., 00023 // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00024 // 00025 //END_HEADER 00026 // 00027 // written by Koichi Takahashi <shafi@e-cell.org>, 00028 // E-Cell Project. 00029 // 00030 00031 #ifndef ___SYSTEMMAKER_H___ 00032 #define ___SYSTEMMAKER_H___ 00033 #include "System.hpp" 00034 #include "dmtool/ModuleMaker.hpp" 00035 00036 namespace libecs 00037 { 00038 00039 /* *defgroup libecs_module The Libecs Module 00040 * This is the libecs module 00041 * @{ 00042 */ 00043 00044 class SystemMaker 00045 : 00046 public SharedModuleMaker<System> 00047 { 00048 00049 public: 00050 00051 SystemMaker(); 00052 virtual ~SystemMaker() {} 00053 00054 protected: 00055 00056 void makeClassList(); 00057 00058 }; 00059 00060 #define NewSystemModule(CLASS) NewDynamicModule(System,CLASS) 00061 00062 /** @} */ //end of libecs_module 00063 00064 } // namespace libecs 00065 00066 #endif /* ___SYSTEMMAKER_H___ */