qt-interest@trolltech.com
[Top] [All Lists]

RE: How to make execution of slots deterministic

Subject: RE: How to make execution of slots deterministic
From: <>
Date: Fri, 24 Oct 2008 11:47:20 +0200
Castagne Nicolas wrote on Friday, October 24, 2008 11:33 AM:

> Hi Elvis,
>
> I've been into such a problem once.
>
> I did the following:
> instead of connecting a signal to many slots, connect it to a single
> slots, that emits signal in the appropriate order - those signals
> being connected to the initial multiple slots.

Clever! And if you would combine this "signal ordering" mechanism with the 
flexible approach of my "Manager" object (see my other post about 1 minute ago 
:) you could maybe even assign a "Priority" dynamically to each signal (instead 
of an interface "Component"), so you could change the order of the signals 
dynamically.

Cheers, Oliver

--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>