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

CalculationProject.h

Go to the documentation of this file.
00001 #ifndef CalculationProjectH
00002 #define CalculationProjectH
00003 
00004 /*******************************************************************************
00005 Copyright 2003 Petr Kulhanek
00006 
00007     This file is part of Core plugin.
00008 
00009     Core plugin is free software; you can redistribute it and/or modify
00010     it under the terms of the GNU General Public License as published by
00011     the Free Software Foundation; either version 2 of the License, or
00012     (at your option) any later version.
00013 
00014     Core plugin is distributed in the hope that it will be useful,
00015     but WITHOUT ANY WARRANTY; without even the implied warranty of
00016     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017     GNU General Public License for more details.
00018 
00019     You should have received a copy of the GNU General Public License
00020     along with Core plugin; if not, write to the Free Software
00021     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00022 *******************************************************************************/
00023 /*******************************************************************************
00024 ** PROJEKT:             Projekt NEMESIS
00025 ** SOUBOR:              CalculationProject
00026 ** úČEL:                slouží primárně pro vypocty nad jednou strukturou
00027 ** VERZE:               1.0
00028 ** JAZYK:               CBuilder C++
00029 ** CÍLOVÝ POČÍTAČ:      IBM PC
00030 ** PROGRAMÁTOR:         Petr Kulhánek
00031 ** HISTORIE úPRAV:
00032 VERZE   DATUM       POZNÁMKA
00033 1.0     2003-01-04 vzniklo rozšířením třídy CAdvancedProject a odebranim prav z
00034                    CMoleculeProject
00035 *******************************************************************************/
00036 
00040 /* HLAVIČKOVÉ SOUBORY *********************************************************/
00041 
00042 #include "CoreMainHeader.h"
00043 #include "AdvancedProject.h"
00044 #include "SceneStatusBar.h"
00045 #include "Point.h"
00046 #include "Molecule.h"
00047 
00048 /* KONEC HLAVIČKOVÝCH SOUBORů *************************************************/
00049 
00050 class CPluginObjectInfo;
00051 class CCalculation;
00052 class CJob;
00053 
00054 /* DEFINICE TŘÍD **************************************************************/
00055 
00057 
00060 class NEMESIS_CORE_PACKAGE CCalculationProject : public CAdvancedProject{
00061     public:
00062  // konstruktor a destruktor ---------------------------------------------------
00063     __fastcall CCalculationProject(CPluginObjectInfo* objectinfo);
00064     __fastcall ~CCalculationProject(void);
00065 
00066     virtual void __fastcall GetSystemMetrics(CPoint& low,CPoint& high);
00067 
00068     virtual bool __fastcall LoadData(void);
00069     virtual bool __fastcall SaveData(void);
00070 
00071  // charon support -------------------------------------------------------------
00072     static CJob* __fastcall FindCharonJob(int charon_job_id);
00073 
00074  // sekce veřejných dat --------------------------------------------------------
00075     CMolecule               Molecule;
00076     CCalculation*           DummyCalculation;
00077     CCalculation&           Calculation;        // pouze dočasně
00078 
00079     virtual CExtObject* __fastcall FindObject(int index);
00080     virtual void __fastcall PrepareReadOnly(void);
00081     };
00082 
00083 #endif

Generated on Sun Feb 9 12:53:50 2003 for NemesisCore by doxygen1.3-rc2