C++ class Util::Factory::LambdaFactory template< class ObjectType, typename IdentifierType, template< class, typename > class FallbackPolicy >
LambdaFactory
Defined in header <Util/Factory/LambdaFactory.h>
public
Inheritance Graph
Description
Generic factory for objects allowing lambdas with variable number of arguments as creator functions.
The factory template can be instaniated to generate different kinds of factories. The generated factory generates objects of typeObjectType.
Parameters
ObjectType
Base type for all objects that are generated by the factory
IdentifierType
Type of the identifier that specifies which object creator to call
FallbackPolicy
Template with a functiononUnknownType()that handles the case that the requested object type was not found