![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
| virtual std::unique_ptr< ShaderResource > | clone () const override |
| const std::filesystem::path & | file () const |
| virtual void | fileChanged (const std::filesystem::path &fileName) override |
| FileShaderResource (const FileShaderResource &rhs)=delete | |
| FileShaderResource (FileShaderResource &&rhs) noexcept=default | |
| FileShaderResource (std::string_view key, const std::filesystem::path &fileName) | |
| virtual const std::string & | key () const override |
| FileShaderResource & | operator= (const FileShaderResource &)=delete |
| FileShaderResource & | operator= (FileShaderResource &&) noexcept=default |
| virtual void | setSource (std::string_view source) override |
| virtual const std::string & | source () const override |
| Public Member Functions inherited from inviwo::ShaderResource | |
| template<typename T> | |
| std::shared_ptr< Callback > | onChange (T &&callback) const |
| 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 | |
| Public Types inherited from inviwo::ShaderResource | |
| using | Callback = std::function<void(const ShaderResource*)> |
| Protected Attributes inherited from inviwo::ShaderResource | |
| Dispatcher< void(const ShaderResource *)> | callbacks_ |
| Protected Attributes inherited from inviwo::FileObserver | |
| FileSystemObserver * | fileSystemObserver_ |
|
overridevirtual |
Implements inviwo::ShaderResource.
|
overridevirtual |
Implements inviwo::FileObserver.
|
overridevirtual |
Implements inviwo::ShaderResource.
|
overridevirtual |
Implements inviwo::ShaderResource.
|
overridevirtual |
Implements inviwo::ShaderResource.