LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TerminateOfficeThread Class Reference

thread to terminate office, when all jobs are cancelled. More...

Inheritance diagram for TerminateOfficeThread:
[legend]
Collaboration diagram for TerminateOfficeThread:
[legend]

Public Member Functions

 TerminateOfficeThread (CancelJobsThread const &rCancelJobsThread, css::uno::Reference< css::uno::XComponentContext > const &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 CancelJobsThreadmrCancelJobsThread
 
bool mbStopOfficeTermination
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

thread to terminate office, when all jobs are cancelled.

helper class for FinalThreadManager

Definition at line 145 of file finalthreadmanager.cxx.

Constructor & Destructor Documentation

TerminateOfficeThread::TerminateOfficeThread ( CancelJobsThread const &  rCancelJobsThread,
css::uno::Reference< css::uno::XComponentContext > const &  xContext 
)
inline

Definition at line 148 of file finalthreadmanager.cxx.

Member Function Documentation

bool TerminateOfficeThread::OfficeTerminationStopped ( )
private

Definition at line 181 of file finalthreadmanager.cxx.

References maMutex, and mbStopOfficeTermination.

Referenced by onTerminated(), PerformOfficeTermination(), and run().

void SAL_CALL TerminateOfficeThread::onTerminated ( )
overrideprivatevirtual

Definition at line 222 of file finalthreadmanager.cxx.

References OfficeTerminationStopped().

void TerminateOfficeThread::PerformOfficeTermination ( )
private

Definition at line 204 of file finalthreadmanager.cxx.

References mxContext, and OfficeTerminationStopped().

Referenced by run().

void SAL_CALL TerminateOfficeThread::run ( )
overrideprivatevirtual
void TerminateOfficeThread::StopOfficeTermination ( )

Member Data Documentation

osl::Mutex TerminateOfficeThread::maMutex
private

Definition at line 166 of file finalthreadmanager.cxx.

Referenced by OfficeTerminationStopped(), run(), and StopOfficeTermination().

bool TerminateOfficeThread::mbStopOfficeTermination
private

Definition at line 169 of file finalthreadmanager.cxx.

Referenced by OfficeTerminationStopped(), and StopOfficeTermination().

const CancelJobsThread& TerminateOfficeThread::mrCancelJobsThread
private

Definition at line 168 of file finalthreadmanager.cxx.

Referenced by run().

css::uno::Reference< css::uno::XComponentContext > TerminateOfficeThread::mxContext
private

Definition at line 171 of file finalthreadmanager.cxx.

Referenced by PerformOfficeTermination().


The documentation for this class was generated from the following file: