9 #ifndef CFileSystemWatcher_H 10 #define CFileSystemWatcher_H 37 eventModified(false), eventCloseWrite(false),
38 eventDeleted(false), eventMovedTo(false),
39 eventMovedFrom(false), eventCreated(false),
40 eventAccessed(false) {}
71 #ifdef MRPT_OS_WINDOWS 74 void thread_win32_watch();
79 #if defined(MRPT_OS_LINUX) || defined(MRPT_OS_APPLE) std::string path
Complete path of the file/directory that has changed.
std::string m_watchedDirectory
Ended in "/".
std::deque< TFileSystemChange > TFileSystemChangeList
A thread-safe template queue for object passing between threads; for a template argument of T...
GLsizei const GLchar ** string
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
This class subscribes to notifications of file system changes, thus it can be used to efficiently sta...
bool isDir
Whether the event happened to a file or a directory.
Each of the changes detected by utils::CFileSystemWatcher.