LibreOffice Module sw (master) 1
|
#include <finalthreadmanager.hxx>
Public Member Functions | |
FinalThreadManager (css::uno::Reference< css::uno::XComponentContext > context) | |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | registerJob (const css::uno::Reference< css::util::XCancellable > &Job) override |
virtual void SAL_CALL | releaseJob (const css::uno::Reference< css::util::XCancellable > &Job) override |
virtual void SAL_CALL | cancelAllJobs () override |
virtual void SAL_CALL | cancelTermination (const css::lang::EventObject &Event) override |
virtual void SAL_CALL | queryTermination (const css::lang::EventObject &Event) override |
virtual void SAL_CALL | notifyTermination (const css::lang::EventObject &Event) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
Private Member Functions | |
FinalThreadManager (FinalThreadManager const &)=delete | |
void | operator= (FinalThreadManager const &)=delete |
virtual | ~FinalThreadManager () override |
void | registerAsListenerAtDesktop () |
Private Attributes | |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
osl::Mutex | maMutex |
std::list< css::uno::Reference< css::util::XCancellable > > | maThreads |
std::unique_ptr< CancelJobsThread > | mpCancelJobsThread |
TerminateOfficeThread * | mpTerminateOfficeThread |
std::unique_ptr< SwPauseThreadStarting, o3tl::default_delete< SwPauseThreadStarting > > | mpPauseThreadStarting |
bool | mbRegisteredAtDesktop |
Definition at line 39 of file finalthreadmanager.hxx.
|
explicit |
Definition at line 227 of file finalthreadmanager.cxx.
References m_xContext.
|
privatedelete |
|
overrideprivatevirtual |
Definition at line 241 of file finalthreadmanager.cxx.
References cancelAllJobs(), maThreads, mpCancelJobsThread, mpPauseThreadStarting, mpTerminateOfficeThread, and TerminateOfficeThread::StopOfficeTermination().
|
overridevirtual |
Definition at line 308 of file finalthreadmanager.cxx.
References maMutex, maThreads, and mpCancelJobsThread.
Referenced by notifyTermination(), queryTermination(), and ~FinalThreadManager().
|
overridevirtual |
Definition at line 380 of file finalthreadmanager.cxx.
References mpPauseThreadStarting.
|
overridevirtual |
Definition at line 414 of file finalthreadmanager.cxx.
|
overridevirtual |
Definition at line 272 of file finalthreadmanager.cxx.
|
overridevirtual |
Definition at line 282 of file finalthreadmanager.cxx.
|
overridevirtual |
Definition at line 385 of file finalthreadmanager.cxx.
References cancelAllJobs(), maThreads, mpCancelJobsThread, mpTerminateOfficeThread, SwThreadJoiner::ReleaseThreadJoiner(), and TerminateOfficeThread::StopOfficeTermination().
|
privatedelete |
|
overridevirtual |
Definition at line 341 of file finalthreadmanager.cxx.
References cancelAllJobs(), m_xContext, maMutex, mpCancelJobsThread, mpPauseThreadStarting, mpTerminateOfficeThread, and TerminateOfficeThread::StopOfficeTermination().
|
private |
Definition at line 235 of file finalthreadmanager.cxx.
References m_xContext.
Referenced by registerJob().
|
overridevirtual |
Definition at line 288 of file finalthreadmanager.cxx.
References maMutex, maThreads, mbRegisteredAtDesktop, and registerAsListenerAtDesktop().
|
overridevirtual |
Definition at line 301 of file finalthreadmanager.cxx.
|
overridevirtual |
Definition at line 277 of file finalthreadmanager.cxx.
References cppu::supportsService().
|
private |
Definition at line 74 of file finalthreadmanager.hxx.
Referenced by queryTermination(), and registerAsListenerAtDesktop().
|
private |
Definition at line 76 of file finalthreadmanager.hxx.
Referenced by cancelAllJobs(), queryTermination(), registerJob(), and releaseJob().
|
private |
Definition at line 78 of file finalthreadmanager.hxx.
Referenced by cancelAllJobs(), notifyTermination(), registerJob(), releaseJob(), and ~FinalThreadManager().
|
private |
Definition at line 83 of file finalthreadmanager.hxx.
Referenced by registerJob().
|
private |
Definition at line 79 of file finalthreadmanager.hxx.
Referenced by cancelAllJobs(), notifyTermination(), queryTermination(), and ~FinalThreadManager().
|
private |
Definition at line 81 of file finalthreadmanager.hxx.
Referenced by cancelTermination(), queryTermination(), and ~FinalThreadManager().
|
private |
Definition at line 80 of file finalthreadmanager.hxx.
Referenced by notifyTermination(), queryTermination(), and ~FinalThreadManager().