Definition at line 18 of file watcher.cpp.
◆ impl()
fs::watcher::impl::impl |
( |
const fs::path & | path, |
|
|
const pattern_filter & | filter, |
|
|
bool | recursive, |
|
|
bool | initial_list, |
|
|
clock_t::duration | poll_interval, |
|
|
notify_callback | list_callback ) |
|
inline |
◆ check_for_removed()
template<typename Container >
static void fs::watcher::impl::check_for_removed |
( |
std::vector< watcher::entry > & | entries, |
|
|
Container & | container ) |
|
inlinestatic |
◆ check_if_parent_dir_was_renamed()
static auto fs::watcher::impl::check_if_parent_dir_was_renamed |
( |
const std::vector< size_t > & | renamed_dirs, |
|
|
const std::vector< watcher::entry > & | entries, |
|
|
entry & | e ) -> bool
|
|
inlinestatic |
◆ check_if_renamed()
template<typename Container >
static auto fs::watcher::impl::check_if_renamed |
( |
entry & | e, |
|
|
Container & | container ) -> bool
|
|
inlinestatic |
◆ check_if_same_extension()
static auto fs::watcher::impl::check_if_same_extension |
( |
const fs::path & | p1, |
|
|
const fs::path & | p2 ) -> bool
|
|
inlinestatic |
◆ get_original_path()
static auto fs::watcher::impl::get_original_path |
( |
const fs::path & | old_path, |
|
|
const fs::path & | renamed_path, |
|
|
const fs::path & | new_path ) -> fs::path
|
|
inlinestatic |
◆ pause()
void fs::watcher::impl::pause |
( |
| ) |
|
|
inline |
◆ poll_entry()
void fs::watcher::impl::poll_entry |
( |
const fs::path & | path, |
|
|
observed_changes & | changes ) |
|
inline |
◆ process_modifications()
template<typename Container >
static void fs::watcher::impl::process_modifications |
( |
Container & | old_entries, |
|
|
observed_changes & | changes ) |
|
inlinestatic |
◆ resume()
void fs::watcher::impl::resume |
( |
| ) |
|
|
inline |
◆ watch()
void fs::watcher::impl::watch |
( |
| ) |
|
|
inline |
◆ watcher
◆ buffered_changes_
◆ callback_
Callback for list of modifications.
Definition at line 394 of file watcher.cpp.
◆ entries_
◆ filter_
◆ last_poll_
clock_t::time_point fs::watcher::impl::last_poll_ = clock_t::now() |
|
protected |
◆ paused_
std::atomic<bool> fs::watcher::impl::paused_ = {false} |
|
protected |
◆ poll_interval_
clock_t::duration fs::watcher::impl::poll_interval_ = 500ms |
|
protected |
◆ recursive_
bool fs::watcher::impl::recursive_ = false |
|
protected |
◆ root_
fs::path fs::watcher::impl::root_ |
|
protected |
The documentation for this class was generated from the following file:
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/core/filesystem/watcher.cpp