Public Member Functions | Static Public Member Functions | List of all members
CheckerFactory< T > Struct Template Reference

Factory integrating the create-function and adding it to the lookup map in an easy template. More...

#include <pointfilter.h>

Public Member Functions

 CheckerFactory (const std::string &key)
 Instanciate in the source code with the to be created class as template argument and associated key string as constructor argument. More...
 

Static Public Member Functions

static Checkercreate (const std::string &value)
 Automated create function, safely returning a nullpointer if the constructor throws for unwanted values. More...
 

Detailed Description

template<typename T>
struct CheckerFactory< T >

Factory integrating the create-function and adding it to the lookup map in an easy template.

Definition at line 72 of file pointfilter.h.

Constructor & Destructor Documentation

◆ CheckerFactory()

template<typename T >
CheckerFactory< T >::CheckerFactory ( const std::string &  key)
inline

Instanciate in the source code with the to be created class as template argument and associated key string as constructor argument.

Definition at line 74 of file pointfilter.h.

Member Function Documentation

◆ create()

template<typename T >
static Checker* CheckerFactory< T >::create ( const std::string &  value)
inlinestatic

Automated create function, safely returning a nullpointer if the constructor throws for unwanted values.

Definition at line 76 of file pointfilter.h.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:26