LibreOffice Module sw (master) 1
|
thread to terminate office, when all jobs are cancelled. More...
Public Member Functions | |
TerminateOfficeThread (CancelJobsThread const &rCancelJobsThread, css::uno::Reference< css::uno::XComponentContext > xContext) | |
void | StopOfficeTermination () |
Private Member Functions | |
virtual void SAL_CALL | run () override |
virtual void SAL_CALL | onTerminated () override |
bool | OfficeTerminationStopped () |
void | PerformOfficeTermination () |
Private Attributes | |
osl::Mutex | maMutex |
const CancelJobsThread & | mrCancelJobsThread |
bool | mbStopOfficeTermination |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
thread to terminate office, when all jobs are cancelled.
helper class for FinalThreadManager
Definition at line 146 of file finalthreadmanager.cxx.
|
inline |
Definition at line 149 of file finalthreadmanager.cxx.
|
private |
Definition at line 180 of file finalthreadmanager.cxx.
References maMutex, and mbStopOfficeTermination.
Referenced by onTerminated(), PerformOfficeTermination(), and run().
|
overrideprivatevirtual |
Definition at line 221 of file finalthreadmanager.cxx.
References OfficeTerminationStopped().
|
private |
Definition at line 203 of file finalthreadmanager.cxx.
References mxContext, and OfficeTerminationStopped().
Referenced by run().
|
overrideprivatevirtual |
Definition at line 187 of file finalthreadmanager.cxx.
References CancelJobsThread::allJobsCancelled(), maMutex, mrCancelJobsThread, OfficeTerminationStopped(), and PerformOfficeTermination().
void TerminateOfficeThread::StopOfficeTermination | ( | ) |
Definition at line 173 of file finalthreadmanager.cxx.
References maMutex, and mbStopOfficeTermination.
Referenced by FinalThreadManager::notifyTermination(), FinalThreadManager::queryTermination(), and FinalThreadManager::~FinalThreadManager().
|
private |
Definition at line 165 of file finalthreadmanager.cxx.
Referenced by OfficeTerminationStopped(), run(), and StopOfficeTermination().
|
private |
Definition at line 168 of file finalthreadmanager.cxx.
Referenced by OfficeTerminationStopped(), and StopOfficeTermination().
|
private |
Definition at line 167 of file finalthreadmanager.cxx.
Referenced by run().
|
private |
Definition at line 170 of file finalthreadmanager.cxx.
Referenced by PerformOfficeTermination().