void addComponentName(const std::string& name) { }
void shutdown(int level) { }
void setProperty(const std::string& name,const std::string& value) { }
- std::string getProperty(const std::string& name) const { }
+ std::string getProperty(const std::string& name) const { return ""; }
std::map<std::string,std::string> getResourceProperties(const std::string& name) const { return std::map<std::string,std::string>(); }
std::map<std::string,std::string> getProperties() const { return std::map<std::string,std::string>(); }
//
void addComponentName(const std::string& name) { }
void shutdown(int level) { }
void setProperty(const std::string& name,const std::string& value) { }
- std::string getProperty(const std::string& name) const { }
+ std::string getProperty(const std::string& name) const { return ""; }
std::map<std::string,std::string> getResourceProperties(const std::string& name) const { return std::map<std::string,std::string>(); }
std::map<std::string,std::string> getProperties() const { return std::map<std::string,std::string>(); }
//
void setModeText(const std::string& mode);
public slots:
- void onModifyName(const QString &text);
+// void onModifyName(const QString &text);
void onModifyResource(const QString &text);
void onModifyPolicy(const QString &text);
void onModifyWorkDir(const QString &text);
FormHPContainer::FormHPContainer(QWidget *parent):FormContainerBase(parent),_poolSz(new QLineEdit(this)),_initScriptModified(false)
{
- QIntValidator *iv(new QIntValidator(_poolSz)); iv->setRange(1,std::numeric_limits<int>::max());
+ QIntValidator *iv(new QIntValidator(_poolSz)); iv->setRange(1,INT_MAX);
_poolSz->setValidator(iv);
label_15->setText("Size of pool :");
gridLayout_2_2->addWidget(_poolSz);
Engines::PyScriptNode_var _pynode;
};
- class PyFuncNode : public InlineFuncNode, public PythonEntry
+ class YACSRUNTIMESALOME_EXPORT PyFuncNode : public InlineFuncNode, public PythonEntry
{
protected:
Node *simpleClone(ComposedNode *father, bool editionOnly) const;
#include <sstream>
+#ifdef WIN32
+#include <process.h>
+#define getpid _getpid
+#endif
+
using namespace YACS::ENGINE;
SalomeContainerTools::SalomeContainerTools()
return helper->isAlreadyStarted(askingNode);
}
-void SalomeHPContainer::start(const Task *askingNode) throw(Exception)
+void SalomeHPContainer::start(const Task *askingNode) throw(YACS::Exception)
{
SalomeContainerMonoHelper *helper(_launchModeType.getHelperOfTaskThreadSafe(this,askingNode));
SalomeContainerTools::Start(_componentNames,helper,_sct,_shutdownLevel,this,askingNode);