Factory2D< Base, Identification1, Identification2, Args > Class Template Referenceabstract

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

Classes

struct  Registrar
 

Public Member Functions

virtual const Identification1 getFirstID () const =0
 
virtual const Identification2 getSecondID () const =0
 
virtual ~Factory2D ()=default
 

Static Public Member Functions

static auto make (const Identification1 &f, const Identification2 &s, Args &&... args)
 

Public Attributes

friend Base
 

Detailed Description

template<class Base, typename Identification1, typename Identification2, class... Args>
class armarx::Factory2D< Base, Identification1, Identification2, Args >

Definition at line 139 of file SelfRegisteringFactory.h.

Constructor & Destructor Documentation

◆ ~Factory2D()

virtual ~Factory2D ( )
virtualdefault

Member Function Documentation

◆ getFirstID()

virtual const Identification1 getFirstID ( ) const
pure virtual

◆ getSecondID()

virtual const Identification2 getSecondID ( ) const
pure virtual

◆ make()

static auto make ( const Identification1 &  f,
const Identification2 &  s,
Args &&...  args 
)
inlinestatic

Definition at line 149 of file SelfRegisteringFactory.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ Base

friend Base

Definition at line 202 of file SelfRegisteringFactory.h.


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