26 #include "Basics_Utils.hxx"
30 using namespace YACS::ENGINE;
37 cont->
setProperty(
"container_name",
"FactoryServer");
42 std::list<TypeCodeObjref *> ltc)
45 if(
id ==
"") myName =
"IDL:" + name +
":1.0";
52 if(
id ==
"") myName =
"IDL:" + name +
":1.0";
83 return atoi(value.c_str());
93 std::string cmd=
"import salome;salome.salome_init("+value+
")";
94 PyGILState_STATE gstate = PyGILState_Ensure();
95 PyRun_SimpleString(cmd.c_str());
96 PyGILState_Release(gstate);