X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_Hypothesis_i.cxx;h=d5cdce9fbc609496ddb130f93bfb02d8e1de9e51;hp=87c16ee4e12632f9d244c58df93a0ab917667a16;hb=f7a79421091ec31b578a24054f83f42babba0333;hpb=c3bf92bd87b770fd81631a3853f7f5bb1ac6a4e8 diff --git a/src/SMESH_I/SMESH_Hypothesis_i.cxx b/src/SMESH_I/SMESH_Hypothesis_i.cxx index 87c16ee4e..d5cdce9fb 100644 --- a/src/SMESH_I/SMESH_Hypothesis_i.cxx +++ b/src/SMESH_I/SMESH_Hypothesis_i.cxx @@ -43,11 +43,27 @@ using namespace std; SMESH_Hypothesis_i::SMESH_Hypothesis_i( PortableServer::POA_ptr thePOA ) : SALOME::GenericObj_i( thePOA ) { - MESSAGE( "SMESH_Hypothesis_i::SMESH_Hypothesis_i" ); + MESSAGE( "SMESH_Hypothesis_i::SMESH_Hypothesis_i / Début" ); myBaseImpl = 0; - thePOA->activate_object( this ); + // _CS_gbo This instruction fails + // thePOA->activate_object( this ); + // _CS_gbo I keep the POA reference to activate the object in the future. + myPOA = thePOA; + + MESSAGE( "SMESH_Hypothesis_i::SMESH_Hypothesis_i / Fin" ); }; +//============================================================================= +/*! + * SMESH_Hypothesis_i::Activate() + * + * Activation of the object + */ +//============================================================================= +void SMESH_Hypothesis_i::Activate() { + myPOA->activate_object( this ); +} + //============================================================================= /*! * SMESH_Hypothesis_i::~SMESH_Hypothesis_i