CoriEngine
Loading...
Searching...
No Matches
Cori::Core::RegisterInFactory< BaseType, DerivedType, KeyType, KeyValue, CtorArgs > Class Template Reference

#include <AutoRegisteringFactory.hpp>

Public Member Functions

 RegisterInFactory ()=default
virtual ~RegisterInFactory ()=default
 RegisterInFactory (const RegisterInFactory &)=delete
RegisterInFactoryoperator= (const RegisterInFactory &)=delete
 RegisterInFactory (RegisterInFactory &&)=delete
RegisterInFactoryoperator= (RegisterInFactory &&)=delete

Static Protected Attributes

static bool RegisterShared = Factory<BaseType, KeyType, CtorArgs...>::Instance().RegisterShared(KeyValue, CreateShared)
static bool RegisterUnique = Factory<BaseType, KeyType, CtorArgs...>::Instance().RegisterUnique(KeyValue, CreateUnique)

Detailed Description

template<typename BaseType, typename DerivedType, typename KeyType, KeyType KeyValue, typename... CtorArgs>
class Cori::Core::RegisterInFactory< BaseType, DerivedType, KeyType, KeyValue, CtorArgs >

Definition at line 67 of file AutoRegisteringFactory.hpp.

Constructor & Destructor Documentation

◆ RegisterInFactory() [1/3]

template<typename BaseType, typename DerivedType, typename KeyType, KeyType KeyValue, typename... CtorArgs>
Cori::Core::RegisterInFactory< BaseType, DerivedType, KeyType, KeyValue, CtorArgs >::RegisterInFactory ( )
default

◆ ~RegisterInFactory()

template<typename BaseType, typename DerivedType, typename KeyType, KeyType KeyValue, typename... CtorArgs>
virtual Cori::Core::RegisterInFactory< BaseType, DerivedType, KeyType, KeyValue, CtorArgs >::~RegisterInFactory ( )
virtualdefault

◆ RegisterInFactory() [2/3]

template<typename BaseType, typename DerivedType, typename KeyType, KeyType KeyValue, typename... CtorArgs>
Cori::Core::RegisterInFactory< BaseType, DerivedType, KeyType, KeyValue, CtorArgs >::RegisterInFactory ( const RegisterInFactory< BaseType, DerivedType, KeyType, KeyValue, CtorArgs > & )
delete
Here is the call graph for this function:

◆ RegisterInFactory() [3/3]

template<typename BaseType, typename DerivedType, typename KeyType, KeyType KeyValue, typename... CtorArgs>
Cori::Core::RegisterInFactory< BaseType, DerivedType, KeyType, KeyValue, CtorArgs >::RegisterInFactory ( RegisterInFactory< BaseType, DerivedType, KeyType, KeyValue, CtorArgs > && )
delete
Here is the call graph for this function:

Member Function Documentation

◆ operator=() [1/2]

template<typename BaseType, typename DerivedType, typename KeyType, KeyType KeyValue, typename... CtorArgs>
RegisterInFactory & Cori::Core::RegisterInFactory< BaseType, DerivedType, KeyType, KeyValue, CtorArgs >::operator= ( const RegisterInFactory< BaseType, DerivedType, KeyType, KeyValue, CtorArgs > & )
delete
Here is the call graph for this function:

◆ operator=() [2/2]

template<typename BaseType, typename DerivedType, typename KeyType, KeyType KeyValue, typename... CtorArgs>
RegisterInFactory & Cori::Core::RegisterInFactory< BaseType, DerivedType, KeyType, KeyValue, CtorArgs >::operator= ( RegisterInFactory< BaseType, DerivedType, KeyType, KeyValue, CtorArgs > && )
delete
Here is the call graph for this function:

Member Data Documentation

◆ RegisterShared

template<typename BaseType, typename DerivedType, typename KeyType, KeyType KeyValue, typename... CtorArgs>
bool Cori::Core::RegisterInFactory< BaseType, DerivedType, KeyType, KeyValue, CtorArgs >::RegisterShared = Factory<BaseType, KeyType, CtorArgs...>::Instance().RegisterShared(KeyValue, CreateShared)
inlinestaticprotected

Definition at line 95 of file AutoRegisteringFactory.hpp.

◆ RegisterUnique

template<typename BaseType, typename DerivedType, typename KeyType, KeyType KeyValue, typename... CtorArgs>
bool Cori::Core::RegisterInFactory< BaseType, DerivedType, KeyType, KeyValue, CtorArgs >::RegisterUnique = Factory<BaseType, KeyType, CtorArgs...>::Instance().RegisterUnique(KeyValue, CreateUnique)
inlinestaticprotected

Definition at line 97 of file AutoRegisteringFactory.hpp.


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