Factory< Base, Identification, Args > Class Template Referenceabstract

#include <ArmarXCore/util/CPPUtility/SelfRegisteringFactory.h>

Classes

struct  Registrar
 

Public Member Functions

virtual const Identification getID () const =0
 
virtual ~Factory ()=default
 

Static Public Member Functions

static auto make (const Identification &s, Args &&... args)
 

Public Attributes

friend Base
 

Detailed Description

template<class Base, typename Identification, class... Args>
class armarx::Factory< Base, Identification, Args >

Definition at line 52 of file SelfRegisteringFactory.h.

Constructor & Destructor Documentation

◆ ~Factory()

template<class Base, typename Identification, class... Args>
virtual ~Factory ( )
virtualdefault

Member Function Documentation

◆ getID()

template<class Base, typename Identification, class... Args>
virtual const Identification getID ( ) const
pure virtual

◆ make()

template<class Base, typename Identification, class... Args>
static auto make ( const Identification & s,
Args &&... args )
inlinestatic

Definition at line 60 of file SelfRegisteringFactory.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ Base

template<class Base, typename Identification, class... Args>
friend Base

Definition at line 116 of file SelfRegisteringFactory.h.


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