]> SALOME platform Git repositories - modules/superv.git/blob - src/Supervision/ESNode_Impl.hxx
Salome HOME
Update version to 3.1.0a
[modules/superv.git] / src / Supervision / ESNode_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   : ESNode_Impl.hxx
8 //  Author : Jean Rahuel
9 //  Module : SUPERV
10 //  $Header: 
11
12 #ifndef _ESNODE_IMPL_HXX_
13 #define _ESNODE_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 #include "Port_Impl.hxx"
25
26 #include "DataFlowEditor_DataFlow.hxx"
27 #include "DataFlowExecutor_DataFlow.hxx"
28
29 class ESNode_Impl : public GNode_Impl ,
30                     public POA_SUPERV::ESNode {
31   private:
32
33     CORBA::ORB_ptr             _Orb ;
34     PortableServer::POA_ptr    _Poa ;
35     PortableServer::ObjectId * _ContId ;
36
37   public:
38     ESNode_Impl();
39     ESNode_Impl( CORBA::ORB_ptr orb ,
40                 PortableServer::POA_ptr poa ,
41                 PortableServer::ObjectId * contId , 
42                 const char *instanceName ,
43                 const char *interfaceName ,
44                 GraphEditor::DataFlow * DataFlowEditor ,
45                 const char * FuncName , 
46                 const SUPERV::KindOfNode NodeKindOfNode = SUPERV::EndSwitchNode ) ;
47     ESNode_Impl( CORBA::ORB_ptr orb ,
48                 PortableServer::POA_ptr poa ,
49                 PortableServer::ObjectId * contId , 
50                 const char *instanceName ,
51                 const char *interfaceName ,
52                 GraphEditor::DataFlow * DataFlowEditor ,
53                 GraphEditor::InNode * DataFlowNode ) ;
54     virtual ~ESNode_Impl() ;
55     virtual void destroy() ;
56     virtual bool Delete() ;
57
58     virtual GraphBase::EndOfSwitchNode * BaseNode() {
59             return DataFlowNode()->EndOfSwitchNode() ; } ;
60
61 } ;
62
63 #endif