|
CeresEngine 0.2.0
A game development framework
|
Representation of the local file system on Linux. More...
#include <CeresEngine/Platform/Linux/LinuxFileSystem.hpp>
Public Member Functions | |
| LinuxFileSystem () | |
Creates a new LinuxFileSystem instance. | |
| ~LinuxFileSystem () final | |
Destroys the LinuxFileSystem instance. | |
| FileWatcher | createFileWatcher () final |
| Watches a directory for changes. | |
Public Member Functions inherited from CeresEngine::POSIXFileSystem | |
| POSIXFileSystem () | |
| virtual | ~POSIXFileSystem () |
| virtual FileHandle | open (StringView path) override |
| virtual FileHandle | open (String &&path) override |
Public Member Functions inherited from CeresEngine::LocalFileSystem | |
| LocalFileSystem () | |
| virtual | ~LocalFileSystem () |
| FileWatcher | createFileWatcher (ExecutionContext &executionContext, const FileHandle &directory, const FileEvents &events=FileEvent::Default, bool recursive=true) override |
| Watches a directory for changes. | |
Public Member Functions inherited from CeresEngine::IFileSystem | |
| IFileSystem () | |
| virtual | ~IFileSystem () |
| FileHandle | open (const char *path) |
| Opens a file or directory in file system. | |
Public Member Functions inherited from CeresEngine::RefCounted< IFileSystem > | |
| RefCounted (Args &&... args) | |
Creates a new RefCounted object and constructs a new Deleter by forwarding Args to it. | |
| void | retain () noexcept |
| Retains the object by increment it's reference count by one. | |
| bool | release () noexcept |
| Relases the object by decrementing it's reference count by one. | |
Additional Inherited Members | |
Static Public Member Functions inherited from CeresEngine::IFileSystem | |
| static IFileSystem * | getLocal () noexcept |
| Gets the underlying platform local file system implementation. | |
Representation of the local file system on Linux.
| CeresEngine::LinuxFileSystem::LinuxFileSystem | ( | ) |
Creates a new LinuxFileSystem instance.
|
final |
Destroys the LinuxFileSystem instance.
|
final |
Watches a directory for changes.
| executionContext | The execution context where the callbacks will be called from. |
| directory | A handle to directory that shall be watched. |
| events | The events that are watched (combination of FileEvent values). |
| recursive | Determines whether the directory will be recursively watched. |