|
enum class | EventType {
None = 0
, FileCreated = 1
, FileDeleted = 2
, FileRenamed = 3
,
FileUpdated = 4
} |
|
using | CallbackFn = std::function< void(const Event &)> |
|
using | CallbackList = std::vector< CallbackFn > |
|
Definition at line 11 of file FileSystemWatcher.h.
◆ CallbackFn
using Cogs::FileSystemWatcher::CallbackFn = std::function<void (const Event &)> |
◆ CallbackList
using Cogs::FileSystemWatcher::CallbackList = std::vector<CallbackFn> |
◆ EventType
enum class Cogs::FileSystemWatcher::EventType |
|
strong |
◆ FileSystemWatcher()
Cogs::FileSystemWatcher::FileSystemWatcher |
( |
| ) |
|
◆ ~FileSystemWatcher()
Cogs::FileSystemWatcher::~FileSystemWatcher |
( |
| ) |
|
◆ unwatchFile()
bool Cogs::FileSystemWatcher::unwatchFile |
( |
const StringView & |
path | ) |
|
◆ watchFile()
bool Cogs::FileSystemWatcher::watchFile |
( |
const StringView & |
path, |
|
|
const CallbackFn & |
callback |
|
) |
| |
◆ storage
Storage* Cogs::FileSystemWatcher::storage = nullptr |
|
private |
The documentation for this class was generated from the following files: