+++ /dev/null
-#include "TEMPLATE_i.hxx"
-// HXX2SALOME_CPP_INCLUDE
-using namespace std;
-#include "FIELDClient.hxx"
-#include "MESHClient.hxx"
-#include <string>
-#include "MEDMEM_Support_i.hxx"
-#include "MEDMEM_Mesh_i.hxx"
-#include "MEDMEM_FieldDouble_i.hxx"
-#include "MEDMEM_FieldInt_i.hxx"
-#include "SenderFactory.hxx"
-#include "MultiCommException.hxx"
-#include "ReceiverFactory.hxx"
-
-//=============================================================================
-/*!
- * standard constructor
- */
-//=============================================================================
-TEMPLATE_i::TEMPLATE_i(CORBA::ORB_ptr orb,
- PortableServer::POA_ptr poa,
- PortableServer::ObjectId * contId,
- const char *instanceName,
- const char *interfaceName) :
- Engines_Component_i(orb, poa, contId, instanceName, interfaceName),cppCompo_(new TEMPLATE)
-{
- MESSAGE("activate object");
- _thisObj = this ;
- _id = _poa->activate_object(_thisObj);
-}
-
-TEMPLATE_i::~TEMPLATE_i()
-{
-}
-
-// HXX2SALOME_CXX_CODE
-
-
-extern "C"
-{
- PortableServer::ObjectId * TEMPLATEEngine_factory(
- CORBA::ORB_ptr orb,
- PortableServer::POA_ptr poa,
- PortableServer::ObjectId * contId,
- const char *instanceName,
- const char *interfaceName)
- {
- MESSAGE("PortableServer::ObjectId * TEMPLATEEngine_factory()");
- SCRUTE(interfaceName);
- TEMPLATE_i * myTEMPLATE
- = new TEMPLATE_i(orb, poa, contId, instanceName, interfaceName);
- return myTEMPLATE->getId() ;
- }
-}