// Module : GEOM
// $Header$
-using namespace std;
#include "GEOMBase_Skeleton.h"
#include "GeometryGUI.h"
#include <qpushbutton.h>
+using namespace std;
+
//=================================================================================
// class : GEOMBase_Skeleton()
// purpose : Constructs a GEOMBase_Skeleton which is a child of 'parent', with the
// Module : GEOM
// $Header$
-using namespace std;
#include "GEOMBase_aParameterDlg.h"
#include "QtxDblSpinBox.h"
#include <qvariant.h>
#include <qvalidator.h>
+#ifndef WNT
+using namespace std;
+#endif
+
+
//======================================================================================
// function : GEOMBase_aParameterDlg()
// purpose : Constructs a GEOMBase_aParametertDlg which is a child of 'parent', with the
// Module : GEOM
// $Header$
-#include <strstream>
+#include <Standard_Stream.hxx>
-using namespace std;
+#include <strstream>
#include "GEOM_Client.hxx"
#include <SALOMEconfig.h>
#include "OpUtil.hxx"
#include "utilities.h"
-#include CORBA_SERVER_HEADER(SALOMEDS)
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-
#include <BRep_Builder.hxx>
#include <BRepTools.hxx>
#include <TopoDS_Shape.hxx>
#include <TopAbs.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
+#ifdef WNT
+#include <process.h>
+#else
#include <unistd.h>
+#endif
+
+#include CORBA_SERVER_HEADER(SALOMEDS)
+#include CORBA_SERVER_HEADER(GEOM_Gen)
#define HST_CLIENT_LEN 256
//=======================================================================
GEOM_Client::GEOM_Client()
{
- pid_client = (long)getpid();
+ pid_client =
+#ifdef WNT
+ (long)_getpid();
+#else
+ (long)getpid();
+#endif
}
//=======================================================================
#include "GEOM_SelectionFilter.h"
-class GEOM_EdgeFilter : public GEOM_SelectionFilter
+class Standard_EXPORT GEOM_EdgeFilter : public GEOM_SelectionFilter
{
public:
GEOM_EdgeFilter( SalomeApp_Study* study, const int kind );
#include "GEOM_SelectionFilter.h"
-class GEOM_FaceFilter : public GEOM_SelectionFilter
+class Standard_EXPORT GEOM_FaceFilter : public GEOM_SelectionFilter
{
public:
GEOM_FaceFilter( SalomeApp_Study* study, const int kind );
#define GEOM_LOGICALFILTER_H
#include <SUIT_SelectionFilter.h>
+#include <Standard_Macro.hxx>
#include <qptrlist.h>
-class GEOM_LogicalFilter : public SUIT_SelectionFilter
+class Standard_EXPORT GEOM_LogicalFilter : public SUIT_SelectionFilter
{
public:
enum { LO_OR, LO_AND, LO_NOT, LO_UNDEFINED };
class GEOM_OCCFilter : public SelectMgr_Filter
{
public:
- GEOM_OCCFilter( SalomeApp_SelectionMgr* theSelMgr);
- ~GEOM_OCCFilter();
+ Standard_EXPORT GEOM_OCCFilter( SalomeApp_SelectionMgr* theSelMgr);
+ Standard_EXPORT ~GEOM_OCCFilter();
- virtual Standard_Boolean IsOk( const Handle(SelectMgr_EntityOwner)& anObj ) const;
+ Standard_EXPORT virtual Standard_Boolean IsOk( const Handle(SelectMgr_EntityOwner)& anObj ) const;
private:
SalomeApp_SelectionMgr* mySelMgr;
#define GEOM_PREVIEW_FILTER_H
#include <SalomeApp_Filter.h>
+#include <Standard_Macro.hxx>
-class GEOM_PreviewFilter : public SalomeApp_Filter
+class Standard_EXPORT GEOM_PreviewFilter : public SalomeApp_Filter
{
public:
GEOM_PreviewFilter( SalomeApp_Study* study );
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(GEOM_Gen)
-class GEOM_SelectionFilter : public SalomeApp_Filter
+class Standard_EXPORT GEOM_SelectionFilter : public SalomeApp_Filter
{
public:
GEOM_SelectionFilter( SalomeApp_Study* study, const bool theAll = false );
// Module : GEOM
// $Header$
-using namespace std;
+#include <Standard_Stream.hxx>
+
#include "GEOM_ShapeTypeFilter.ixx"
#include "SALOME_InteractiveObject.hxx"
#include "GEOM_Client.hxx"
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(GEOM_Gen)
-class GEOM_TypeFilter : public GEOM_SelectionFilter
+class Standard_EXPORT GEOM_TypeFilter : public GEOM_SelectionFilter
{
public:
GEOM_TypeFilter(SalomeApp_Study* study, const int type, const bool isShapeType = false );
Handle(AIS_InteractiveContext) ic = vw->getAISContext();
+#ifndef WNT
NCollection_DataMap<TCollection_AsciiString, TColStd_IndexedMapOfInteger> indexesMap; // "entry - list_of_int" map for LOCAL selection
+#else
+ NCollection_DataMap<Standard_CString, TColStd_IndexedMapOfInteger> indexesMap; // "entry - list_of_int" map for LOCAL selection
+#endif
QMap<QString,int> globalSelMap; // only Key=entry from this map is used. value(int) is NOT used at all.
SelectMgr_IndexedMapOfOwner ownersmap; // map of owners to be selected
if ( subOwner )
{
QString entry = subOwner->entry();
+#ifndef WNT
if ( indexesMap.IsBound( TCollection_AsciiString((char*)entry.latin1())))
+#else
+ if ( indexesMap.IsBound( (char*)entry.latin1()))
+#endif
{
TColStd_IndexedMapOfInteger& subIndexes = indexesMap.ChangeFind((char*)entry.latin1());
subIndexes.Add( subOwner->index() );
class SUIT_SelectionFilter;
//class SALOME_Selection;
-class GEOM_Displayer : public SALOME_Displayer
+#ifdef WNT
+#include <SALOME_WNT.hxx>
+#else
+#define SALOME_WNT_EXPORT
+#endif
+
+class SALOME_WNT_EXPORT GEOM_Displayer : public SALOME_Displayer
{
public:
#include "gp_Ax3.hxx"
+#ifdef WNT
+#include <SALOME_WNT.hxx>
+#else
+#define SALOME_WNT_EXPORT
+#endif
+
typedef QMap<QString, GEOMGUI*> GUIMap;
class QDialog;
// class : GeometryGUI
// purpose :
//=================================================================================
-class GeometryGUI : public SalomeApp_Module
+class SALOME_WNT_EXPORT GeometryGUI : public SalomeApp_Module
{
Q_OBJECT;
-using namespace std;
+#ifdef WNT
+#pragma warning( disable:4786 )
+#endif
+
+#include <Standard_Stream.hxx>
#include "GEOM_Gen_i.hh"
#include <TCollection_AsciiString.hxx>
+#ifdef WNT
+#pragma warning( disable:4786 )
+#endif
+
+#include <Standard_Stream.hxx>
+
#include "GEOM_Gen_i.hh"
#include "GEOM_Object_i.hh"
#include <TopAbs_ShapeEnum.hxx>
#include "SALOMEDS_Tool.hxx"
-using namespace std;
//============================================================================
// function : GEOM_Gen_i()
//============================================================================
void GEOM_Gen_i::register_name(char * name)
{
- GEOM::GEOM_Gen_ptr g = GEOM::GEOM_Gen::_narrow(POA_GEOM::GEOM_Gen::_this());
+ GEOM::GEOM_Gen_ptr g = GEOM::GEOM_Gen::_narrow(_this());
name_service->Register(g, strdup(name));
}
Unexpect aCatch(SALOME_SalomeException);
MESSAGE( "GEOM_Gen_i::GetIBasicOperations" );
- GEOM::GEOM_Gen_ptr engine = POA_GEOM::GEOM_Gen::_this();
+ GEOM::GEOM_Gen_ptr engine = _this();
GEOM_IBasicOperations_i* aServant =
new GEOM_IBasicOperations_i(_poa, engine, _impl->GetIBasicOperations(theStudyID));
Unexpect aCatch(SALOME_SalomeException);
MESSAGE( "GEOM_Gen_i::GetITransformOperations" );
- GEOM::GEOM_Gen_ptr engine = POA_GEOM::GEOM_Gen::_this();
+ GEOM::GEOM_Gen_ptr engine = _this();
GEOM_ITransformOperations_i* aServant =
new GEOM_ITransformOperations_i(_poa, engine, _impl->GetITransformOperations(theStudyID));
Unexpect aCatch(SALOME_SalomeException);
MESSAGE( "GEOM_Gen_i::GetI3DPrimOperations" );
- GEOM::GEOM_Gen_ptr engine = POA_GEOM::GEOM_Gen::_this();
+ GEOM::GEOM_Gen_ptr engine = _this();
GEOM_I3DPrimOperations_i* aServant =
new GEOM_I3DPrimOperations_i(_poa, engine, _impl->GetI3DPrimOperations(theStudyID));
Unexpect aCatch(SALOME_SalomeException);
MESSAGE( "GEOM_Gen_i::GetIShapesOperations" );
- GEOM::GEOM_Gen_ptr engine = POA_GEOM::GEOM_Gen::_this();
+ GEOM::GEOM_Gen_ptr engine = _this();
GEOM_IShapesOperations_i* aServant =
new GEOM_IShapesOperations_i(_poa, engine, _impl->GetIShapesOperations(theStudyID));
Unexpect aCatch(SALOME_SalomeException);
MESSAGE( "GEOM_Gen_i::GetIBlocksOperations" );
- GEOM::GEOM_Gen_ptr engine = POA_GEOM::GEOM_Gen::_this();
+ GEOM::GEOM_Gen_ptr engine = _this();
GEOM_IBlocksOperations_i* aServant =
new GEOM_IBlocksOperations_i(_poa, engine, _impl->GetIBlocksOperations(theStudyID));
Unexpect aCatch(SALOME_SalomeException);
MESSAGE( "GEOM_Gen_i::GetIBooleanOperations" );
- GEOM::GEOM_Gen_ptr engine = POA_GEOM::GEOM_Gen::_this();
+ GEOM::GEOM_Gen_ptr engine = _this();
GEOM_IBooleanOperations_i* aServant =
new GEOM_IBooleanOperations_i(_poa, engine, _impl->GetIBooleanOperations(theStudyID));
Unexpect aCatch(SALOME_SalomeException);
MESSAGE( "GEOM_Gen_i::GetICurvesOperations" );
- GEOM::GEOM_Gen_ptr engine = POA_GEOM::GEOM_Gen::_this();
+ GEOM::GEOM_Gen_ptr engine = _this();
GEOM_ICurvesOperations_i* aServant =
new GEOM_ICurvesOperations_i(_poa, engine, _impl->GetICurvesOperations(theStudyID));
Unexpect aCatch(SALOME_SalomeException);
MESSAGE( "GEOM_Gen_i::GetILocalOperations" );
- GEOM::GEOM_Gen_ptr engine = POA_GEOM::GEOM_Gen::_this();
+ GEOM::GEOM_Gen_ptr engine = _this();
GEOM_ILocalOperations_i* aServant =
new GEOM_ILocalOperations_i(_poa, engine, _impl->GetILocalOperations(theStudyID));
Unexpect aCatch(SALOME_SalomeException);
MESSAGE( "GEOM_Gen_i::IHealingOperations" );
- GEOM::GEOM_Gen_ptr engine = POA_GEOM::GEOM_Gen::_this();
+ GEOM::GEOM_Gen_ptr engine = _this();
GEOM_IHealingOperations_i* aServant =
new GEOM_IHealingOperations_i(_poa, engine, _impl->GetIHealingOperations(theStudyID));
Unexpect aCatch(SALOME_SalomeException);
MESSAGE( "GEOM_Gen_i::GetIInsertOperations" );
- GEOM::GEOM_Gen_ptr engine = POA_GEOM::GEOM_Gen::_this();
+ GEOM::GEOM_Gen_ptr engine = _this();
GEOM_IInsertOperations_i* aServant =
new GEOM_IInsertOperations_i(_poa, engine, _impl->GetIInsertOperations(theStudyID));
Unexpect aCatch(SALOME_SalomeException);
MESSAGE( "GEOM_Gen_i::GetIMeasureOperations" );
- GEOM::GEOM_Gen_ptr engine = POA_GEOM::GEOM_Gen::_this();
+ GEOM::GEOM_Gen_ptr engine = _this();
GEOM_IMeasureOperations_i* aServant =
new GEOM_IMeasureOperations_i(_poa, engine, _impl->GetIMeasureOperations(theStudyID));
Unexpect aCatch(SALOME_SalomeException);
MESSAGE( "GEOM_Gen_i::GetIGroupOperations" );
- GEOM::GEOM_Gen_ptr engine = POA_GEOM::GEOM_Gen::_this();
+ GEOM::GEOM_Gen_ptr engine = _this();
GEOM_IGroupOperations_i* aServant =
new GEOM_IGroupOperations_i(_poa, engine, _impl->GetIGroupOperations(theStudyID));
return obj._retn();
}
- GEOM::GEOM_Gen_ptr engine = POA_GEOM::GEOM_Gen::_this();
+ GEOM::GEOM_Gen_ptr engine = _this();
GEOM_Object_i* servant = new GEOM_Object_i(_poa, engine, handle_object);
obj = servant->_this();
//=====================================================================
// GEOM_Gen_i : class definition
//=====================================================================
-class GEOM_Gen_i: public POA_GEOM::GEOM_Gen, public Engines_Component_i
+class GEOM_Gen_i: virtual public POA_GEOM::GEOM_Gen, virtual public Engines_Component_i
{
public:
-using namespace std;
+#include <Standard_Stream.hxx>
#include "GEOM_I3DPrimOperations_i.hh"
-using namespace std;
+#include <Standard_Stream.hxx>
#include "GEOM_IBasicOperations_i.hh"
-using namespace std;
+#include <Standard_Stream.hxx>
#include "GEOM_IBlocksOperations_i.hh"
// Extract elements of blocks and blocks compounds
GEOM::GEOM_Object_ptr GetPoint (GEOM::GEOM_Object_ptr theShape,
- const CORBA::Double theX,
- const CORBA::Double theY,
- const CORBA::Double theZ,
- const CORBA::Double theEpsilon);
+ CORBA::Double theX,
+ CORBA::Double theY,
+ CORBA::Double theZ,
+ CORBA::Double theEpsilon);
GEOM::GEOM_Object_ptr GetEdge (GEOM::GEOM_Object_ptr theShape,
GEOM::GEOM_Object_ptr thePoint1,
// Check blocks compound
CORBA::Boolean IsCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
- const CORBA::Long theMinNbFaces,
- const CORBA::Long theMaxNbFaces,
+ CORBA::Long theMinNbFaces,
+ CORBA::Long theMaxNbFaces,
CORBA::Long& theNbBlocks);
CORBA::Boolean CheckCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
// Extract blocks from blocks compounds
GEOM::ListOfGO* ExplodeCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
- const CORBA::Long theMinNbFaces,
- const CORBA::Long theMaxNbFaces);
+ CORBA::Long theMinNbFaces,
+ CORBA::Long theMaxNbFaces);
GEOM::GEOM_Object_ptr GetBlockNearPoint (GEOM::GEOM_Object_ptr theCompound,
GEOM::GEOM_Object_ptr thePoint);
// Operations on blocks with gluing of result
GEOM::GEOM_Object_ptr MakeMultiTransformation1D (GEOM::GEOM_Object_ptr theBlock,
- const CORBA::Long theDirFace1,
- const CORBA::Long theDirFace2,
- const CORBA::Long theNbTimes);
+ CORBA::Long theDirFace1,
+ CORBA::Long theDirFace2,
+ CORBA::Long theNbTimes);
GEOM::GEOM_Object_ptr MakeMultiTransformation2D (GEOM::GEOM_Object_ptr theBlock,
- const CORBA::Long theDirFace1U,
- const CORBA::Long theDirFace2U,
- const CORBA::Long theNbTimesU,
- const CORBA::Long theDirFace1V,
- const CORBA::Long theDirFace2V,
- const CORBA::Long theNbTimesV);
+ CORBA::Long theDirFace1U,
+ CORBA::Long theDirFace2U,
+ CORBA::Long theNbTimesU,
+ CORBA::Long theDirFace1V,
+ CORBA::Long theDirFace2V,
+ CORBA::Long theNbTimesV);
// Build groups for Propagation of 1D hypotheses
GEOM::ListOfGO* Propagate (GEOM::GEOM_Object_ptr theShape);
-using namespace std;
+#include <Standard_Stream.hxx>
#include "GEOM_IBooleanOperations_i.hh"
const GEOM::ListOfGO& theTools,
const GEOM::ListOfGO& theKeepInside,
const GEOM::ListOfGO& theRemoveInside,
- const CORBA::Short theLimit,
- const CORBA::Boolean theRemoveWebs,
+ CORBA::Short theLimit,
+ CORBA::Boolean theRemoveWebs,
const GEOM::ListOfLong& theMaterials);
-using namespace std;
+#include <Standard_Stream.hxx>
#include "GEOM_ICurvesOperations_i.hh"
-using namespace std;
+#include <Standard_Stream.hxx>
#include "GEOM_IGroupOperations_i.hh"
+#include <Standard_Stream.hxx>
+
#include <list>
-using namespace std;
#include "GEOM_IHealingOperations_i.hh"
#include "GEOM_Engine.hxx"
-using namespace std;
+#ifdef WNT
+#pragma warning( disable:4786 )
+#endif
+
+#include <Standard_Stream.hxx>
#include "GEOM_IInsertOperations_i.hh"
-using namespace std;
+#include <Standard_Stream.hxx>
#include "GEOM_ILocalOperations_i.hh"
-using namespace std;
+#include <Standard_Stream.hxx>
#include "GEOM_IMeasureOperations_i.hh"
-using namespace std;
+#include <Standard_Stream.hxx>
#include "GEOM_IOperations_i.hh"
//=============================================================================
GEOM_IOperations_i::GEOM_IOperations_i(PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, ::GEOM_IOperations* theImpl)
+#ifndef WNT
:SALOME::GenericObj_i( thePOA ), _impl(theImpl), _engine(theEngine)
+#endif
{
thePOA->activate_object(this);
}
-using namespace std;
+#include <Standard_Stream.hxx>
#include "GEOM_IShapesOperations_i.hh"
GEOM::GEOM_Object_ptr MakeWire (const GEOM::ListOfGO& theEdgesAndWires);
GEOM::GEOM_Object_ptr MakeFace (GEOM::GEOM_Object_ptr theWire,
- const CORBA::Boolean isPlanarWanted);
+ CORBA::Boolean isPlanarWanted);
GEOM::GEOM_Object_ptr MakeFaceWires (const GEOM::ListOfGO& theWires,
- const CORBA::Boolean isPlanarWanted);
+ CORBA::Boolean isPlanarWanted);
GEOM::GEOM_Object_ptr MakeShell (const GEOM::ListOfGO& theFacesAndShells);
GEOM::GEOM_Object_ptr MakeCompound (const GEOM::ListOfGO& theShapes);
GEOM::GEOM_Object_ptr MakeGlueFaces (GEOM::GEOM_Object_ptr theShape,
- const CORBA::Double theTolerance);
+ CORBA::Double theTolerance);
GEOM::ListOfGO* MakeExplode (GEOM::GEOM_Object_ptr theShape,
- const CORBA::Long theShapeType,
- const CORBA::Boolean isSorted);
+ CORBA::Long theShapeType,
+ CORBA::Boolean isSorted);
GEOM::ListOfLong* SubShapeAllIDs (GEOM::GEOM_Object_ptr theShape,
- const CORBA::Long theShapeType,
- const CORBA::Boolean isSorted);
+ CORBA::Long theShapeType,
+ CORBA::Boolean isSorted);
GEOM::GEOM_Object_ptr GetSubShape (GEOM::GEOM_Object_ptr theMainShape,
- const CORBA::Long theID);
+ CORBA::Long theID);
CORBA::Long NumberOfFaces (GEOM::GEOM_Object_ptr theShape);
CORBA::Long NumberOfEdges (GEOM::GEOM_Object_ptr theShape);
GEOM::ListOfGO* GetSharedShapes (GEOM::GEOM_Object_ptr theShape1,
GEOM::GEOM_Object_ptr theShape2,
- const CORBA::Long theShapeType);
+ CORBA::Long theShapeType);
GEOM::ListOfGO* GetShapesOnPlane (GEOM::GEOM_Object_ptr theShape,
- const CORBA::Long theShapeType,
+ CORBA::Long theShapeType,
GEOM::GEOM_Object_ptr theAx1,
- const GEOM::shape_state theState);
+ GEOM::shape_state theState);
GEOM::ListOfGO* GetShapesOnCylinder (GEOM::GEOM_Object_ptr theShape,
- const CORBA::Long theShapeType,
+ CORBA::Long theShapeType,
GEOM::GEOM_Object_ptr theAxis,
- const CORBA::Double theRadius,
- const GEOM::shape_state theState);
+ CORBA::Double theRadius,
+ GEOM::shape_state theState);
GEOM::ListOfGO* GetShapesOnSphere (GEOM::GEOM_Object_ptr theShape,
- const CORBA::Long theShapeType,
+ CORBA::Long theShapeType,
GEOM::GEOM_Object_ptr theCenter,
- const CORBA::Double theRadius,
- const GEOM::shape_state theState);
+ CORBA::Double theRadius,
+ GEOM::shape_state theState);
GEOM::ListOfLong* GetShapesOnPlaneIDs (GEOM::GEOM_Object_ptr theShape,
- const CORBA::Long theShapeType,
+ CORBA::Long theShapeType,
GEOM::GEOM_Object_ptr theAx1,
- const GEOM::shape_state theState);
+ GEOM::shape_state theState);
GEOM::ListOfLong* GetShapesOnCylinderIDs (GEOM::GEOM_Object_ptr theShape,
- const CORBA::Long theShapeType,
+ CORBA::Long theShapeType,
GEOM::GEOM_Object_ptr theAxis,
- const CORBA::Double theRadius,
- const GEOM::shape_state theState);
+ CORBA::Double theRadius,
+ GEOM::shape_state theState);
GEOM::ListOfLong* GetShapesOnSphereIDs (GEOM::GEOM_Object_ptr theShape,
- const CORBA::Long theShapeType,
+ CORBA::Long theShapeType,
GEOM::GEOM_Object_ptr theCenter,
- const CORBA::Double theRadius,
- const GEOM::shape_state theState);
+ CORBA::Double theRadius,
+ GEOM::shape_state theState);
GEOM::GEOM_Object_ptr GetInPlace (GEOM::GEOM_Object_ptr theShapeWhere,
GEOM::GEOM_Object_ptr theShapeWhat);
-using namespace std;
+#include <Standard_Stream.hxx>
#include "GEOM_ITransformOperations_i.hh"
-using namespace std;
+#include <Standard_OStream.hxx>
-#include "GEOM_Object_i.hh"
-//#include "GEOM_Gen_i.hh"
-#include "GEOM_ISubShape.hxx"
-#include "GEOMImpl_Types.hxx"
+#include <GEOM_Object_i.hh>
+//#include <GEOM_Gen_i.hh>
+#include <GEOM_ISubShape.hxx>
+#include <GEOMImpl_Types.hxx>
#include "utilities.h"
-#include "OpUtil.hxx"
-#include "Utils_ExceptHandlers.hxx"
+#include <fstream>
+#include <strstream>
+
+#include <OpUtil.hxx>
+#include <Utils_ExceptHandlers.hxx>
#include <TDF_Tool.hxx>
#include <TDF_Label.hxx>
#include <TCollection_AsciiString.hxx>
-#include <fstream.h>
-#include <strstream>
-
#include <BRepTools_ShapeSet.hxx>
#include <BRepTools.hxx>
#include <TopAbs.hxx>
+#ifdef WNT
+#pragma warning( disable:4786 )
+#endif
+
//=============================================================================
/*!
* constructor:
GEOM_Object_i::GEOM_Object_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
Handle(GEOM_Object) theImpl)
-:SALOME::GenericObj_i( thePOA ), _engine(theEngine), _impl(theImpl)
+#ifndef WNT
+: SALOME::GenericObj_i( thePOA ), _engine(theEngine), _impl(theImpl)
+#endif
{
thePOA->activate_object(this);
}