Inviwo
0.9.10.1
Inviwo documentation
|
#include <factory.h>
Public Member Functions | |
virtual std::unique_ptr< T > | create (K key, Args... args) const =0 |
virtual bool | hasKey (K key) const =0 |
Public Member Functions inherited from inviwo::FactoryBase | |
FactoryBase (const FactoryBase &)=delete | |
FactoryBase & | operator= (const FactoryBase &)=delete |
FactoryBase (FactoryBase &&)=default | |
FactoryBase & | operator= (FactoryBase &&)=default |
An abstract factory interface. Inherits virtually from factory base, since an implementation might implement several factory interfaces T Models the object created, T will be constructed using Args... K Models a key used to look up T