|
| EditorFileObserver (QWidget *parent, const QString &title="Editor", const std::filesystem::path &filename={}) |
void | setTitle (const QString &title) |
const QString & | getTitle () const |
void | resumeObservingFile () |
void | suspendObservingFile () |
void | ignoreNextUpdate () |
void | setFileName (const std::filesystem::path &filename) |
const std::filesystem::path & | getFileName () const |
void | setModifiedCallback (std::function< void(bool)> cb) |
void | setReloadFileCallback (std::function< void()> cb) |
| FileObserver (InviwoApplication *app) |
| FileObserver (FileSystemObserver *app) |
| FileObserver (const FileObserver &)=delete |
FileObserver & | operator= (const FileObserver &)=delete |
| FileObserver (FileObserver &&rhs) |
FileObserver & | operator= (FileObserver &&that) |
virtual | ~FileObserver () |
bool | startFileObservation (const std::filesystem::path &filePath) |
| Starts observing file if it exists.
|
bool | stopFileObservation (const std::filesystem::path &filePath) |
| Stops observing the file if being observed.
|
void | stopAllObservation () |
const std::unordered_set< std::filesystem::path, PathHash > & | getFiles () const |
bool | isObserved (const std::filesystem::path &fileName) const |
The documentation for this class was generated from the following file: