Signals & Slots



I think if you just follow through the different typical tasks you might
undertake with the two libraries as Murray wrote:

"
1. Create a signal
2. Connect a slot (callback function) to a signal.
  2.2 For a member method.
  2.3 For a non-member or static function.
3. Disconnect a slot.
4. Bind an extra parameter, so that e.g. a slot with 4 parameters can be
used with a signal with 3 parameters. I don't personally find the more
complex adaptors interesting.
"

Then write up a document where, in each case, the code needed for both
libraries is given, and then I small discusion about any differences or
similarities. Perhaps in each case, giving some approximate figure to
indicate the similarity would be useful.

Presumably, this could then end up in the appendix of, or being referenced
by, a proposal for a standard signals/slots interface. I don't know what is
involved to be honest.

I suppose, it needn't be just the one person doing the comparison, there are
four tasks in the list (and maybe a few more besides), so four people could
spread the work load, and maybe a 5th could add final conclusions and draw
together the others notes.

Cheers all,

Gaz



-----Original Message-----
From: libsigc-list-bounces gnome org [mailto:libsigc-list-bounces gnome org]
On Behalf Of Carl Nygard
Sent: 18 November 2004 19:20
To: Doug Gregor
Cc: libsigc-list gnome org; boost-users lists boost org;
gtkmm-list gnome org
Subject: Re: [sigc] Re: [Boost-users] Signals & Slots


On Thu, 2004-11-18 at 14:09, Doug Gregor wrote:
> On Nov 18, 2004, at 1:10 PM, Murray Cumming wrote:

> I'm not in a position to do this at the moment, although possibly in 
> the future. It would be *wonderful* if someone went off and studied 
> both libraries in-depth to make this comparison, especially if that 
> person was not intimately familiar with either library beforehand.

I'm in a reasonably sane position to do this, although only time will
tell if what comes out is useful to anyone or not.

Regards,
Carl

_______________________________________________
libsigc-list mailing list
libsigc-list gnome org
http://mail.gnome.org/mailman/listinfo/libsigc-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]