KASKADE 7 development version
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Kaskade::Creator< Product > Struct Template Reference

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

#include <factory.hh>

Detailed Description

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

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

Definition at line 30 of file 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 &)
 

Member Typedef Documentation

◆ Argument

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

Definition at line 32 of file factory.hh.

Member Function Documentation

◆ lookupFailureHint()

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

Definition at line 40 of file factory.hh.

◆ operator()()

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

Definition at line 34 of file factory.hh.


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