-// 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
//
// 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 :
#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"
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
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();
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);
void SetHypoName( const char* NomHypo );
char* GetHypoName();
+// Divers
+ void SetInfoCompute( CORBA::Long MessInfo );
+ CORBA::Long GetInfoCompute();
+
private:
::HOMARD_Iteration* myHomardIteration;