Factory< Base, Identification, Args > Class Template Referenceabstract

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


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 50 of file SelfRegisteringFactory.h.

Constructor & Destructor Documentation

◆ ~Factory()

virtual ~Factory ( )

Member Function Documentation

◆ getID()

virtual const Identification getID ( ) const
pure virtual

◆ make()

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

Definition at line 58 of file SelfRegisteringFactory.h.

Member Data Documentation

◆ Base

friend Base

Definition at line 114 of file SelfRegisteringFactory.h.

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