1 //=============================================================================
2 // File : SALOME_Component_i.hxx
3 // Created : jeu jui 12 08:04:40 CEST 2001
4 // Author : Paul RASCLE, EDF - MARC TAJCHMAN, CEA
6 // Copyright : EDF 2001 - CEA 2001
8 //=============================================================================
10 #ifndef _SALOME_COMPONENT_I_HXX_
11 #define _SALOME_COMPONENT_I_HXX_
17 #include <sys/types.h>
19 #include <SALOMEconfig.h>
20 #include CORBA_SERVER_HEADER(SALOME_Component)
21 #include "NOTIFICATION.hxx"
23 class RegistryConnexion;
25 class Engines_Component_i: public virtual POA_Engines::Component,
26 public virtual PortableServer::RefCountServantBase
29 Engines_Component_i();
30 Engines_Component_i(CORBA::ORB_ptr orb,
31 PortableServer::POA_ptr poa,
32 PortableServer::ObjectId * contId,
33 const char *instanceName,
34 const char *interfaceName,
36 // Consructeur pour composant parallele: ne pas faire appel au registry
37 Engines_Component_i(CORBA::ORB_ptr orb,
38 PortableServer::POA_ptr poa,
39 PortableServer::ObjectId * contId,
40 const char *instanceName,
41 const char *interfaceName,
45 virtual ~Engines_Component_i();
48 char* interfaceName();
53 Engines::Container_ptr GetContainerRef();
54 PortableServer::ObjectId * getId();
56 void beginService(const char *serviceName);
57 void endService(const char *serviceName);
58 void sendMessage(const char *event_type, const char *message);
60 void Names( const char * graphName , const char * nodeName ) ;
69 string _instanceName ;
70 string _interfaceName ;
75 PortableServer::POA_ptr _poa;
76 PortableServer::ObjectId * _id;
77 PortableServer::ObjectId * _contId;
78 Engines_Component_i * _thisObj ;
79 RegistryConnexion *_myConnexionToRegistry;
80 NOTIFICATION_Supplier* _notifSupplier;