Salome HOME
Fix linkage problem: add missing -l options
[modules/superv.git] / src / Supervision / StreamLink_Impl.hxx
1 //  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 //  This library is free software; you can redistribute it and/or
7 //  modify it under the terms of the GNU Lesser General Public
8 //  License as published by the Free Software Foundation; either
9 //  version 2.1 of the License.
10 //
11 //  This library is distributed in the hope that it will be useful,
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 //  Lesser General Public License for more details.
15 //
16 //  You should have received a copy of the GNU Lesser General Public
17 //  License along with this library; if not, write to the Free Software
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 //  SUPERV Supervision : contains the implementation of interfaces of SuperVision described in SUPERV.idl
23 //  File   : StreamLink_Impl.hxx
24 //  Author : Jean Rahuel
25 //  Module : SUPERV
26 //  $Header: 
27 //
28 #ifndef _STREAMLINK_IMPL_HXX_
29 #define _STREAMLINK_IMPL_HXX_
30
31 #include "StreamPort_Impl.hxx"
32
33 #include "Link_Impl.hxx"
34
35 class StreamLink_Impl : public POA_SUPERV::StreamLink ,
36                         public Link_Impl {
37   private:
38
39     CORBA::ORB_ptr _Orb ;
40     PortableServer::POA_ptr _Poa ;
41     PortableServer::ObjectId * _ContId ;
42
43   public:
44     StreamLink_Impl();
45     StreamLink_Impl( CORBA::ORB_ptr orb ,
46                      PortableServer::POA_ptr poa ,
47                      PortableServer::ObjectId * contId , 
48                      const char *instanceName ,
49                      const char *interfaceName ,
50                      GraphEditor::DataFlow * DataFlowEditor ,
51                      GraphEditor::InNode * DataFlowNode ,
52                      const char *InputParameterName ,
53                      GraphEditor::InNode * DataFlowOutNode ,
54                      const char *OutputParameterName ,
55                      const bool Create ,
56                      bool & Success ) ;
57
58     virtual ~StreamLink_Impl() ;
59     virtual void destroy() ;
60     virtual bool Delete() ;
61
62     SUPERV::StreamPort_ptr OutStreamPort() ;
63     SUPERV::StreamPort_ptr InStreamPort() ;
64
65 } ;
66
67 #endif