Salome HOME
Update copyrights
[samples/genericsolver.git] / idl / DEVIATION_Gen.idl
index 15d8f61952d7341d56b0b669a1bc1fb2c2f8ad61..2c38e7128d335a9814dcb4ec5686e803a5f81adb 100644 (file)
@@ -1,4 +1,4 @@
-//  Copyright (C) 2009-2010 EDF R&D
+//  Copyright (C) 2009-2015 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
@@ -29,7 +29,7 @@
 
 module GENERICSOLVER_ORB
 {
-  interface DEVIATION_Gen : Engines::Component, SALOMEDS::Driver
+  interface DEVIATION_Gen : Engines::EngineComponent, SALOMEDS::Driver
   {
 
     /**
@@ -72,6 +72,33 @@ module GENERICSOLVER_ORB
     void Finalize()
       raises (SALOME::SALOME_Exception);
 
+    /**
+     * @brief Return the files and directories that must be transferred
+     *        from / to the computation resource
+     *
+     * This method is used to specify which files and directories must be
+     * transferred to the computation resource for the calculation code, and
+     * which resulting files and directories must be transferred from the
+     * computation resource to the local computer.
+     *
+     * @param studyID      the identifier of the study containing the
+     *                     deterministic data
+     * @param detCaseEntry the identifier of the deterministic case within the
+     *                     study
+     * @param inputFiles   the list of input files and directories to transfer
+     *                     from the local computer to the computation resource
+     *                     (absolute paths on the local computer)
+     * @param outputFiles  the list of output files and directories that must
+     *                     be transferred from the computation resource to the
+     *                     local computer after the computation (paths
+     *                     relative to the working directory on the
+     *                     computation resource)
+     */
+    void GetFilesToTransfer(in long studyID, in SALOMEDS::ID detCaseEntry,
+                            out SALOMEDS::ListOfStrings inputFiles,
+                            out SALOMEDS::ListOfStrings outputFiles)
+      raises (SALOME::SALOME_Exception);
+
   };
 };