sigc++ signals and GSignal



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

This is mainly a sigc++ question, but relates to GSignal, so I hope
it's on topic.

With GSignal, you can connect a handler, or override a virtual
function in the object class.  In addition, you can specify whether
the virtual function is run first or last, and then connect signals
to run before /or/ after the signal if it runs last.

With sigc::signal, I can only run signals in the order they were
connected.  I'd like to mimic GSignal, in that I want to provide a
default implementation which may be overridden, but if overridden, I
might not want the default to run at all.  Is this possible?


Many thanks,
Roger

- -- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>

iD8DBQFDoZ1OVcFcaSW/uEgRAtFgAKDn7A6/F8aF5ERTRfF3rqJMzSgXkQCgsgDp
gR8iGRxmcQgaAHYm2wYC7cw=
=NFdE
-----END PGP SIGNATURE-----



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