From 2021d50fe82461d904ba534b767c828f8cd7d3f1 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Fri, 8 Aug 2014 11:52:46 +0200 Subject: [PATCH] Trying to fix Paco++/MPI optional compilation. --- src/Container/SALOME_Container_i.hxx | 2 +- src/ParallelContainer/SALOME_ParallelContainer_i.cxx | 12 ++++++++++++ src/ParallelContainer/SALOME_ParallelContainer_i.hxx | 3 ++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/Container/SALOME_Container_i.hxx b/src/Container/SALOME_Container_i.hxx index 494d563b5..c9857f711 100644 --- a/src/Container/SALOME_Container_i.hxx +++ b/src/Container/SALOME_Container_i.hxx @@ -106,7 +106,7 @@ 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(); Engines::PyScriptNode_ptr createPyScriptNode(const char* nodeName, const char* code); Engines::PyScriptNode_ptr getDefaultPyScriptNode(); // --- local C++ methods diff --git a/src/ParallelContainer/SALOME_ParallelContainer_i.cxx b/src/ParallelContainer/SALOME_ParallelContainer_i.cxx index 1beef1632..e90641db1 100644 --- a/src/ParallelContainer/SALOME_ParallelContainer_i.cxx +++ b/src/ParallelContainer/SALOME_ParallelContainer_i.cxx @@ -1127,6 +1127,12 @@ Engines_Parallel_Container_i::createPyNode(const char* nodeName, const char* cod return node._retn(); } +Engines::PyNode_ptr Engines_Parallel_Container_i::getDefaultPyNode() +{ + INFOS("Python component not yet implemented"); + return Engines::PyNode::_nil(); +} + Engines::PyScriptNode_ptr Engines_Parallel_Container_i::createPyScriptNode(const char* nodeName, const char* cod) { @@ -1135,6 +1141,12 @@ Engines_Parallel_Container_i::createPyScriptNode(const char* nodeName, const cha return node._retn(); } +Engines::PyScriptNode_ptr Engines_Parallel_Container_i::getDefaultPyScriptNode() +{ + INFOS("Python script node not yet implemented"); + return Engines::PyScriptNode::_nil(); +} + //============================================================================= /*! * diff --git a/src/ParallelContainer/SALOME_ParallelContainer_i.hxx b/src/ParallelContainer/SALOME_ParallelContainer_i.hxx index bc64e8dc6..6576ba613 100644 --- a/src/ParallelContainer/SALOME_ParallelContainer_i.hxx +++ b/src/ParallelContainer/SALOME_ParallelContainer_i.hxx @@ -138,8 +138,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(); protected: SALOME_NamingService *_NS; -- 2.39.2