From: ribes Date: Wed, 21 Jul 2010 08:20:13 +0000 (+0000) Subject: - eSSH was not added to the factory catalog X-Git-Tag: V1_2_0rc1~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a9919dcbc39092068c2e0fe54b3fcb03b3da386d;p=tools%2Flibbatch.git - eSSH was not added to the factory catalog --- diff --git a/src/Core/Batch_FactBatchManager.cxx b/src/Core/Batch_FactBatchManager.cxx index 6f33fb7..92bb1bf 100644 --- a/src/Core/Batch_FactBatchManager.cxx +++ b/src/Core/Batch_FactBatchManager.cxx @@ -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; diff --git a/src/SSH/Batch_FactBatchManager_eSSH.cxx b/src/SSH/Batch_FactBatchManager_eSSH.cxx index f60c961..d2f58cf 100644 --- a/src/SSH/Batch_FactBatchManager_eSSH.cxx +++ b/src/SSH/Batch_FactBatchManager_eSSH.cxx @@ -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() {}