Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / wrappergen / bin / HXX2SALOME_GENERIC_CLASS_NAME_SRC / src / HXX2SALOME_GENERIC_CLASS_NAME / HXX2SALOME_GENERIC_CLASS_NAME_i.hxx
1 #ifndef __HXX2SALOME_GENERIC_CLASS_NAME_HXX_hxx2salome__
2 #define __HXX2SALOME_GENERIC_CLASS_NAME_HXX_hxx2salome__
3
4 #include <SALOMEconfig.h>
5 #include CORBA_SERVER_HEADER(HXX2SALOME_GENERIC_CLASS_NAME_Gen)
6 #include CORBA_CLIENT_HEADER(MED)
7 #include "SALOME_Component_i.hxx"
8 #include "SALOMEMultiComm.hxx"
9 class HXX2SALOME_GENERIC_CLASS_NAME;  // forward declaration
10
11 class HXX2SALOME_GENERIC_CLASS_NAME_i:
12   public POA_HXX2SALOME_GENERIC_CLASS_NAME_ORB::HXX2SALOME_GENERIC_CLASS_NAME_Gen,
13   public Engines_Component_i,
14   public SALOMEMultiComm
15 {
16
17 public:
18     HXX2SALOME_GENERIC_CLASS_NAME_i(CORBA::ORB_ptr orb,
19             PortableServer::POA_ptr poa,
20             PortableServer::ObjectId * contId, 
21             const char *instanceName, 
22             const char *interfaceName);
23     virtual ~HXX2SALOME_GENERIC_CLASS_NAME_i();
24
25 //  HXX2SALOME_HXX_CODE
26
27 private:
28     std::auto_ptr<HXX2SALOME_GENERIC_CLASS_NAME> cppCompo_;
29
30 };
31
32
33 extern "C"
34     PortableServer::ObjectId * HXX2SALOME_GENERIC_CLASS_NAMEEngine_factory(
35             CORBA::ORB_ptr orb,
36             PortableServer::POA_ptr poa,
37             PortableServer::ObjectId * contId,
38             const char *instanceName,
39             const char *interfaceName);
40
41
42 #endif