emilib
Public Member Functions | List of all members
emilib::DelayedDirWatcher Class Reference

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 ()
 

Detailed Description

Acts like DirWatcher but with a delay of a few frames to let things 'settle'.


The documentation for this class was generated from the following file: