-// 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
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+
// Authors : Guillaume Boulant (EDF) - 31/01/2011
#ifndef _MESHJOB_IDL_
//
// 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;
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<MESHJOB::MeshJobFile> 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<MESHJOB::MeshJobParameter> MeshJobParameterList;
{
string results_dirname;
string outputmesh_filename;
- string status;
+ boolean status;
};
// This defines the possible states of a job
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 */
MeshJobPaths getPaths(in long jobId)
raises (SALOME::SALOME_Exception);
+ /*! Returns the last error message (for user display) */
+ string getLastErrorMessage();
};
};