Salome HOME
*** empty log message ***
[modules/superv.git] / src / Supervision / INode_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   : INode_Impl.hxx
8 //  Author : Jean Rahuel
9 //  Module : SUPERV
10 //  $Header: 
11
12 #ifndef _INODE_IMPL_HXX_
13 #define _INODE_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 "CNode_Impl.hxx"
24
25 #include "Port_Impl.hxx"
26
27 #include "DataFlowEditor_DataFlow.hxx"
28 #include "DataFlowExecutor_DataFlow.hxx"
29
30 class INode_Impl : public CNode_Impl ,
31                    public POA_SUPERV::INode {
32   private:
33
34     CORBA::ORB_ptr             _Orb ;
35     PortableServer::POA_ptr    _Poa ;
36     PortableServer::ObjectId * _ContId ;
37
38   public:
39     INode_Impl();
40     INode_Impl( CORBA::ORB_ptr orb ,
41                 PortableServer::POA_ptr poa ,
42                 PortableServer::ObjectId * contId , 
43                 const char *instanceName ,
44                 const char *interfaceName ,
45                 const char *aDataFlowName ) ;
46     INode_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                 const char * FuncName , 
53                 const SUPERV::ListOfStrings & PythonFunction ,
54                 const SUPERV::KindOfNode NodeKindOfNode = SUPERV::InLineNode ) ;
55     INode_Impl( CORBA::ORB_ptr orb ,
56                 PortableServer::POA_ptr poa ,
57                 PortableServer::ObjectId * contId , 
58                 const char *instanceName ,
59                 const char *interfaceName ,
60                 GraphEditor::DataFlow * DataFlowEditor ,
61                 const GraphBase::ListOfFuncName FuncName , 
62                 const GraphBase::ListOfPythonFunctions PythonFunction ,
63                 const SUPERV::KindOfNode NodeKindOfNode = SUPERV::InLineNode ) ;
64     INode_Impl( CORBA::ORB_ptr orb ,
65                 PortableServer::POA_ptr poa ,
66                 PortableServer::ObjectId * contId , 
67                 const char *instanceName ,
68                 const char *interfaceName ,
69                 GraphEditor::DataFlow * DataFlowEditor ,
70                 GraphEditor::InNode * DataFlowNode ) ;
71     virtual ~INode_Impl() ;
72     virtual void destroy() ;
73     virtual bool Delete() ;
74
75     virtual void SetPyFunction( const char * FuncName ,
76                                 const SUPERV::ListOfStrings & aPyFunction ) ;
77     virtual SUPERV::ListOfStrings * PyFunction() ;
78     virtual char * PyFuncName() ;
79
80     virtual GraphBase::InLineNode * BaseNode() {
81             return DataFlowNode()->InLineNode() ; } ;
82
83 } ;
84
85 #endif