* Constructor
*/
//===========================================================
-VISU_Event::VISU_Event( int eventType, bool wait ) : SALOME_Event ( eventType, wait )
+VISU_Event::VISU_Event( int eventType, bool wait, bool autoRelease ) : SALOME_Event ( eventType, wait, autoRelease )
{
}
ShowTestObjectEvent,
LastEvent = VISU_START_EVENT + 1000 };
- VISU_Event( int eventType, bool wait );
+ VISU_Event( int eventType, bool wait, bool autoRelease = false );
virtual ~VISU_Event();
// Custom data can be added here...
if(myMutex){
VISU_Event* ve = new VISU_Event( VISU_Event::CreateTestViewEvent, true );
ve->process();
+ ve->release();
return;
}
myVisuGen->CreateTestView();
if(myMutex){
VISU_Event* ve = new VISU_Event( VISU_Event::ShowTestObjectEvent, true );
ve->process();
+ ve->release();
return;
}
myVisuGen->ShowTestObject();