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 | |
![]() | |
SolarThreadExecutor () | |
virtual | ~SolarThreadExecutor () |
virtual void | doIt ()=0 |
void | execute () |
Definition at line 55 of file threadex.hxx.
|
inlineexplicitprivate |
Definition at line 69 of file threadex.hxx.
|
inlineoverrideprivatevirtual |
Implements vcl::SolarThreadExecutor.
Definition at line 72 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 58 of file threadex.hxx.
|
private |
Definition at line 82 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 86 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 90 of file threadex.hxx.
Referenced by vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >::doIt().