SALOME documentation central

idl/SALOME_PACOExtension.idl

Go to the documentation of this file.
00001 //  Copyright (C) 2007-2009  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00005 //
00006 //  This library is free software; you can redistribute it and/or
00007 //  modify it under the terms of the GNU Lesser General Public
00008 //  License as published by the Free Software Foundation; either
00009 //  version 2.1 of the License.
00010 //
00011 //  This library is distributed in the hope that it will be useful,
00012 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 //  Lesser General Public License for more details.
00015 //
00016 //  You should have received a copy of the GNU Lesser General Public
00017 //  License along with this library; if not, write to the Free Software
00018 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00019 //
00020 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 //  File   : SALOME_PACOExtension.idl
00023 //  Author : André RIBES, EDF
00024 //  $Header: 
00025 //
00026 #ifndef _SALOME_PACOExtension_IDL_
00027 #define _SALOME_PACOExtension_IDL_
00028 
00033 #include "SALOME_Component.idl"
00034 #include "DSC_Engines.idl"
00035 
00036 module Engines
00037 {
00038   interface Parallel_Component : Engines::Component {
00039     void send_parallel_proxy_object(in Object proxy_ref);
00040   };
00041 
00042   interface PACO_Container : Engines::Container {
00043     // Replicated Method used by the proxy to create
00044     // a PACO Component
00045     void create_paco_component_node_instance(in string registeredName,
00046                               in string proxy_containerName,
00047                               in long studyId) raises(SALOME::SALOME_Exception);
00048 
00049     void updateInstanceNumber();
00050   };
00051 
00052 /*--------------------------------------------------------------------------------------------*/
00053 
00058   interface Parallel_DSC : Engines::Superv_Component, Engines::Parallel_Component {
00059 
00070     void set_paco_proxy(in Object ref, 
00071                in string provides_port_name,
00072                in Ports::PortProperties port_prop);
00073                
00074   };  
00075 
00081   interface Parallel_Salome_file : Engines::Salome_file {
00082 
00091     void setFileNode(in string file_name, in long node_nbr) raises (SALOME::SALOME_Exception);
00092 
00102     long getFileNode(in string file_name) raises (SALOME::SALOME_Exception);
00103 
00109     Engines::Container updateFile(in Engines::file new_file);
00110 
00116     void recvFiles_node() raises (SALOME::SALOME_Exception);
00117   };
00118 };
00119 
00120 #endif