1 // SUPERV Supervision : contains the implementation of interfaces of SuperVision described in SUPERV.idl
3 // Copyright (C) 2003 CEA/DEN, EDF R&D
7 // File : SNode_Impl.hxx
8 // Author : Jean Rahuel
12 #ifndef _SNODE_IMPL_HXX_
13 #define _SNODE_IMPL_HXX_
15 //#include <iostream.h>
19 #include <SALOMEconfig.h>
20 #include "SALOME_Component_i.hxx"
21 #include "SALOME_LifeCycleCORBA.hxx"
23 #include "GNode_Impl.hxx"
24 #include "Port_Impl.hxx"
26 #include "DataFlowEditor_DataFlow.hxx"
27 #include "DataFlowExecutor_DataFlow.hxx"
29 class SNode_Impl : public GNode_Impl ,
30 public POA_SUPERV::SNode {
34 PortableServer::POA_ptr _Poa ;
35 PortableServer::ObjectId * _ContId ;
39 SNode_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::ListOfStrings & PythonFunction ,
47 const SUPERV::KindOfNode NodeKindOfNode = SUPERV::SwitchNode ) ;
48 SNode_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 ~SNode_Impl() ;
56 virtual void destroy() ;
57 virtual bool Delete() ;
59 virtual GraphBase::SwitchNode * BaseNode() {
60 return DataFlowNode()->SwitchNode() ; } ;