]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Add dummy implementation of create_python_service_instance() function, to avoid compi...
authormnt <mnt@opencascade.com>
Wed, 22 Jul 2015 13:26:44 +0000 (16:26 +0300)
committermnt <mnt@opencascade.com>
Wed, 22 Jul 2015 13:27:55 +0000 (16:27 +0300)
src/Container/SALOME_ContainerPy.py
src/ParallelContainer/SALOME_ParallelContainer_i.cxx
src/ParallelContainer/SALOME_ParallelContainer_i.hxx

index 4fff36b6d8390ba154f6a0bbda493f9e33d5db3f..a6fdfffd0247b984ee3398b71a9502e646513924 100755 (executable)
@@ -245,7 +245,13 @@ class SALOME_ContainerPy_i (Engines__POA.Container):
             i = i + 1
         return anEngine._this()
         
-        
+
+    #-------------------------------------------------------------------------
+
+    def create_python_service_instance(self, CompName)
+        # not implemented
+        return "", ""
+
     #-------------------------------------------------------------------------
 
     def remove_impl(self, component):
index 4812df464f2e593370e8e2f9d41ac19163ce9835..bf2827b9836d4edd4b5fddac0b271235a668ee09 100644 (file)
@@ -490,6 +490,14 @@ Engines::EngineComponent_ptr Engines_Parallel_Container_i::find_component_instan
   return anEngine._retn();  
 }
 
+char* Engines_Parallel_Container_i::create_python_service_instance(const char* CompName,
+                                                                  CORBA::String_out reason)
+{
+  // not implemented
+  reason=CORBA::string_dup("");
+  return CORBA::string_dup("");
+}
+
 //=============================================================================
 //! Find or create a new component instance
 /*! 
index 1aa0270348a73e7ff8b1fd319315678e28f4af73..2e445b9bcff1cacb62a92c77101948cf00096259 100644 (file)
@@ -82,6 +82,10 @@ public:
                                  const Engines::FieldsDict& env,
                                  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