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 Referencefinal

#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 func)
 
virtual void doIt () override
 

Private Attributes

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

Additional Inherited Members

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

Detailed Description

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

Definition at line 56 of file threadex.hxx.

Constructor & Destructor Documentation

◆ GenericSolarThreadExecutor()

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

Definition at line 70 of file threadex.hxx.

Member Function Documentation

◆ doIt()

template<typename FuncT , typename ResultT >
virtual void vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >::doIt ( )
inlineoverrideprivatevirtual

◆ exec()

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

Definition at line 59 of file threadex.hxx.

Member Data Documentation

◆ m_exc

template<typename FuncT , typename ResultT >
std::exception_ptr vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >::m_exc
private

◆ m_func

template<typename FuncT , typename ResultT >
FuncT const vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >::m_func
private

◆ m_result

template<typename FuncT , typename ResultT >
::std::optional<ResultT> vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >::m_result
private

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