Inviwo  0.9.10.1
Inviwo documentation
inviwo::Factory< T, K, Args > Class Template Referenceabstract

#include <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 bool hasKey (K key) const =0
 
- Public Member Functions inherited from inviwo::FactoryBase
 FactoryBase (const FactoryBase &)=delete
 
FactoryBaseoperator= (const FactoryBase &)=delete
 
 FactoryBase (FactoryBase &&)=default
 
FactoryBaseoperator= (FactoryBase &&)=default
 

Detailed Description

template<typename T, typename K = const std::string&, typename... Args>
class inviwo::Factory< T, K, Args >

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


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