Hi Dizzy,
The idea was to connect objects loosely to listen on signals that another object emits. I know, that there are other ways to get this done (e.g. Observer-Pattern). The question was rather theoretically to use preexisting functionality of MURL before creating a self made solution.
One use case could be, that you have a speedometer. Several other objects have to react, when the car has e.g. accelerated to 100 mph.
Or else, you have a slider that controls the volume/radio frequency/anything else. When the value changes, it should emit a signal and object that are interested in this value, react on the change.
Do you get what I mean?
Greetings,
Josef
PS: Summer break over? There was quite some silence in the forum...
(31 Jul 2013, 15:45)dizzy Wrote: May I ask what specific task you have in mind for using a signal/slot scheme?
The idea was to connect objects loosely to listen on signals that another object emits. I know, that there are other ways to get this done (e.g. Observer-Pattern). The question was rather theoretically to use preexisting functionality of MURL before creating a self made solution.
One use case could be, that you have a speedometer. Several other objects have to react, when the car has e.g. accelerated to 100 mph.
Or else, you have a slider that controls the volume/radio frequency/anything else. When the value changes, it should emit a signal and object that are interested in this value, react on the change.
Do you get what I mean?
Greetings,
Josef
PS: Summer break over? There was quite some silence in the forum...