1 //=============================================================================
2 // File : SNode_Impl.hxx
4 // Author : Jean Rahuel
6 // Copyright : CEA 2003
8 //=============================================================================
10 #ifndef _SNODE_IMPL_HXX_
11 #define _SNODE_IMPL_HXX_
17 #include <SALOMEconfig.h>
18 #include "SALOME_Component_i.hxx"
19 #include "SALOME_LifeCycleCORBA.hxx"
21 #include "GNode_Impl.hxx"
22 #include "Port_Impl.hxx"
24 #include "DataFlowEditor_DataFlow.hxx"
25 #include "DataFlowExecutor_DataFlow.hxx"
27 class SNode_Impl : public GNode_Impl ,
28 public POA_SUPERV::SNode {
32 PortableServer::POA_ptr _Poa ;
33 PortableServer::ObjectId * _ContId ;
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() ;
57 virtual GraphBase::SwitchNode * BaseNode() {
58 return DataFlowNode()->SwitchNode() ; } ;