# all the idl files are needed for make dist
EXTRA_DIST= $(BASEIDL_FILES) $(MPIIDL_FILES) $(OTHER_IDL_FILES) \
SALOME_Component.xml DSC_Engines.xml SALOME_Ports.xml \
- SALOME_PACOExtension.xml SALOME_ParamPorts.xml
+ SALOME_PACOExtension.xml SALOME_ParamPorts.xml \
+ SALOME_GenericObj.xml
# This variable defines the files to be installed
salomeidl_DATA = $(IDL_FILES)
SALOME_PortsPaCO.hxx SALOME_PortsPaCO.cxx \
DSC_EnginesPaCO.hxx DSC_EnginesPaCO.cxx \
SALOME_PACOExtensionPaCO.hxx SALOME_PACOExtensionPaCO.cxx \
- SALOME_ParamPortsPaCO.hxx SALOME_ParamPortsPaCO.cxx
+ SALOME_ParamPortsPaCO.hxx SALOME_ParamPortsPaCO.cxx \
+ SALOME_GenericObjPaCO.hxx SALOME_GenericObjPaCO.cxx
PAR_INCLUDES = SALOME_Exception.hxx SALOME_GenericObj.hxx SALOMEDS.hxx SALOME_PyNode.hxx
PAR_LIB = libSalomeParallelIDLKernel.la
IDL_PACO = SALOME_ComponentPaCO.idl SALOME_PortsPaCO.idl DSC_EnginesPaCO.idl \
- SALOME_ParamPortsPaCO.idl SALOME_PACOExtensionPaCO.idl
+ SALOME_ParamPortsPaCO.idl SALOME_PACOExtensionPaCO.idl \
+ SALOME_GenericObjPaCO.idl
GEN_PACO = SALOME_ComponentPaCO_Engines_Container_server.cxx \
SALOME_ComponentPaCO_Engines_Container_client.cxx \
- SALOME_ComponentPaCO_Engines_Component_server.cxx \
- SALOME_ComponentPaCO_Engines_Component_client.cxx \
+ SALOME_ComponentPaCO_Engines_EngineComponent_server.cxx \
+ SALOME_ComponentPaCO_Engines_EngineComponent_client.cxx \
SALOME_ComponentPaCO_Engines_fileTransfer_server.cxx \
SALOME_ComponentPaCO_Engines_fileTransfer_client.cxx \
SALOME_ComponentPaCO_Engines_Salome_file_server.cxx \
SALOME_PACOExtensionPaCO_Engines_Parallel_DSC_server.cxx \
SALOME_PACOExtensionPaCO_Engines_Parallel_DSC_client.cxx \
SALOME_ParamPortsPaCO_Ports_Param_Double_Port_server.cxx \
- SALOME_ParamPortsPaCO_Ports_Param_Double_Port_client.cxx
+ SALOME_ParamPortsPaCO_Ports_Param_Double_Port_client.cxx \
+ SALOME_GenericObjPaCO_SALOME_GenericObj_server.cxx \
+ SALOME_GenericObjPaCO_SALOME_GenericObj_client.cxx
INCLUDES_PACO = SALOME_ComponentPaCO_Engines_Container_server.hxx \
SALOME_ComponentPaCO_Engines_Container_client.hxx \
- SALOME_ComponentPaCO_Engines_Component_server.hxx \
- SALOME_ComponentPaCO_Engines_Component_client.hxx \
+ SALOME_ComponentPaCO_Engines_EngineComponent_server.hxx \
+ SALOME_ComponentPaCO_Engines_EngineComponent_client.hxx \
SALOME_ComponentPaCO_Engines_fileTransfer_server.hxx \
SALOME_ComponentPaCO_Engines_fileTransfer_client.hxx \
SALOME_ComponentPaCO_Engines_Salome_file_server.hxx \
SALOME_ParamPortsPaCO_Ports_Param_Double_Port_server.hxx \
SALOME_ParamPortsPaCO_Ports_Param_Double_Port_client.hxx \
SALOME_ParamPortsPaCO.hxx \
- SALOME_ParamPorts.hxx
+ SALOME_ParamPorts.hxx \
+ SALOME_GenericObjPaCO_SALOME_GenericObj_server.hxx \
+ SALOME_GenericObjPaCO_SALOME_GenericObj_client.hxx \
+ SALOME_GenericObjPaCO.hxx \
+ SALOME_GenericObj.hxx
XML = SALOME_Component.xml DSC_Engines.xml SALOME_Ports.xml \
- SALOME_PACOExtension.xml SALOME_ParamPorts.xml
+ SALOME_PACOExtension.xml SALOME_ParamPorts.xml \
+ SALOME_GenericObj.xml
endif
idldir = $(prefix)/idl/salome
BUILT_SOURCES = $(IDL_SOURCES) $(PAR_INCLUDES) $(PAR)
-SALOME_ComponentPaCO.idl SALOME_ComponentPaCO.hxx SALOME_ComponentPaCO.cxx : SALOME_Component.idl SALOME_Component.xml
+SALOME_GenericObjPaCO.idl SALOME_GenericObjPaCO.hxx SALOME_GenericObjPaCO.cxx : SALOME_GenericObj.idl SALOME_GenericObj.xml
+SALOME_ComponentPaCO.idl SALOME_ComponentPaCO.hxx SALOME_ComponentPaCO.cxx : SALOME_Component.idl SALOME_Component.xml SALOME_GenericObjPaCO.idl
SALOME_PortsPaCO.idl SALOME_PortsPaCO.hxx SALOME_PortsPaCO.cxx : SALOME_Ports.idl SALOME_Ports.xml
DSC_EnginesPaCO.idl DSC_EnginesPaCO.hxx DSC_EnginesPaCO.cxx : DSC_Engines.idl DSC_Engines.xml
SALOME_PACOExtensionPaCO.idl SALOME_PACOExtensionPaCO.hxx SALOME_PACOExtensionPaCO.cxx : SALOME_PACOExtension.idl SALOME_PACOExtension.xml
$(IDL) -p@PACOPATH@/lib/python -bpaco -Wb$(top_srcdir)/idl/$*.xml,$(srcdir):@PACOPATH@/idl $(top_srcdir)/idl/$*.idl
.idl.hxx:
- $(IDL) $(IDLCXXFLAGS) -Wbh=.hxx -Wbs=.cxx $<
+ $(IDL) $(PACOIDLCXXFLAGS) -bcxx -Wbh=.hxx -Wbs=.cxx $<
endif
install-exec-local: $(IDL_FILES:%=$(top_srcdir)/idl/%) Calcium_Ports.idl
--- /dev/null
+<?xml version="1.0"?>
+<!--
+// Copyright (C) 2007-2010 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
+//
+// 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.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+// File : SALOME_GenericObj.xml
+// Author : Andre RIBES, EDF
+-->
+<PaCO_Interface_description>
+<Module>
+ <Name>SALOME</Name>
+ <Interface>
+ <Name>GenericObj</Name>
+ </Interface>
+</Module>
+</PaCO_Interface_description>
+
CORBA_CXXFLAGS=$OMNIORB_CXXFLAGS
CORBA_LIBS=$OMNIORB_LIBS
IDLCXXFLAGS=$OMNIORB_IDLCXXFLAGS
+ PACOIDLCXXFLAGS=$OMNIORB_PACOIDLCXXFLAGS
IDLPYFLAGS=$OMNIORB_IDLPYFLAGS
AC_SUBST(CORBA_ROOT)
AC_SUBST(CORBA_CXXFLAGS)
AC_SUBST(CORBA_LIBS)
AC_SUBST(IDLCXXFLAGS)
+ AC_SUBST(PACOIDLCXXFLAGS)
AC_SUBST(IDLPYFLAGS)
IDL_CLN_H=$OMNIORB_IDL_CLN_H
then
OMNIORB_IDLCXXFLAGS="-Wba -nf -I${OMNIORB_ROOT}/idl"
+ OMNIORB_PACOIDLCXXFLAGS="-nf -I${OMNIORB_ROOT}/idl"
OMNIORB_IDLPYFLAGS_1='-bpython -nf '
OMNIORB_IDLPYFLAGS_2=" -I${OMNIORB_ROOT}/idl"
OMNIORB_IDLPYFLAGS=${OMNIORB_IDLPYFLAGS_1}${OMNIORB_IDLPYFLAGS_2}
AC_SUBST(OMNIORB_IDLCXXFLAGS)
+ AC_SUBST(OMNIORB_PACOIDLCXXFLAGS)
AC_SUBST(OMNIORB_IDLPYFLAGS)
OMNIORB_IDL_CLN_H=.hh
-I$(top_srcdir)/src/NamingService \
-I$(top_srcdir)/src/Utils \
-I$(top_srcdir)/src/DSC/DSC_Basic \
+ -I$(top_srcdir)/src/GenericObj \
-I$(top_builddir)/idl \
-I$(top_srcdir)/src/Registry \
-I$(top_srcdir)/src/Utils \
-I$(top_srcdir)/src/NamingService \
-I$(top_srcdir)/src/Registry \
-I$(top_srcdir)/src/Utils \
+ -I$(top_srcdir)/src/GenericObj \
-I$(srcdir)/../HDFPersist \
-I$(top_builddir)/idl \
-I$(top_srcdir)/src/SALOMETraceCollector \
# This local variable defines the list of dependant libraries common to all target in this package.
COMMON_LIBS = $(top_builddir)/src/Container/libSalomeContainer.la \
+ $(top_builddir)/src/NamingService/libSalomeNS.la \
+ $(top_builddir)/src/SALOMELocalTrace/libSALOMELocalTrace.la \
+ $(top_builddir)/src/Basics/libSALOMEBasics.la \
$(top_builddir)/src/HDFPersist/libSalomeHDFPersist.la \
$(top_builddir)/idl/libSalomeParallelIDLKernel.la \
$(top_builddir)/idl/libSalomeIDLKernel.la \
Engines::fileTransfer_serv(orb,ior,rank),
Engines::Parallel_Salome_file_serv(orb,ior,rank),
Engines::fileTransfer_base_serv(orb,ior,rank),
+ SALOME::GenericObj_serv(orb,ior,rank),
+ SALOME::GenericObj_base_serv(orb,ior,rank),
Engines::Parallel_Salome_file_base_serv(orb,ior,rank)
{
CORBA::Object_ptr obj = _orb->string_to_object(ior);
{
// Init de la méthode
char * proxy_ior;
- Engines::Component_PaCO_var work_node;
+ Engines::EngineComponent_PaCO_var work_node;
std::string aCompName = componentName;
std::string _proxy_containerName = proxy_containerName;
// --- get reference & servant from id
CORBA::Object_var obj = _poa->id_to_reference(*id);
- work_node = Engines::Component_PaCO::_narrow(obj) ;
+ work_node = Engines::EngineComponent_PaCO::_narrow(obj) ;
if (CORBA::is_nil(work_node))
{
INFOS("work_node reference from factory is nil !");
return node._retn();
}
+Engines::PyScriptNode_ptr
+Engines_Parallel_Container_i::createPyScriptNode(const char* nodeName, const char* cod)
+{
+ INFOS("Python script node not yet implemented");
+ Engines::PyScriptNode_var node= Engines::PyScriptNode::_nil();
+ return node._retn();
+}
+
//=============================================================================
/*!
*
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::PyScriptNode_ptr createPyScriptNode(const char* nodeName, const char* code);
protected: