Boost logo

Boost Users :

Subject: Re: [Boost-users] file monitoring
From: Boris Schaeling (boris_at_[hidden])
Date: 2013-04-05 17:39:53


On Fri, 05 Apr 2013 00:19:51 +0200, SRD
<software.research.development_at_[hidden]> wrote:

> I'm looking for a way to get notified as soon as a new file has been
> created. So I was wondering if boost has a way of monitoring files so
> I can send them off as soon as I receive them. This would have to work
> for Linux and windows. I saw a few posts which seem to indicate that
> its not there yet, but that was some time ago.

If you click on http://en.highscore.de/cpp/boost/asio.html and scroll down
to the very end, you find a directory monitor. It's a Boost.Asio I/O
service object I once created. I don't remember whether it does out of the
box what you need. But then feel free to adapt it. :)

HTH,
Boris


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