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

Constructor & Destructor Documentation

◆ TerminateOfficeThread()

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

Definition at line 149 of file finalthreadmanager.cxx.

Member Function Documentation

◆ OfficeTerminationStopped()

bool TerminateOfficeThread::OfficeTerminationStopped ( )
private

Definition at line 180 of file finalthreadmanager.cxx.

References maMutex, and mbStopOfficeTermination.

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

◆ onTerminated()

void SAL_CALL TerminateOfficeThread::onTerminated ( )
overrideprivatevirtual

Definition at line 221 of file finalthreadmanager.cxx.

References OfficeTerminationStopped().

◆ PerformOfficeTermination()

void TerminateOfficeThread::PerformOfficeTermination ( )
private

Definition at line 203 of file finalthreadmanager.cxx.

References mxContext, and OfficeTerminationStopped().

Referenced by run().

◆ run()

void SAL_CALL TerminateOfficeThread::run ( )
overrideprivatevirtual

◆ StopOfficeTermination()

void TerminateOfficeThread::StopOfficeTermination ( )

Member Data Documentation

◆ maMutex

osl::Mutex TerminateOfficeThread::maMutex
private

Definition at line 165 of file finalthreadmanager.cxx.

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

◆ mbStopOfficeTermination

bool TerminateOfficeThread::mbStopOfficeTermination
private

Definition at line 168 of file finalthreadmanager.cxx.

Referenced by OfficeTerminationStopped(), and StopOfficeTermination().

◆ mrCancelJobsThread

const CancelJobsThread& TerminateOfficeThread::mrCancelJobsThread
private

Definition at line 167 of file finalthreadmanager.cxx.

Referenced by run().

◆ mxContext

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

Definition at line 170 of file finalthreadmanager.cxx.

Referenced by PerformOfficeTermination().


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