Boost logo

Boost Users :

From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2008-01-02 11:20:21


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

On Tuesday 01 January 2008 17:13 pm, Vladimir Prus wrote:
> It should be noted that in general, porting Qt signals/slots
> to Boost is not possible:
>
> 1. Qt signals/slots are dynamic, so declaration of either signal
> or slot need not be present in the static type of objects being
> connected.

Could you elaborate on what you mean by dynamic? I haven't used qt
signals/slots since qt 3, but in those days I believe both the signal and
slot end had to be in classes derived from QObject, plus have the Q_OBJECT
macro in their declaration, as well as "slots:" and "signals:" pseudo-access
specifications for the moc preprocessor to chew on.

> 2. Boost does not support inter-thread signals.

thread_safe_signals in the review queue does, although it doesn't have a
review manager yet.

> (I'm not making any statement which model is best, just pointing
> out the differences)

- --
Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHe7nG5vihyNWuA4URAk+5AKCuSaDgrGBtde8jhQgqRwqIx8x4wACg5R3W
T/C7m/pGSyFeJraI89WKbEI=
=wdYp
-----END PGP SIGNATURE-----


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net