Inviwo  0.9.10.1
Inviwo documentation
inviwo::utilqt::EditorFileObserver Class Reference
+ Inheritance diagram for inviwo::utilqt::EditorFileObserver:

Public Member Functions

 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)
 
- Public Member Functions inherited from inviwo::FileObserver
 FileObserver (InviwoApplication *app)
 
 FileObserver (const std::string &filePath="")
 Starts observing file if existing. More...
 
 FileObserver (const FileObserver &)=delete
 
FileObserveroperator= (const FileObserver &)=delete
 
 FileObserver (FileObserver &&rhs)
 
FileObserveroperator= (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
 

Additional Inherited Members

- Protected Attributes inherited from inviwo::FileObserver
InviwoApplicationapp_
 

The documentation for this class was generated from the following files: