-// Copyright (C) 2007-2008 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
*
*/
-#include <string>
#include "Batch_BatchManager_ePBS.hxx"
#include "Batch_FactBatchManager_ePBS.hxx"
-//#include "utilities.h"
namespace Batch {
static FactBatchManager_ePBS sFBM_ePBS;
// Constructeur
- FactBatchManager_ePBS::FactBatchManager_ePBS() : FactBatchManager_eClient("ePBS")
+ FactBatchManager_ePBS::FactBatchManager_ePBS() : FactBatchManager("PBS")
{
// Nothing to do
}
// Nothing to do
}
- // Functor
- BatchManager * FactBatchManager_ePBS::operator() (const char * hostname) const
+ BatchManager * FactBatchManager_ePBS::operator() (const char * hostname,
+ const char * username,
+ CommunicationProtocolType protocolType,
+ const char * mpiImpl) const
{
- // MESSAGE("Building new BatchManager_PBS on host '" << hostname << "'");
- return new BatchManager_ePBS(this, hostname);
+ return new BatchManager_ePBS(this, hostname, username, protocolType, mpiImpl);
}
- BatchManager_eClient * FactBatchManager_ePBS::operator() (const char * hostname,
- CommunicationProtocolType protocolType,
- const char * mpiImpl) const
- {
- // MESSAGE("Building new BatchManager_PBS on host '" << hostname << "'");
- return new BatchManager_ePBS(this, hostname, protocolType, mpiImpl);
- }
-
-
}