LeechCraft  0.6.70-10870-g558588d6ec
Modular cross-platform feature rich live environment.
LeechCraft::Util::detail::Initializer< WorkerType, Args > Struct Template Referencefinal

#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 Member Functions inherited from LeechCraft::Util::detail::InitializerBase< WorkerType >
virtual ~InitializerBase ()=default
 

Public Attributes

std::tuple< Args... > Args_
 

Detailed Description

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

Definition at line 110 of file workerthreadbase.h.

Constructor & Destructor Documentation

◆ Initializer()

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

Definition at line 114 of file workerthreadbase.h.

Member Function Documentation

◆ Initialize()

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

Member Data Documentation

◆ Args_

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

Definition at line 112 of file workerthreadbase.h.


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