LeechCraft  0.6.70-9312-g4cc613a2df
Modular cross-platform feature rich live environment.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LeechCraft::Util::detail::Initializer< WorkerType, Args > Struct Template Reference

#include "workerthreadbase.h"

+ Inheritance diagram for LeechCraft::Util::detail::Initializer< WorkerType, Args >:
+ Collaboration diagram for LeechCraft::Util::detail::Initializer< WorkerType, Args >:

Public Member Functions

 Initializer (std::tuple< Args...> &&tuple)
 
std::unique_ptr< WorkerType > Initialize () override
 

Public Attributes

std::tuple< Args...> Args_
 

Detailed Description

template<typename WorkerType, typename... Args>
struct LeechCraft::Util::detail::Initializer< WorkerType, Args >

Definition at line 109 of file workerthreadbase.h.

Constructor & Destructor Documentation

template<typename WorkerType , typename... Args>
LeechCraft::Util::detail::Initializer< WorkerType, Args >::Initializer ( std::tuple< Args...> &&  tuple)
inline

Definition at line 113 of file workerthreadbase.h.

Member Function Documentation

template<typename WorkerType , typename... Args>
std::unique_ptr<WorkerType> LeechCraft::Util::detail::Initializer< WorkerType, Args >::Initialize ( )
inlineoverridevirtual

Implements LeechCraft::Util::detail::InitializerBase< WorkerType >.

Definition at line 118 of file workerthreadbase.h.

References LeechCraft::Util::CPP17::Apply().

+ Here is the call graph for this function:

Member Data Documentation

template<typename WorkerType , typename... Args>
std::tuple<Args...> LeechCraft::Util::detail::Initializer< WorkerType, Args >::Args_

Definition at line 111 of file workerthreadbase.h.


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