X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSupervision%2FLink_Impl.hxx;h=0f0ef19ec07bb28f3be5cd633b086b4d56d858da;hb=09952140ba09c68a1bc9e0af364e32807f4353a4;hp=8cbd9e5d947f4c4b043e53c5090c1ba041e10c8a;hpb=d2ea75950816c9bb41f70a80a8c4339d3d0ff9a5;p=modules%2Fsuperv.git diff --git a/src/Supervision/Link_Impl.hxx b/src/Supervision/Link_Impl.hxx index 8cbd9e5..0f0ef19 100644 --- a/src/Supervision/Link_Impl.hxx +++ b/src/Supervision/Link_Impl.hxx @@ -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 +//#include #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() ;