X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FContainer%2FSALOME_Container_i.hxx;h=1e437c1c16d9e789e01c342982d38a86ee91f1ad;hb=c5cdc2c959b037c5d2d681c849177894cc315379;hp=15f11eaa14cf1611f221a1076224d28004278e63;hpb=288dc1c84630e521220d796b7c88c518f34856d5;p=modules%2Fkernel.git diff --git a/src/Container/SALOME_Container_i.hxx b/src/Container/SALOME_Container_i.hxx index 15f11eaa1..1e437c1c1 100644 --- a/src/Container/SALOME_Container_i.hxx +++ b/src/Container/SALOME_Container_i.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2015 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 @@ -6,7 +6,7 @@ // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -75,7 +75,12 @@ public: create_component_instance_env( const char* componentName, CORBA::Long studyId, // 0 for multiStudy const Engines::FieldsDict& env, - CORBA::String_out reason); + CORBA::String_out reason); + + virtual char * + create_python_service_instance(const char* CompName, + CORBA::String_out reason); + Engines::EngineComponent_ptr find_component_instance( const char* registeredName, CORBA::Long studyId); // 0 for multiStudy @@ -106,7 +111,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::PyScriptNode_ptr createPyScriptNode(const char* nodeName, const char* code); + Engines::PyScriptNode_ptr getDefaultPyScriptNode(); // --- local C++ methods Engines::EngineComponent_ptr @@ -154,6 +161,8 @@ protected: std::map _listInstances_map; std::map _fileRef_map; std::map _Salome_file_map; + Engines::PyScriptNode_var _dftPyScriptNode; + Engines::PyNode_var _dftPyNode; std::list _tmp_files; Engines::fileTransfer_var _fileTransfer;