LibreOffice Module vcl (master) 1
|
#include <threadex.hxx>
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 () |
Definition at line 56 of file threadex.hxx.
|
inlineexplicitprivate |
Definition at line 70 of file threadex.hxx.
|
inlineoverrideprivatevirtual |
Implements vcl::SolarThreadExecutor.
Definition at line 73 of file threadex.hxx.
References vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >::m_exc, vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >::m_func, and vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >::m_result.
|
inlinestatic |
Definition at line 59 of file threadex.hxx.
|
private |
Definition at line 83 of file threadex.hxx.
Referenced by vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >::doIt(), and vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, void >::doIt().
|
private |
Definition at line 87 of file threadex.hxx.
Referenced by vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >::doIt(), and vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, void >::doIt().
|
private |
Definition at line 91 of file threadex.hxx.
Referenced by vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >::doIt().