]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/engine/Node.cxx
Salome HOME
Signal emission for precise track of ForEachLoop
[modules/yacs.git] / src / engine / Node.cxx
index 15fd814f5a9373b29ad8dcdba21a0f148a178868..0c633c86e549b1c87703e0362cd851d45e0eee85 100644 (file)
@@ -660,6 +660,16 @@ void Node::sendEvent(const std::string& event)
   disp->dispatch(this,event);
 }
 
+//! emit notification to all observers registered with  the dispatcher 
+/*!
+ * The dispatcher is unique and can be obtained by getDispatcher()
+ */
+void Node::sendEvent2(const std::string& event, void *something)
+{
+  Dispatcher* disp=Dispatcher::getDispatcher();
+  disp->dispatch2(this,event,something);
+}
+
 /*!
  *  For use only when loading a previously saved execution
  */