X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHOMARD_I%2FHOMARD_Iteration_i.hxx;h=c630745cf184ee422cd1e444b915f79a2c9c5af8;hb=refs%2Ftags%2FV9_13_0b1;hp=103a5163f09b65fd2dbc79cbbc216ea77afd40d0;hpb=b93f68e791d9a197c7130c94d2e317b1ebcd7220;p=modules%2Fhomard.git diff --git a/src/HOMARD_I/HOMARD_Iteration_i.hxx b/src/HOMARD_I/HOMARD_Iteration_i.hxx index 103a5163..c630745c 100644 --- a/src/HOMARD_I/HOMARD_Iteration_i.hxx +++ b/src/HOMARD_I/HOMARD_Iteration_i.hxx @@ -1,9 +1,9 @@ -// Copyright (C) 2011-2012 CEA/DEN, EDF R&D +// Copyright (C) 2011-2024 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -16,6 +16,7 @@ // // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // + // Remarques : // L'ordre de description des fonctions est le meme dans tous les fichiers // HOMARD_aaaa.idl, HOMARD_aaaa.hxx, HOMARD_aaaa.cxx, HOMARD_aaaa_i.hxx, HOMARD_aaaa_i.cxx : @@ -33,6 +34,7 @@ #include CORBA_SERVER_HEADER(HOMARD_Gen) #include CORBA_SERVER_HEADER(HOMARD_Iteration) +#include "HOMARD_i.hxx" #include "SALOME_Component_i.hxx" #include "SALOME_NamingService.hxx" #include "Utils_CorbaException.hxx" @@ -41,7 +43,7 @@ class HOMARD_Iteration; -class HOMARD_Iteration_i: +class HOMARDENGINE_EXPORT HOMARD_Iteration_i: public virtual Engines_Component_i, public virtual POA_HOMARD::HOMARD_Iteration, public virtual PortableServer::ServantBase @@ -57,7 +59,7 @@ public: void SetName( const char* Name ); char* GetName(); - CORBA::Long Delete(); + CORBA::Long Delete( CORBA::Long Option ); char* GetDumpPython(); @@ -65,14 +67,16 @@ public: bool Restore( const std::string& stream ); // Caracteristiques - void SetDirName( const char* NomDir ); + void SetDirNameLoc( const char* NomDir ); + char* GetDirNameLoc(); + char* GetDirName(); void SetNumber( CORBA::Long NumIter ); CORBA::Long GetNumber(); - void SetEtat( CORBA::Boolean etat ); - CORBA::Boolean GetEtat(); + void SetState( CORBA::Long etat ); + CORBA::Long GetState(); void SetMeshName( const char* NomMesh ); char* GetMeshName(); @@ -82,15 +86,24 @@ public: void SetFieldFile( const char* FieldFile ); char* GetFieldFile(); +// Instants pour le champ de pilotage + void SetTimeStep( CORBA::Long TimeStep ); void SetTimeStepRank( CORBA::Long TimeStep, CORBA::Long Rank ); void SetTimeStepRankLast(); CORBA::Long GetTimeStep(); CORBA::Long GetRank(); +// Instants pour un champ a interpoler + void SetFieldInterpTimeStep( const char* FieldInterp, CORBA::Long TimeStep ); + void SetFieldInterpTimeStepRank( const char* FieldInterp, CORBA::Long TimeStep, CORBA::Long Rank ); + HOMARD::listeFieldInterpTSRsIter* GetFieldInterpsTimeStepRank(); + void SetFieldInterp( const char* FieldInterp ); + HOMARD::listeFieldInterpsIter* GetFieldInterps(); + void SupprFieldInterps(); void SetLogFile( const char* LogFile ); char* GetLogFile(); - CORBA::Long Compute(CORBA::Long etatMenage); + CORBA::Long Compute(CORBA::Long etatMenage, CORBA::Long Option); void MeshInfo(CORBA::Long Qual, CORBA::Long Diam, CORBA::Long Conn, CORBA::Long Tail, CORBA::Long Inte); @@ -118,6 +131,10 @@ public: void SetHypoName( const char* NomHypo ); char* GetHypoName(); +// Divers + void SetInfoCompute( CORBA::Long MessInfo ); + CORBA::Long GetInfoCompute(); + private: ::HOMARD_Iteration* myHomardIteration;