emilib
|
Acts like DirWatcher but with a delay of a few frames to let things 'settle'. More...
#include <dir_watcher.hpp>
Public Member Functions | |
DelayedDirWatcher (std::string dir, unsigned frame_delay=6) | |
frame_delay: wait this many calls to poll_files before reporting a change. | |
std::vector< std::string > | poll_files () |
Acts like DirWatcher but with a delay of a few frames to let things 'settle'.