![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
#include <inviwo/core/util/factory.h>
Inheritance diagram for inviwo::Factory< T, K, Args >:Public Member Functions | |
| virtual std::unique_ptr< T > | create (K key, Args... args) const =0 |
| virtual std::shared_ptr< T > | createShared (K key, Args... args) const |
| Factory (const Factory &)=delete | |
| Factory (Factory &&)=default | |
| virtual bool | hasKey (K key) const =0 |
| Factory & | operator= (const Factory &)=delete |
| Factory & | operator= (Factory &&)=default |
An abstract factory interface.
| T | Models the object created, T will be constructed using Args... |
| Args | A variadic list of arguments passed to T on construction |