LibreOffice Module framework (master) 1
|
#include <wakeupthread.hxx>
Public Member Functions | |
WakeUpThread (css::uno::Reference< css::util::XUpdatable > const &updatable) | |
void | stop () |
Public Member Functions inherited from salhelper::Thread | |
Thread (char const *name) | |
void | launch () |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Private Member Functions | |
void | execute () override |
Private Attributes | |
css::uno::WeakReference< css::util::XUpdatable > | updatable_ |
std::condition_variable | condition_ |
std::mutex | mutex_ |
bool | terminate_ |
Additional Inherited Members | |
Static Public Member Functions inherited from salhelper::Thread | |
static void * | operator new (std::size_t size) |
static void | operator delete (void *pointer) |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Protected Member Functions inherited from salhelper::Thread | |
virtual | ~Thread () SAL_OVERRIDE |
virtual void | execute ()=0 |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Definition at line 37 of file wakeupthread.hxx.
framework::WakeUpThread::WakeUpThread | ( | css::uno::Reference< css::util::XUpdatable > const & | updatable | ) |
Definition at line 46 of file wakeupthread.cxx.
|
overrideprivatevirtual |
Implements salhelper::Thread.
Definition at line 30 of file wakeupthread.cxx.
References condition_, mutex_, terminate_, up(), and updatable_.
void framework::WakeUpThread::stop | ( | ) |
Definition at line 51 of file wakeupthread.cxx.
|
private |
Definition at line 40 of file wakeupthread.hxx.
Referenced by execute().
|
private |
Definition at line 41 of file wakeupthread.hxx.
Referenced by execute().
|
private |
Definition at line 42 of file wakeupthread.hxx.
Referenced by execute().
|
private |
Definition at line 39 of file wakeupthread.hxx.
Referenced by execute().