]> SALOME platform Git repositories - modules/kernel.git/blob - src/Batch/Batch_FactBatchManager_PBS.cxx
Salome HOME
3a0e39763d56ad5c9bdee5ff43f5d198be1c0f6f
[modules/kernel.git] / src / Batch / Batch_FactBatchManager_PBS.cxx
1 /*
2  * FactBatchManager_PBS.cxx : 
3  *
4  * Auteur : Ivan DUTKA-MALEN - EDF R&D
5  * Date   : Septembre 2004
6  * Projet : SALOME 2
7  *
8  */
9
10 #include <string>
11 #include "Batch_BatchManager_PBS.hxx"
12 #include "Batch_FactBatchManager_PBS.hxx"
13 #include "utilities.h"
14
15 namespace Batch {
16
17   static FactBatchManager_PBS sFBM_PBS;
18
19   // Constructeur
20   FactBatchManager_PBS::FactBatchManager_PBS() : FactBatchManager("PBS")
21   {
22     // Nothing to do
23   }
24
25   // Destructeur
26   FactBatchManager_PBS::~FactBatchManager_PBS()
27   {
28     // Nothing to do
29   }
30
31   // Functor
32   BatchManager_PBS * FactBatchManager_PBS::operator() (const char * hostname) const
33   {
34     MESSAGE("Building new BatchManager_PBS on host '" << hostname << "'");
35     return new BatchManager_PBS(this, hostname);
36   }
37
38
39 }