FileSystemWatcherAsyncT is an implementation of SC::FileSystemWatcher that uses SC::Async. More...
#include <FileSystemWatcher.h>
Public Types | |
| using | Self = FileSystemWatcherAsyncT |
| using | T_AsyncLoopWakeUp = typename T_AsyncEventLoop::LoopWakeUp |
| using | T_AsyncFileReadiness = typename T_AsyncEventLoop::FileReadiness |
| using | T_AsyncExternalCompletion = typename T_AsyncEventLoop::ExternalCompletion |
| using | T_EventObject = typename T_AsyncEventLoop::EventObjectType |
| using | T_AsyncResult = typename T_AsyncEventLoop::ResultType |
Public Member Functions | |
| void | init (T_AsyncEventLoop &loop) |
Public Member Functions inherited from SC::FileSystemWatcher::EventLoopRunner | |
Protected Types | |
| using | FolderWatcher = FileSystemWatcher::FolderWatcher |
Protected Member Functions | |
| virtual Result | windowsStartFolderExternalCompletion (FolderWatcher &watcher, void *handle) override |
| virtual Result | windowsRequestStopFolderExternalCompletion (FolderWatcher &watcher) override |
| virtual Result | windowsWaitFolderExternalCompletionStopped (FolderWatcher &) override |
| virtual Result | windowsMarkFolderExternalCompletionPending (FolderWatcher &watcher) override |
| virtual Result | windowsClearFolderExternalCompletionPending (FolderWatcher &watcher) override |
| virtual void * | windowsGetOverlapped (FolderWatcher &watcher) override |
| void | onEventLoopNotification (typename T_AsyncExternalCompletion::Result &result) |
Protected Member Functions inherited from SC::FileSystemWatcher::EventLoopRunner | |
| void | internalInit (FileSystemWatcher &fsWatcher, int handle) |
Protected Attributes | |
| T_AsyncEventLoop * | eventLoop = nullptr |
| Function< void(T_AsyncResult &)> | onAsyncCompletionClose |
| bool | windowsFolderCompletionStopped = false |
Protected Attributes inherited from SC::FileSystemWatcher::EventLoopRunner | |
| FileSystemWatcher * | fileSystemWatcher = nullptr |
FileSystemWatcherAsyncT is an implementation of SC::FileSystemWatcher that uses SC::Async.
This class exists as a template is to break the dependency of SC::FileSystemWatcher from SC::AsyncEventLoop.
Example:
|
inlineoverrideprotectedvirtual |
Implements SC::FileSystemWatcher::EventLoopRunner.
|
inlineoverrideprotectedvirtual |
Implements SC::FileSystemWatcher::EventLoopRunner.
|
inlineoverrideprotectedvirtual |
Implements SC::FileSystemWatcher::EventLoopRunner.
|
inlineoverrideprotectedvirtual |
Implements SC::FileSystemWatcher::EventLoopRunner.
|
inlineoverrideprotectedvirtual |
Implements SC::FileSystemWatcher::EventLoopRunner.
|
inlineoverrideprotectedvirtual |
Implements SC::FileSystemWatcher::EventLoopRunner.