CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
AppleFileWatcher.hpp
Go to the documentation of this file.
1
2//
3// CeresEngine - A game development framework
4//
5// Created by Rogiel Sulzbach.
6// Copyright (c) 2018-2023 Rogiel Sulzbach. All rights reserved.
7//
8
9#pragma once
10
11#include "Forward.hpp"
12
15
20
21#include <memory>
22#include <mutex>
23#include <vector>
24
25namespace CeresEngine {
26
56
57} // namespace CeresEngine
Representation of the local file system on Apple.
Definition AppleFileSystem.hpp:23
File watcher for the local file system for the Windows platform.
Definition AppleFileWatcher.hpp:28
AppleFileWatcher(AppleFileSystem &fs, ExecutionContext &executionContext, const FileHandle &directory, const FileEvents &events, bool recursive)
Creates a new AppleFileWatcher instance.
void stop() final
Stops the file watching operation.
AppleFileWatcher(AppleFileWatcher &&) noexcept=delete
RC< AppleFileSystem > mFileSystem
File system that created this watcher.
Definition AppleFileWatcher.hpp:34
void start() final
Starts the file watching operation.
IFileSystem * getFileSystem() const final
Gets file system that this watcher watches for.
A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
A context for function object execution.
Definition ExecutionContext.hpp:90
Handle for a file or directory.
Definition FileHandle.hpp:46
Interface for accessing file systems.
Definition FileSystem.hpp:28
Interface for file watcher implementations.
Definition FileWatcher.hpp:114
Definition Application.hpp:19
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25