Boost logo

Boost Users :

From: Nat Goodspeed (ngoodspeed_at_[hidden])
Date: 2007-02-14 10:02:04


-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of David Klein
Sent: Wednesday, February 14, 2007 9:43 AM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] How to block a signal

Dahman wrote:
> I have a signal with many slots connected to it and I have a class
object witch
> want to have the possibility to block this signal at the start and
unblock it
> later, but know nothing about what and how many slots are connected to
it (then
> can't use connection.disconnect()).
>
> Is there any solution for this problem?
>
> Thanks for any help.
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

look for 'Blocking Slots (Beginner)' in
http://boost.org/doc/html/signals/tutorial.html#id2732772

--
HTH dave
[Nat] But that seems to require retaining each connection, which the OP
says he doesn't have. Is there an operation to block the /signal/ versus
individual /slots/?

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