X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FContainer%2FSALOME_Container_i.hxx;h=9a49dd04dfaf66346c8872e8fa714ac012a6cd0f;hb=fd8d518d82191e73173498a067da5c3bfddf7eb0;hp=1e437c1c16d9e789e01c342982d38a86ee91f1ad;hpb=cdbdf1494c3d9e542cc0b14b3280483b73385b10;p=modules%2Fkernel.git diff --git a/src/Container/SALOME_Container_i.hxx b/src/Container/SALOME_Container_i.hxx index 1e437c1c1..9a49dd04d 100644 --- a/src/Container/SALOME_Container_i.hxx +++ b/src/Container/SALOME_Container_i.hxx @@ -30,6 +30,7 @@ #define _SALOME_CONTAINER_I_HXX_ #include "SALOME_Container.hxx" +#include "Utils_Mutex.hxx" #include #include CORBA_SERVER_HEADER(SALOME_Component) @@ -111,9 +112,9 @@ public: virtual Engines::Salome_file_ptr createSalome_file(const char* origFileName); void copyFile(Engines::Container_ptr container, const char* remoteFile, const char* localFile); Engines::PyNode_ptr createPyNode(const char* nodeName, const char* code); - Engines::PyNode_ptr getDefaultPyNode(); + Engines::PyNode_ptr getDefaultPyNode(const char *nodeName); Engines::PyScriptNode_ptr createPyScriptNode(const char* nodeName, const char* code); - Engines::PyScriptNode_ptr getDefaultPyScriptNode(); + Engines::PyScriptNode_ptr getDefaultPyScriptNode(const char *nodeName); // --- local C++ methods Engines::EngineComponent_ptr @@ -161,8 +162,9 @@ protected: std::map _listInstances_map; std::map _fileRef_map; std::map _Salome_file_map; - Engines::PyScriptNode_var _dftPyScriptNode; - Engines::PyNode_var _dftPyNode; + std::map _dftPyScriptNode; + std::map _dftPyNode; + Utils_Mutex _mutexForDftPy; std::list _tmp_files; Engines::fileTransfer_var _fileTransfer;