1 // Copyright (C) 2005 OPEN CASCADE, CEA, EDF R&D, LEG
2 // PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 * BatchManager_Local_SH.hxx :
22 * Auteur : Ivan DUTKA-MALEN - EDF R&D
23 * Mail : mailto:ivan.dutka-malen@der.edf.fr
24 * Date : Thu Nov 6 10:17:22 2003
29 #ifndef _BATCHMANAGER_LOCAL_SH_H_
30 #define _BATCHMANAGER_LOCAL_SH_H_
38 #include "Batch_Job.hxx"
39 #include "Batch_JobId.hxx"
40 #include "Batch_JobInfo.hxx"
41 #include "Batch_JobInfo_Local.hxx"
42 #include "Batch_Job_Local.hxx"
43 #include "Batch_InvalidArgumentException.hxx"
44 #include "Batch_ConnexionFailureException.hxx"
45 #include "Batch_APIInternalFailureException.hxx"
46 #include "Batch_NotYetImplementedException.hxx"
47 #include "Batch_BatchManager_Local.hxx"
51 class FactBatchManager;
53 class BatchManager_Local_SH : public BatchManager_Local
56 // Constructeur et destructeur
57 BatchManager_Local_SH(const FactBatchManager * parent, const char * host="localhost") throw(InvalidArgumentException,ConnexionFailureException); // connexion a la machine host
58 virtual ~BatchManager_Local_SH();
61 // Methode qui renvoie la commande de copie du fichier source en destination
62 virtual string copy_command(const string & host_source, const string & source, const string & host_destination, const string & destination) const;
64 // Methode qui renvoie la commande a executer
65 virtual string exec_command(Parametre & param) const;
67 // Methode qui renvoie la commande d'effacement du fichier
68 virtual string remove_command(const string & host_destination, const string & destination) const;