LibreOffice Module vcl (master)  1
Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT > Class Template Reference

#include <threadex.hxx>

Inheritance diagram for vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >:
[legend]
Collaboration diagram for vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >:
[legend]

Static Public Member Functions

static ResultT exec (FuncT const &func)
 

Private Member Functions

 GenericSolarThreadExecutor (FuncT const &func)
 
virtual void doIt () override
 

Private Attributes

std::exception_ptr m_exc
 
FuncT const m_func
 
::boost::optional< ResultT > m_result
 

Additional Inherited Members

- Public Member Functions inherited from vcl::SolarThreadExecutor
 SolarThreadExecutor ()
 
virtual ~SolarThreadExecutor ()
 
void execute ()
 

Detailed Description

template<typename FuncT, typename ResultT>
class vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >

Definition at line 54 of file threadex.hxx.

Constructor & Destructor Documentation

template<typename FuncT , typename ResultT >
vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >::GenericSolarThreadExecutor ( FuncT const &  func)
inlineexplicitprivate

Definition at line 68 of file threadex.hxx.

Member Function Documentation

template<typename FuncT , typename ResultT >
virtual void vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >::doIt ( )
inlineoverrideprivatevirtual
template<typename FuncT , typename ResultT >
static ResultT vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >::exec ( FuncT const &  func)
inlinestatic

Definition at line 57 of file threadex.hxx.

Member Data Documentation

template<typename FuncT , typename ResultT >
std::exception_ptr vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >::m_exc
private
template<typename FuncT , typename ResultT >
FuncT const vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >::m_func
private
template<typename FuncT , typename ResultT >
::boost::optional<ResultT> vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >::m_result
private

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