\doxysection{gko::\+enable\+\_\+parameters\+\_\+type\texorpdfstring{$<$}{<} Concrete\+Parameters\+Type, Factory \texorpdfstring{$>$}{>} Class Template Reference}
\hypertarget{classgko_1_1enable__parameters__type}{}\label{classgko_1_1enable__parameters__type}\index{gko::enable\_parameters\_type$<$ ConcreteParametersType, Factory $>$@{gko::enable\_parameters\_type$<$ ConcreteParametersType, Factory $>$}}


The \doxylink{classgko_1_1enable__parameters__type}{enable\+\_\+parameters\+\_\+type} mixin is used to create a base implementation of the factory parameters structure.  




{\ttfamily \+\#include $<$ginkgo/\+core/\+base/\+abstract\+\_\+factory.\+hpp$>$}



Inheritance diagram for gko::\+enable\+\_\+parameters\+\_\+type\texorpdfstring{$<$}{<} Concrete\+Parameters\+Type, Factory \texorpdfstring{$>$}{>}:\+
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgko_1_1enable__parameters__type__inherit__graph}
\end{center}
\end{figure}
\doxysubsubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classgko_1_1enable__parameters__type_a0d16b999fffe1aecfbc4824381352268}\label{classgko_1_1enable__parameters__type_a0d16b999fffe1aecfbc4824381352268} 
using {\bfseries factory} = Factory
\end{DoxyCompactItemize}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classgko_1_1enable__parameters__type_a6ecac33b17246bfea802ebaf23c189b4}\label{classgko_1_1enable__parameters__type_a6ecac33b17246bfea802ebaf23c189b4} 
{\footnotesize template$<$typename... Args$>$ }\\Concrete\+Parameters\+Type \& {\bfseries with\+\_\+loggers} (Args \&\&... \+\_\+value)
\begin{DoxyCompactList}\small\item\em Provides the loggers to be added to the factory and its generated objects in a fluent interface. \end{DoxyCompactList}\item 
std::\+unique\+\_\+ptr$<$ Factory $>$ \doxymbox{\hyperlink{classgko_1_1enable__parameters__type_a65a5adc4eb7078475d26e7991efae64d}{on}} (std::\+shared\+\_\+ptr$<$ const \doxymbox{\hyperlink{classgko_1_1Executor}{Executor}} $>$ exec) const
\begin{DoxyCompactList}\small\item\em Creates a new factory on the specified executor. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename Concrete\+Parameters\+Type, typename Factory$>$\newline
class gko::\+enable\+\_\+parameters\+\_\+type$<$ Concrete\+Parameters\+Type, Factory $>$}
The \doxylink{classgko_1_1enable__parameters__type}{enable\+\_\+parameters\+\_\+type} mixin is used to create a base implementation of the factory parameters structure. 

It provides only the \doxylink{classgko_1_1enable__parameters__type_a65a5adc4eb7078475d26e7991efae64d}{on()} method which can be used to instantiate the factory give the parameters stored in the structure.


\begin{DoxyTemplParams}{Template Parameters}
{\em Concrete\+Parameters\+Type} & the concrete parameters type which is being implemented \+[CRTP parameter]\+ \\
\hline
{\em Factory} & the concrete factory for which these parameters are being used \\
\hline
\end{DoxyTemplParams}


\label{doc-func-members}
\Hypertarget{classgko_1_1enable__parameters__type_doc-func-members}
\doxysubsection{Member Function Documentation}
\Hypertarget{classgko_1_1enable__parameters__type_a65a5adc4eb7078475d26e7991efae64d}\index{gko::enable\_parameters\_type$<$ ConcreteParametersType, Factory $>$@{gko::enable\_parameters\_type$<$ ConcreteParametersType, Factory $>$}!on@{on}}
\index{on@{on}!gko::enable\_parameters\_type$<$ ConcreteParametersType, Factory $>$@{gko::enable\_parameters\_type$<$ ConcreteParametersType, Factory $>$}}
\doxysubsubsection{\texorpdfstring{on()}{on()}}
{\footnotesize\ttfamily \label{classgko_1_1enable__parameters__type_a65a5adc4eb7078475d26e7991efae64d} 
template$<$typename Concrete\+Parameters\+Type, typename Factory$>$ \\
std::\+unique\+\_\+ptr$<$ Factory $>$ \doxymbox{\hyperlink{classgko_1_1enable__parameters__type}{gko::\+enable\+\_\+parameters\+\_\+type}}$<$ Concrete\+Parameters\+Type, Factory $>$::\+on (\begin{DoxyParamCaption}\item[{std::\+shared\+\_\+ptr$<$ const \doxymbox{\hyperlink{classgko_1_1Executor}{Executor}} $>$}]{exec}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Creates a new factory on the specified executor. 


\begin{DoxyParams}{Parameters}
{\em exec} & the executor where the factory will be created\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a new factory instance 
\end{DoxyReturn}


The documentation for this class was generated from the following file:\+\begin{DoxyCompactItemize}
\item 
ginkgo/\+core/\+base/\+abstract\+\_\+factory.\+hpp\end{DoxyCompactItemize}
