Salome HOME
A special "Loading" state was implemented. It is returned to GUI if the correspondin...
[modules/superv.git] / src / Supervision / Link_Impl.hxx
index 8cbd9e5d947f4c4b043e53c5090c1ba041e10c8a..0f0ef19ec07bb28f3be5cd633b086b4d56d858da 100644 (file)
@@ -1,16 +1,35 @@
-//=============================================================================
-// File      : Link_Impl.hxx
-// Created   : Nov 2001
-// Author    : Jean Rahuel
-// Project   : SALOME
-// Copyright : CEA 2001
-// $Header: 
-//=============================================================================
+//  SUPERV Supervision : contains the implementation of interfaces of SuperVision described in SUPERV.idl
+//
+//  Copyright (C) 2003  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+//
+//
+//
+//  File   : Link_Impl.hxx
+//  Author : Jean Rahuel
+//  Module : SUPERV
+//  $Header: 
 
 #ifndef _LINK_IMPL_HXX_
 #define _LINK_IMPL_HXX_
 
-#include <iostream.h>
+//#include <iostream.h>
 
 #include "CORBA.h"
 
@@ -51,12 +70,29 @@ class Link_Impl : public POA_SUPERV::Link ,
                const char *InputParameterName ,
                GraphEditor::InNode * DataFlowOutNode ,
                const char *OutputParameterName ,
-               const bool Create ) ;
+               const bool Create ,
+               const bool Get ,
+               bool & Success ) ;
 
     virtual ~Link_Impl() ;
     virtual void destroy() ;
     virtual bool Delete() ;
 
+    GraphEditor::DataFlow * DataFlowEditor() {
+                            return _DataFlowEditor ; } ;
+    GraphEditor::InNode * DataFlowNode() {
+                          return _DataFlowNode ; } ;
+    char * DataFlowNodeName() {
+           return _DataFlowNodeName ; } ;
+    char * InputParameterName() {
+           return _InputParameterName ; } ;
+    GraphEditor::InNode * DataFlowOutNode() {
+                          return _DataFlowOutNode ; } ;
+    char * DataFlowOutNodeName() {
+           return _DataFlowOutNodeName ; } ;
+    char * OutputParameterName() {
+           return _OutputParameterName ; } ;
+
     SUPERV::Port_ptr OutPort() ;
     SUPERV::Port_ptr InPort() ;