
24 Oct
2008
24 Oct
'08
5:55 a.m.
Yea, a file monitor is very useful. I am using the file monitor from Adobe ASL[1], in my case, I use it to monitor the GLSL shader files, so I can change and load them dynamically.
[1] http://stlab.adobe.com/classadobe_1_1file__monitor__t.html
I think it is only logical to add this to boost.filesystem, something like set_monitor_callback(pathname, function_object);
following http://stlab.adobe.com/wiki/index.php/On-Disk_File_Monitor: Current implementations exist for Carbon and Win32. file_monitor_t is available in ASL release 1.0.16 or later. Nothing about/for other OS like linux. Olaf