X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FTools%2Fpadder%2Fmeshjob%2Fidl%2FMESHJOB.idl;h=636ead0a605dea276328fc046e12798587977ac9;hp=a5559cd77e8ee537e3a3d08daad65c90072e646e;hb=6d32f944a0a115b6419184c50b57bf7c4eef5786;hpb=bd4e115a78b52e3fbc016e5e30bb0e19b2a9e7d6 diff --git a/src/Tools/padder/meshjob/idl/MESHJOB.idl b/src/Tools/padder/meshjob/idl/MESHJOB.idl index a5559cd77..636ead0a6 100644 --- a/src/Tools/padder/meshjob/idl/MESHJOB.idl +++ b/src/Tools/padder/meshjob/idl/MESHJOB.idl @@ -1,9 +1,9 @@ -// Copyright (C) 2011-2012 CEA/DEN, EDF R&D +// Copyright (C) 2011-2019 EDF R&D // // 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 // + // Authors : Guillaume Boulant (EDF) - 31/01/2011 #ifndef _MESHJOB_IDL_ @@ -49,7 +50,7 @@ module MESHJOB // // This defines the set of temporary folders used by the jobmanager - // when executing a job (may depends on the job). + // when executing a job (may depend on the job). struct MeshJobPaths { string local_inputdir; @@ -61,13 +62,23 @@ module MESHJOB enum FileType {MED_CONCRETE, MED_STEELBAR}; // This defines a single parameter for the job initialization (a med file) - struct MeshJobParameter + struct MeshJobFile { string file_name; FileType file_type; string group_name; }; + // This defines a set of parameters for the job initialization + typedef sequence MeshJobFileList; + + // This defines a single parameter for the job initialization + struct MeshJobParameter + { + string name; + string value; + }; + // This defines a set of parameters for the job initialization typedef sequence MeshJobParameterList; @@ -76,7 +87,7 @@ module MESHJOB { string results_dirname; string outputmesh_filename; - string status; + boolean status; }; // This defines the possible states of a job @@ -96,7 +107,9 @@ module MESHJOB raises (SALOME::SALOME_Exception); /*! Initialize a smesh computation job and return the job identifier */ - long initialize(in MESHJOB::MeshJobParameterList meshJobParameterList, in string configId) + long initialize(in MESHJOB::MeshJobFileList meshJobFileList, + in MESHJOB::MeshJobParameterList MeshJobParameterList, + in string configId) raises (SALOME::SALOME_Exception); /*! Submit the job execution and return true if submission is OK */ @@ -119,6 +132,8 @@ module MESHJOB MeshJobPaths getPaths(in long jobId) raises (SALOME::SALOME_Exception); + /*! Returns the last error message (for user display) */ + string getLastErrorMessage(); }; };