struct TUpdateObjBrowser: public SALOME_Event
{
int myStudyId;
- CORBA::Boolean& myIsDone;
+ CORBA::Boolean* myIsDone;
TUpdateObjBrowser(const int theStudyId,
- CORBA::Boolean& theIsDone):
+ CORBA::Boolean* theIsDone):
myStudyId(theStudyId),
myIsDone(theIsDone)
{}
if (myStudyId == aCStudy->StudyId()) {
MESSAGE("Result_i::updateObjectBrowser");
anApp->updateObjectBrowser();
- myIsDone = true;
+ *myIsDone = true;
break;
}
}
void
BuildGroups(VISU::Result_i* theResult,
VISU_Convertor* theInput,
- CORBA::Boolean& theIsDone,
+ CORBA::Boolean* theIsDone,
SALOMEDS::Study_var theStudyDocument,
const std::string& theRefFatherEntry)
{
void
BuildFields(VISU::Result_i* theResult,
VISU_Convertor* theInput,
- CORBA::Boolean& theIsDone,
+ CORBA::Boolean* theIsDone,
SALOMEDS::Study_var theStudyDocument,
const std::string& theRefFatherEntry)
{
void
BuildMinMax(VISU::Result_i* theResult,
VISU_Convertor* theInput,
- CORBA::Boolean& theIsDone)
+ CORBA::Boolean* theIsDone)
{
TMemManager aMemManager(theResult);
theInput->BuildMinMax();
- theIsDone = true;
+ *theIsDone = true;
}
void
BuildMinMaxFields(VISU::Result_i* theResult,
VISU_Convertor* theInput,
- CORBA::Boolean& theFieldsIsDone,
- CORBA::Boolean& theMinMaxIsDone,
+ CORBA::Boolean* theFieldsIsDone,
+ CORBA::Boolean* theMinMaxIsDone,
SALOMEDS::Study_var theStudyDocument,
const std::string& theRefFatherEntry)
{
boost::thread aThread(boost::bind(&BuildMinMaxFields,
this,
myInput,
- myIsFieldsDone,
- myIsMinMaxDone,
+ &myIsFieldsDone,
+ &myIsMinMaxDone,
myStudyDocument,
aRefFatherEntry));
}
boost::thread aThread(boost::bind(&BuildGroups,
this,
myInput,
- myIsGroupsDone,
+ &myIsGroupsDone,
myStudyDocument,
aRefFatherEntry));
}
BuildFields(this,
myInput,
- myIsFieldsDone,
+ &myIsFieldsDone,
myStudyDocument,
aRefFatherEntry);
BuildMinMax(this,
myInput,
- myIsMinMaxDone);
+ &myIsMinMaxDone);
BuildGroups(this,
myInput,
- myIsGroupsDone,
+ &myIsGroupsDone,
myStudyDocument,
aRefFatherEntry);