-// Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
* Author : Renaud BARATE - EDF R&D
*/
+#include "Batch_ParameterTypeMap.hxx"
#include "Batch_BatchManager_eLL.hxx"
#include "Batch_FactBatchManager_eLL.hxx"
namespace Batch {
+ def_Constant(LL_JOBTYPE);
+
static FactBatchManager_eLL sFBM_eLL;
- FactBatchManager_eLL::FactBatchManager_eLL() : FactBatchManager_eClient("eLL")
+ FactBatchManager_eLL::FactBatchManager_eLL() : FactBatchManager("LL")
{
- // Nothing to do
+ // Add specific parameters
+ ParameterTypeMap::getInstance().addParameter(LL_JOBTYPE, STRING, 1);
}
FactBatchManager_eLL::~FactBatchManager_eLL()
// Nothing to do
}
- // Functor
- BatchManager * FactBatchManager_eLL::operator() (const char * hostname) const
- {
- // MESSAGE("Building new BatchManager_eLL on host '" << hostname << "'");
- return new BatchManager_eLL(this, hostname);
- }
-
- BatchManager_eClient * FactBatchManager_eLL::operator() (const char * hostname,
- const char * username,
- CommunicationProtocolType protocolType,
- const char * mpiImpl,
- int nb_proc_per_node) const
+ BatchManager * FactBatchManager_eLL::operator() (const char * hostname,
+ const char * username,
+ CommunicationProtocolType protocolType,
+ const char * mpiImpl,
+ int nb_proc_per_node) const
{
// MESSAGE("Building new BatchManager_eLL on host '" << hostname << "'");
return new BatchManager_eLL(this, hostname, username, protocolType, mpiImpl, nb_proc_per_node);