![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
| EditorFileObserver (QWidget *parent, const QString &title="Editor", const std::filesystem::path &filename={}) | |
| const std::filesystem::path & | getFileName () const |
| const QString & | getTitle () const |
| void | ignoreNextUpdate () |
| void | resumeObservingFile () |
| void | setFileName (const std::filesystem::path &filename) |
| void | setModifiedCallback (std::function< void(bool)> cb) |
| void | setReloadFileCallback (std::function< void()> cb) |
| void | setTitle (const QString &title) |
| void | suspendObservingFile () |
| Public Member Functions inherited from inviwo::FileObserver | |
| FileObserver (const FileObserver &)=delete | |
| FileObserver (FileObserver &&rhs) | |
| FileObserver (FileSystemObserver *app) | |
| FileObserver (InviwoApplication *app) | |
| bool | isObserved (const std::filesystem::path &fileName) const |
| FileObserver & | operator= (const FileObserver &)=delete |
| FileObserver & | operator= (FileObserver &&that) |
| bool | startFileObservation (const std::filesystem::path &filePath) |
| Starts observing file if it exists. | |
| void | stopAllObservation () |
| bool | stopFileObservation (const std::filesystem::path &filePath) |
| Stops observing the file if being observed. | |
| virtual | ~FileObserver () |
Additional Inherited Members | |
| Protected Attributes inherited from inviwo::FileObserver | |
| FileSystemObserver * | fileSystemObserver_ |