|
Boost Users : |
Subject: Re: [Boost-users] sliding window containing n seconds of data
From: Lane (software.research.development_at_[hidden])
Date: 2015-04-22 00:22:48
I like the idea of using a circular_buffer, but still not sure how to time
the data on this buffer. I'd like for objects on this buffer to be removed
after n seconds, and not based on fixed capacity where they get
over-written. Or did I misunderstand? I think somehow attaching a timer to
each and every object on this buffer is the part I'm having trouble with
efficiently.
On Tue, Apr 21, 2015 at 10:51 PM, Robert Ramey <ramey_at_[hidden]> wrote:
> Look into boost/circular buffer
>
>
>
> --
> View this message in context:
> http://boost.2283326.n4.nabble.com/sliding-window-containing-n-seconds-of-data-tp4674668p4674669.html
> Sent from the Boost - Users mailing list archive at Nabble.com.
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
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