|
Boost Users : |
Subject: Re: [Boost-users] boost::signals2::signal - is a "decimated" version available?
From: Chris Stankevitz (chrisstankevitz_at_[hidden])
Date: 2012-05-22 11:07:40
On Monday, May 21, 2012, Igor R wrote:
> Do you really need to store arguments and re-signal with timer? If all
> you need is just to ignore too frequent signals, you can do this in a
> much simpler way:
Igor,
Thank you for your reply. Consider the case where two signals are
generated 1 ms apart. With your implementation, the observer will end up
with the arguments from the first signal. With my more complicated
implementation, the observer will end up with the most recent signal
arguments.
Chris
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