Salome HOME
DCQ : Merge with Ecole_Ete_a6.
[modules/superv.git] / src / Supervision / StreamLink_Impl.hxx
1 //  SUPERV Supervision : contains the implementation of interfaces of SuperVision described in SUPERV.idl
2 //
3 //  Copyright (C) 2003  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
21 //
22 //
23 //
24 //  File   : StreamLink_Impl.hxx
25 //  Author : Jean Rahuel
26 //  Module : SUPERV
27 //  $Header: 
28
29 #ifndef _STREAMLINK_IMPL_HXX_
30 #define _STREAMLINK_IMPL_HXX_
31
32 #include "StreamPort_Impl.hxx"
33
34 #include "Link_Impl.hxx"
35
36 class StreamLink_Impl : public POA_SUPERV::StreamLink ,
37                         public Link_Impl {
38   private:
39
40     CORBA::ORB_ptr _Orb ;
41     PortableServer::POA_ptr _Poa ;
42     PortableServer::ObjectId * _ContId ;
43
44   public:
45     StreamLink_Impl();
46     StreamLink_Impl( CORBA::ORB_ptr orb ,
47                      PortableServer::POA_ptr poa ,
48                      PortableServer::ObjectId * contId , 
49                      const char *instanceName ,
50                      const char *interfaceName ,
51                      GraphEditor::DataFlow * DataFlowEditor ,
52                      GraphEditor::InNode * DataFlowNode ,
53                      const char *InputParameterName ,
54                      GraphEditor::InNode * DataFlowOutNode ,
55                      const char *OutputParameterName ,
56                      const bool Create ,
57                      bool & Success ) ;
58
59     virtual ~StreamLink_Impl() ;
60     virtual void destroy() ;
61     virtual bool Delete() ;
62
63     SUPERV::StreamPort_ptr OutStreamPort() ;
64     SUPERV::StreamPort_ptr InStreamPort() ;
65
66 } ;
67
68 #endif