Salome HOME
IsEqual() method was added for Link.
[modules/superv.git] / src / Supervision / ELNode_Impl.hxx
1 //  SUPERV Supervision : contains the implementation of interfaces of SuperVision described in SUPERV.idl
2 //
3 //  Copyright (C) 2003  CEA/DEN, EDF R&D
4 //
5 //
6 //
7 //  File   : ELNode_Impl.hxx
8 //  Author : Jean Rahuel
9 //  Module : SUPERV
10 //  $Header: 
11
12 #ifndef _ELNODE_IMPL_HXX_
13 #define _ELNODE_IMPL_HXX_
14
15 //#include <iostream.h>
16
17 #include "CORBA.h"
18
19 #include <SALOMEconfig.h>
20 #include "SALOME_Component_i.hxx"
21 #include "SALOME_LifeCycleCORBA.hxx"
22
23 #include "GNode_Impl.hxx"
24
25 #include "Port_Impl.hxx"
26
27 #include "DataFlowEditor_DataFlow.hxx"
28 #include "DataFlowExecutor_DataFlow.hxx"
29
30 class ELNode_Impl : public GNode_Impl ,
31                     public POA_SUPERV::ELNode {
32   private:
33
34     CORBA::ORB_ptr _Orb ;
35     PortableServer::POA_ptr _Poa ;
36     PortableServer::ObjectId * _ContId ;
37
38   public:
39     ELNode_Impl();
40     ELNode_Impl( CORBA::ORB_ptr orb ,
41                PortableServer::POA_ptr poa ,
42                PortableServer::ObjectId * contId , 
43                const char *instanceName ,
44                const char *interfaceName ,
45                GraphEditor::DataFlow * DataFlowEditor ,
46                const char * EndName , 
47                const SUPERV::KindOfNode NodeKindOfNode = SUPERV::EndLoopNode ) ;
48     ELNode_Impl( CORBA::ORB_ptr orb ,
49                PortableServer::POA_ptr poa ,
50                PortableServer::ObjectId * contId , 
51                const char *instanceName ,
52                const char *interfaceName ,
53                GraphEditor::DataFlow * DataFlowEditor ,
54                GraphEditor::InNode * DataFlowNode ) ;
55     virtual ~ELNode_Impl() ;
56     virtual void destroy() ;
57     virtual bool Delete() ;
58
59     virtual GraphBase::EndOfLoopNode * BaseNode() {
60             return DataFlowNode()->EndOfLoopNode() ; } ;
61
62 } ;
63
64 #endif