1 #include "HXX2SALOME_GENERIC_CLASS_NAME_i.hxx"
2 // HXX2SALOME_CPP_INCLUDE
4 #include "FIELDClient.hxx"
5 #include "MESHClient.hxx"
7 #include "MEDMEM_Support_i.hxx"
8 #include "MEDMEM_Mesh_i.hxx"
9 #include "MEDMEM_FieldTemplate_i.hxx"
10 #include "SenderFactory.hxx"
11 #include "MultiCommException.hxx"
12 #include "ReceiverFactory.hxx"
13 #include "SALOME_Matrix_i.hxx"
14 #include "MatrixClient.hxx"
16 //=============================================================================
18 * standard constructor
20 //=============================================================================
21 HXX2SALOME_GENERIC_CLASS_NAME_i::HXX2SALOME_GENERIC_CLASS_NAME_i(CORBA::ORB_ptr orb,
22 PortableServer::POA_ptr poa,
23 PortableServer::ObjectId * contId,
24 const char *instanceName,
25 const char *interfaceName) :
26 Engines_Component_i(orb, poa, contId, instanceName, interfaceName),cppCompo_(new HXX2SALOME_GENERIC_CLASS_NAME)
28 MESSAGE("activate object");
30 _id = _poa->activate_object(_thisObj);
33 HXX2SALOME_GENERIC_CLASS_NAME_i::~HXX2SALOME_GENERIC_CLASS_NAME_i()
37 // HXX2SALOME_CXX_CODE
42 PortableServer::ObjectId * HXX2SALOME_GENERIC_CLASS_NAMEEngine_factory(
44 PortableServer::POA_ptr poa,
45 PortableServer::ObjectId * contId,
46 const char *instanceName,
47 const char *interfaceName)
49 MESSAGE("PortableServer::ObjectId * HXX2SALOME_GENERIC_CLASS_NAMEEngine_factory()");
50 SCRUTE(interfaceName);
51 HXX2SALOME_GENERIC_CLASS_NAME_i * myHXX2SALOME_GENERIC_CLASS_NAME
52 = new HXX2SALOME_GENERIC_CLASS_NAME_i(orb, poa, contId, instanceName, interfaceName);
53 return myHXX2SALOME_GENERIC_CLASS_NAME->getId() ;