1 //=============================================================================
2 // File : RegistryConnexion.hxx
3 // Created : Mon Nov 5 17:26:23 CET 2001
4 // Author : Pascale NOYRET - Antoine YESSAYAN, EDF
6 // Copyright : EDF 2001
8 //=============================================================================
11 RegistryConnexion should be used by an engine to add or to remove a component.
14 # if !defined( __RegistryConnexion_HXX__ )
15 # define __RegistryConnexion_HXX__
17 #include <SALOMEconfig.h>
18 #include CORBA_CLIENT_HEADER(SALOME_Registry)
21 class RegistryConnexion
24 const char* _Ior ; // engine ior
25 Registry::Components_var _VarComponents ; // RegistryService reference
27 string _Name ; // code name
28 int _Id ; // code identity returned by RegistryService
29 void add( const char *aName );
31 RegistryConnexion( void );
34 RegistryConnexion( int argc , char **argv , const char *ior , const char *ptrSessionName, const char *componentName );
38 # endif /* # if !defined( __RegistryConnexion_H__ ) */