Salome HOME
- eSSH was not added to the factory catalog
authorribes <ribes>
Wed, 21 Jul 2010 08:20:13 +0000 (08:20 +0000)
committerribes <ribes>
Wed, 21 Jul 2010 08:20:13 +0000 (08:20 +0000)
src/Core/Batch_FactBatchManager.cxx
src/SSH/Batch_FactBatchManager_eSSH.cxx

index 6f33fb73df6230044552a8495f145cd9e2cc90c9..92bb1bf3c34a9d9bf7ed0bf5898704e8df8532e2 100644 (file)
@@ -41,7 +41,8 @@ namespace Batch {
   FactBatchManager::FactBatchManager(const string & _t) : type(_t)
   {
     BatchManagerCatalog::getInstance().addFactBatchManager(type.c_str(), this);
-    /*
+
+   /*
     ostringstream msg;
     msg << "FactBatchManager of type '" << type << "' inserted into catalog";
     cerr << msg.str().c_str() << endl;
index f60c9619efa3c576d1f79de3722d2da585b13ebe..d2f58cf8d4a2ffc3d4f07079031a9e67d34f54c4 100644 (file)
@@ -30,6 +30,9 @@
 #include "Batch_BatchManager_eSSH.hxx"
 #include "Batch_FactBatchManager_eSSH.hxx"
 
+// Automatic register in the catalogue...
+static Batch::FactBatchManager_eSSH sFBM_eSSH;
+
 Batch::FactBatchManager_eSSH::FactBatchManager_eSSH() : FactBatchManager_eClient("eSSH") {}
 
 Batch::FactBatchManager_eSSH::~FactBatchManager_eSSH() {}