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:
Collaboration diagram for TerminateOfficeThread:

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 144 of file finalthreadmanager.cxx.

Constructor & Destructor Documentation

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

Definition at line 147 of file finalthreadmanager.cxx.

References false.

Member Function Documentation

bool TerminateOfficeThread::OfficeTerminationStopped ( )

Definition at line 178 of file finalthreadmanager.cxx.

References maMutex, and mbStopOfficeTermination.

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

void SAL_CALL TerminateOfficeThread::onTerminated ( )

Definition at line 219 of file finalthreadmanager.cxx.

References OfficeTerminationStopped().

void TerminateOfficeThread::PerformOfficeTermination ( )

Definition at line 201 of file finalthreadmanager.cxx.

References mxContext, and OfficeTerminationStopped().

Referenced by run().

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

Member Data Documentation

osl::Mutex TerminateOfficeThread::maMutex

Definition at line 163 of file finalthreadmanager.cxx.

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

bool TerminateOfficeThread::mbStopOfficeTermination

Definition at line 166 of file finalthreadmanager.cxx.

Referenced by OfficeTerminationStopped(), and StopOfficeTermination().

const CancelJobsThread& TerminateOfficeThread::mrCancelJobsThread

Definition at line 165 of file finalthreadmanager.cxx.

Referenced by run().

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

Definition at line 168 of file finalthreadmanager.cxx.

Referenced by PerformOfficeTermination().

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