| View previous topic :: View next topic |
| Author |
Message |
mkhadem
Joined: 22 Nov 2007 Posts: 2 Location: USA
|
Posted: Wed Dec 26, 2007 8:37 am Post subject: Event_Dispatcher |
|
|
Hi,
I need help. I like to write a class which has two inputs and one output as attributes. It adds the inputs value and set the output with the sum. The output could be used as input to the next object. Every time the input is set, a new event is posted and the output will be recalculated and then a new event will be posted which the second object is a observer of the event and should recalculate its output.
How can I set the observer of second object to listen to the changes of the output of first object? They are the same calss but two different instances.
Thanks.
Mohsen |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|