LibreOffice Module vcl (master)
1
|
#include <threadex.hxx>
Public Member Functions | |
SolarThreadExecutor () | |
virtual | ~SolarThreadExecutor () |
virtual void | doIt ()=0 |
void | execute () |
Private Member Functions | |
DECL_DLLPRIVATE_LINK (worker, void *, void) | |
Private Attributes | |
osl::Condition | m_aStart |
osl::Condition | m_aFinish |
bool | m_bTimeout |
Definition at line 32 of file threadex.hxx.
SolarThreadExecutor::SolarThreadExecutor | ( | ) |
Definition at line 25 of file threadex.cxx.
|
virtual |
Definition at line 32 of file threadex.cxx.
|
pure virtual |
Implemented in vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, void >, and vcl::solarthread::detail::GenericSolarThreadExecutor< FuncT, ResultT >.
Referenced by execute().
void SolarThreadExecutor::execute | ( | ) |
Definition at line 44 of file threadex.cxx.
References doIt(), Application::IsMainThread(), LINK, m_aFinish, m_aStart, m_bTimeout, Application::PostUserEvent(), and Application::RemoveUserEvent().
|
private |
Definition at line 35 of file threadex.hxx.
Referenced by execute().
|
private |
Definition at line 34 of file threadex.hxx.
Referenced by execute().
|
private |
Definition at line 36 of file threadex.hxx.
Referenced by execute().