Home »
Public Forums »
archive »
Signal mechanism for objects in IDL
Signal mechanism for objects in IDL [message #41734] |
Fri, 19 November 2004 01:07 |
Antonio Santiago
Messages: 201 Registered: February 2004
|
Senior Member |
|
|
Hi,
i write a little usefull class (at least for me) to bring a signal
mechanism among objects in IDL.
I write the 'EventAction' class. Any object that inherits from them (or
has a field of that type) can emit events.
Also other object mehotd, function or procedures can "listen" a
particular event in any object and will be executed when the event is emit.
I write a little article and a very simple-short example in my web page:
" http://asantiago.gentelibre.org/index.php/archives/2004/11/1 8/a-signal-mechanism-for-objects-in-idl/"
The example not shown the powerfull of the signal mechanism but is only
to show how it works. The really interesting cases are event between
objects because an object don't need to know who is "observing" it.
I hope it will be usefull for somebody.
Bye
|
|
|
Current Time: Wed Oct 08 19:47:26 PDT 2025
Total time taken to generate the page: 0.00941 seconds