]> SALOME platform Git repositories - tools/hxx2salome.git/blob - scripts/TEMPLATE_SRC/src/TEMPLATE/TEMPLATE_i.hxx
Salome HOME
d8d3070353a3770deece68d80eba2c0fe8842234
[tools/hxx2salome.git] / scripts / TEMPLATE_SRC / src / TEMPLATE / TEMPLATE_i.hxx
1 #ifndef _TEMPLATE_HXX_
2 #define _TEMPLATE_HXX_
3
4 #include <SALOMEconfig.h>
5 #include CORBA_SERVER_HEADER(TEMPLATE_Gen)
6 #include CORBA_CLIENT_HEADER(MED)
7 #include "SALOME_Component_i.hxx"
8 #include "SALOMEMultiComm.hxx"
9 class TEMPLATE;  // forward declaration
10
11 class TEMPLATE_i:
12   public POA_TEMPLATE_ORB::TEMPLATE_Gen,
13   public Engines_Component_i,
14   public SALOMEMultiComm
15 {
16
17 public:
18     TEMPLATE_i(CORBA::ORB_ptr orb,
19             PortableServer::POA_ptr poa,
20             PortableServer::ObjectId * contId, 
21             const char *instanceName, 
22             const char *interfaceName);
23     virtual ~TEMPLATE_i();
24
25 //  HXX2SALOME_HXX_CODE
26
27 private:
28     std::auto_ptr<TEMPLATE> cppCompo_;
29
30 };
31
32
33 extern "C"
34     PortableServer::ObjectId * TEMPLATEEngine_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