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 : ESNode_Impl.hxx
8 // Author : Jean Rahuel
12 #ifndef _ESNODE_IMPL_HXX_
13 #define _ESNODE_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 ESNode_Impl : public GNode_Impl ,
30 public POA_SUPERV::ESNode {
34 PortableServer::POA_ptr _Poa ;
35 PortableServer::ObjectId * _ContId ;
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() ;
58 virtual GraphBase::EndOfSwitchNode * BaseNode() {
59 return DataFlowNode()->EndOfSwitchNode() ; } ;