Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/superv.git] / src / Supervision / SNode_Impl.hxx
1 //=============================================================================
2 // File      : SNode_Impl.hxx
3 // Created   : 2003
4 // Author    : Jean Rahuel
5 // Project   : SALOME
6 // Copyright : CEA 2003
7 // $Header: 
8 //=============================================================================
9
10 #ifndef _SNODE_IMPL_HXX_
11 #define _SNODE_IMPL_HXX_
12
13 #include <iostream.h>
14
15 #include "CORBA.h"
16
17 #include <SALOMEconfig.h>
18 #include "SALOME_Component_i.hxx"
19 #include "SALOME_LifeCycleCORBA.hxx"
20
21 #include "GNode_Impl.hxx"
22 #include "Port_Impl.hxx"
23
24 #include "DataFlowEditor_DataFlow.hxx"
25 #include "DataFlowExecutor_DataFlow.hxx"
26
27 class SNode_Impl : public GNode_Impl ,
28                    public POA_SUPERV::SNode {
29   private:
30
31     CORBA::ORB_ptr             _Orb ;
32     PortableServer::POA_ptr    _Poa ;
33     PortableServer::ObjectId * _ContId ;
34
35   public:
36     SNode_Impl();
37     SNode_Impl( CORBA::ORB_ptr orb ,
38                 PortableServer::POA_ptr poa ,
39                 PortableServer::ObjectId * contId , 
40                 const char *instanceName ,
41                 const char *interfaceName ,
42                 GraphEditor::DataFlow * DataFlowEditor ,
43                 const char * FuncName , 
44                 const SUPERV::ListOfStrings & PythonFunction ,
45                 const SUPERV::KindOfNode NodeKindOfNode = SUPERV::SwitchNode ) ;
46     SNode_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     virtual ~SNode_Impl() ;
54     virtual void destroy() ;
55     virtual bool Delete() ;
56
57     virtual GraphBase::SwitchNode * BaseNode() {
58             return DataFlowNode()->SwitchNode() ; } ;
59
60 } ;
61
62 #endif