PandA-2024.02
Static Public Member Functions | Data Fields | Static Public Attributes | Private Member Functions
Factory< Base, Args >::Registrar< T > Struct Template Reference

#include <Factory.hpp>

Inheritance diagram for Factory< Base, Args >::Registrar< T >:
Inheritance graph
[legend]
Collaboration diagram for Factory< Base, Args >::Registrar< T >:
Collaboration graph
[legend]

Static Public Member Functions

static bool RegisterType ()
 

Data Fields

friend T
 

Static Public Attributes

static bool __registered = Factory<Base, Args...>::Registrar<T>::RegisterType()
 

Private Member Functions

 Registrar (Args... args)
 

Detailed Description

template<class Base, class... Args>
template<class T>
struct Factory< Base, Args >::Registrar< T >

Definition at line 72 of file Factory.hpp.

Constructor & Destructor Documentation

◆ Registrar()

template<class Base, class... Args>
template<class T >
Factory< Base, Args >::Registrar< T >::Registrar ( Args...  args)
inlineprivate

Definition at line 87 of file Factory.hpp.

References test_panda::args.

Member Function Documentation

◆ RegisterType()

template<class Base, class... Args>
template<class T >
static bool Factory< Base, Args >::Registrar< T >::RegisterType ( )
inlinestatic

Definition at line 76 of file Factory.hpp.

References test_panda::args, GET_CLASS, Factory< Base, Args >::Registry(), and Factory< Base, Args >::Registrar< T >::T.

Here is the call graph for this function:

Field Documentation

◆ __registered

template<class Base, class... Args>
template<class T >
bool Factory< Base, Args >::Registrar< T >::__registered = Factory<Base, Args...>::Registrar<T>::RegisterType()
static

Definition at line 84 of file Factory.hpp.

◆ T

template<class Base, class... Args>
template<class T >
friend Factory< Base, Args >::Registrar< T >::T

Definition at line 74 of file Factory.hpp.

Referenced by Factory< Base, Args >::Registrar< T >::RegisterType().


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

Generated on Mon Feb 12 2024 13:03:50 for PandA-2024.02 by doxygen 1.8.13