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