
On Mon, May 3, 2010 at 7:48 AM, Stewart, Robert <Robert.Stewart@sig.com>wrote:
Fernando Pelliccioni wrote:
[Please don't top post.]
Eric.Malenfant@sagem-interstar.com> wrote:
De Scott McMurray:
On 29 April 2010 23:43, Fernando Pelliccioni wrote:
Basically the library monitors for file system changes and notifiesthrowing events.
I think that'd definitely be a worthy addition.
I'm curious how you see the interface. Perhaps something inspired by ASIO?
In fact, I think that something for ASIO already exists. See this thread: http://thread.gmane.org/gmane.comp.lib.boost.asio.user/2699/
Really I didn't think to create the File System Monitor like an ASIO extension.
The design of the library is not thinking like ASIO. The events and handlers system is implemented using Boost.Function.
Do you think that is a superior approach or just what had occurred to you? If the latter, do you like the Asio approach better?
I think that an approach such as ASIO is better. I'm changing the interface to resemble to the example sent by Boris.
Until today I did not know about the implementation of Boris. It would have been useful to know it.
That raises the question of how such tools should be managed. Should there be a place in the Wiki to refer to things built atop Asio that others might find useful? Should such tools be proposed, reviewed, and accepted as official parts of Asio?
I don't know. I think that if the interface is similar to ASIO, this new functionality should be included within it. I should talk to the ASIO creators/maintainers. Regards, Fernando Pelliccioni.