KASKADE 7 development version
Loading...
Searching...
No Matches
Kaskade::Creator< Product > Struct Template Reference

Abstract base class of creators that can be registered at the pluggable factory. More...

#include <factory.hh>

Public Types

typedef int Argument

Public Member Functions

std::unique_ptr< Product > operator() (Argument) const

Static Public Member Functions

template<class Key>
static std::string const & lookupFailureHint (Key const &)

Detailed Description

template<class Product>
struct Kaskade::Creator< Product >

Abstract base class of creators that can be registered at the pluggable factory.

The class definition is a stub. Specialize the template for concrete product types.

Definition at line 32 of file factory.hh.

Member Typedef Documentation

◆ Argument

template<class Product>
typedef int Kaskade::Creator< Product >::Argument

Definition at line 34 of file factory.hh.

Member Function Documentation

◆ lookupFailureHint()

template<class Product>
template<class Key>
std::string const & Kaskade::Creator< Product >::lookupFailureHint ( Key const & )
inlinestatic

Definition at line 42 of file factory.hh.

Referenced by Kaskade::Factory< K, P >::create().

◆ operator()()

template<class Product>
std::unique_ptr< Product > Kaskade::Creator< Product >::operator() ( Argument ) const
inline

Definition at line 36 of file factory.hh.


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