Salome HOME
d867d1fe5138d6f85e448cb480456cb1121c44e6
[modules/yacs.git] / src / wrappergen / bin / HXX2SALOME_GENERIC_CLASS_NAME_SRC / src / HXX2SALOME_GENERIC_CLASS_NAME / HXX2SALOME_GENERIC_CLASS_NAME_i.hxx
1 // Copyright (C) 2006-2024  CEA, EDF
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 #ifndef __HXX2SALOME_GENERIC_CLASS_NAME_HXX_hxx2salome__
21 #define __HXX2SALOME_GENERIC_CLASS_NAME_HXX_hxx2salome__
22
23 #include <SALOMEconfig.h>
24 #include CORBA_SERVER_HEADER(HXX2SALOME_GENERIC_CLASS_NAME_Gen)
25 #include CORBA_CLIENT_HEADER(MED)
26 #include "SALOME_Component_i.hxx"
27 #include "SALOMEMultiComm.hxx"
28 class HXX2SALOME_GENERIC_CLASS_NAME;  // forward declaration
29
30 class HXX2SALOME_GENERIC_CLASS_NAME_i:
31   public POA_HXX2SALOME_GENERIC_CLASS_NAME_ORB::HXX2SALOME_GENERIC_CLASS_NAME_Gen,
32   public Engines_Component_i,
33   public SALOMEMultiComm
34 {
35
36 public:
37     HXX2SALOME_GENERIC_CLASS_NAME_i(CORBA::ORB_ptr orb,
38             PortableServer::POA_ptr poa,
39             PortableServer::ObjectId * contId, 
40             const char *instanceName, 
41             const char *interfaceName);
42     virtual ~HXX2SALOME_GENERIC_CLASS_NAME_i();
43
44 //  HXX2SALOME_HXX_CODE
45
46 private:
47     std::auto_ptr<HXX2SALOME_GENERIC_CLASS_NAME> cppCompo_;
48
49 };
50
51
52 extern "C"
53     PortableServer::ObjectId * HXX2SALOME_GENERIC_CLASS_NAMEEngine_factory(
54             CORBA::ORB_ptr orb,
55             PortableServer::POA_ptr poa,
56             PortableServer::ObjectId * contId,
57             const char *instanceName,
58             const char *interfaceName);
59
60
61 #endif