VISU::Result_i
::UpdateObservers()
{
- myUpdateObserverSignal();
+ struct TEvent: public SALOME_Event
+ {
+ VISU::Result_i::TUpdateObserverSignal& myUpdateObserverSignal;
+
+ TEvent(VISU::Result_i::TUpdateObserverSignal& theUpdateObserverSignal):
+ myUpdateObserverSignal(theUpdateObserverSignal)
+ {}
+
+ virtual
+ void
+ Execute()
+ {
+ myUpdateObserverSignal();
+ }
+ };
+
+ ProcessVoidEvent(new TEvent(myUpdateObserverSignal));
}