Go to the documentation of this file.
79 #if defined(MRPT_OS_LINUX) || defined(__APPLE__)
virtual ~CFileSystemWatcher()
Destructor.
Each of the changes detected by utils::CFileSystemWatcher.
std::string m_watchedDirectory
Ended in "/".
void thread_win32_watch()
Watch thread; only needed in win32.
bool isDir
Whether the event happened to a file or a directory.
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...
std::queue< TFileSystemChange * > m_queue_events_win32_msgs
std::thread m_watchThread
std::mutex m_queue_events_win32_cs
CFileSystemWatcher(const std::string &path)
Creates the subscription to a specified path.
void getChanges(TFileSystemChangeList &out_list)
Call this method sometimes to get the list of changes in the watched directory.
GLsizei const GLchar ** string
std::deque< TFileSystemChange > TFileSystemChangeList
std::string path
Complete path of the file/directory that has changed.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |