LibreOffice Module desktop (master) 1
|
#include <officeipcthread.hxx>
Public Types | |
enum | Status { IPC_STATUS_OK , IPC_STATUS_2ND_OFFICE , IPC_STATUS_PIPE_ERROR , IPC_STATUS_BOOTSTRAP_ERROR } |
Public Member Functions | |
bool | AreRequestsEnabled () const |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Static Public Member Functions | |
static void | SetDowning () |
static void | EnableRequests () |
static bool | AreRequestsPending () |
static void | RequestsCompleted () |
static bool | ExecuteCmdLineRequests (ProcessDocumentsRequest &, bool noTerminate) |
static Status | Enable (bool ipc) |
static void | Disable () |
static void | SetReady (bool bIsReady) |
static void | WaitForReady () |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Private Types | |
enum class | State { Starting , RequestsEnabled , Downing } |
Private Member Functions | |
RequestHandler () | |
virtual | ~RequestHandler () override |
Static Private Member Functions | |
::osl::Mutex & | GetMutex () |
Private Attributes | |
friend | IpcThread |
friend | PipeIpcThread |
friend | DbusIpcThread |
State | mState |
int | mnPendingRequests |
rtl::Reference< DispatchWatcher > | mpDispatchWatcher |
rtl::Reference< IpcThread > | mIpcThread |
::osl::Condition | cProcessed |
bool | mbSuccess = false |
::osl::Condition | cReady |
Static Private Attributes | |
static rtl::Reference< RequestHandler > | pGlobal |
Additional Inherited Members | |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Definition at line 75 of file officeipcthread.hxx.
|
strongprivate |
Enumerator | |
---|---|
Starting | |
RequestsEnabled | |
Downing |
Definition at line 84 of file officeipcthread.hxx.
Enumerator | |
---|---|
IPC_STATUS_OK | |
IPC_STATUS_2ND_OFFICE | |
IPC_STATUS_PIPE_ERROR | |
IPC_STATUS_BOOTSTRAP_ERROR |
Definition at line 108 of file officeipcthread.hxx.
|
private |
Definition at line 887 of file officeipcthread.cxx.
Referenced by Enable().
|
overrideprivatevirtual |
Definition at line 893 of file officeipcthread.cxx.
References mIpcThread.
|
inline |
Definition at line 131 of file officeipcthread.hxx.
References mState, and RequestsEnabled.
|
static |
Definition at line 673 of file officeipcthread.cxx.
References GetMutex(), and pGlobal.
Referenced by desktop::DispatchWatcher::dispatchFinished(), and desktop::RequestHandlerController::queryTermination().
|
static |
Definition at line 857 of file officeipcthread.cxx.
References aMutex, Downing, GetMutex(), and pGlobal.
Referenced by desktop::Desktop::DeInit(), desktop::Desktop::Exception(), desktop::Desktop::Init(), desktop::Desktop::QueryExit(), and desktop::SalMainPipeExchangeSignal_impl().
|
static |
Definition at line 694 of file officeipcthread.cxx.
References desktop::PipeIpcThread::enable(), GetMutex(), IPC_STATUS_OK, pGlobal, and RequestHandler().
Referenced by desktop::Desktop::Init(), and lo_initialize().
|
static |
Definition at line 657 of file officeipcthread.cxx.
References Downing, ExecuteCmdLineRequests(), GetMutex(), pGlobal, and RequestsEnabled.
Referenced by desktop::Desktop::OpenClients().
|
static |
Definition at line 1298 of file officeipcthread.cxx.
References desktop::ProcessDocumentsRequest::aConversionList, desktop::ProcessDocumentsRequest::aConversionOut, desktop::ProcessDocumentsRequest::aConversionParams, desktop::ProcessDocumentsRequest::aCwdUrl, desktop::AddConversionsToDispatchList(), desktop::AddToDispatchList(), desktop::ProcessDocumentsRequest::aForceNewList, desktop::ProcessDocumentsRequest::aForceOpenList, desktop::ProcessDocumentsRequest::aImageConversionType, desktop::ProcessDocumentsRequest::aInFilter, desktop::ProcessDocumentsRequest::aModule, desktop::ProcessDocumentsRequest::aOpenList, ApplicationEvent::Appear, desktop::ProcessDocumentsRequest::aPrinterName, desktop::ProcessDocumentsRequest::aPrintList, desktop::ProcessDocumentsRequest::aPrintToList, desktop::ProcessDocumentsRequest::aStartList, desktop::ProcessDocumentsRequest::aViewList, desktop::ProcessDocumentsRequest::bScriptCat, desktop::ProcessDocumentsRequest::bTextCat, GetMutex(), desktop::ImplPostForeignAppEvent(), desktop::ProcessDocumentsRequest::mpbSuccess, desktop::ProcessDocumentsRequest::pcProcessed, pGlobal, desktop::DispatchWatcher::REQUEST_FORCENEW, desktop::DispatchWatcher::REQUEST_FORCEOPEN, desktop::DispatchWatcher::REQUEST_INFILTER, desktop::DispatchWatcher::REQUEST_OPEN, desktop::DispatchWatcher::REQUEST_PRINT, desktop::DispatchWatcher::REQUEST_PRINTTO, desktop::DispatchWatcher::REQUEST_START, and desktop::DispatchWatcher::REQUEST_VIEW.
Referenced by EnableRequests(), desktop::Desktop::HandleAppEvent(), desktop::IMPL_STATIC_LINK(), desktop::Desktop::OpenClients(), and desktop::Desktop::OpenDefault().
|
staticprivate |
Definition at line 640 of file officeipcthread.cxx.
Referenced by AreRequestsPending(), Disable(), Enable(), EnableRequests(), desktop::PipeIpcThread::execute(), ExecuteCmdLineRequests(), RequestsCompleted(), SetDowning(), SetReady(), and WaitForReady().
|
static |
Definition at line 683 of file officeipcthread.cxx.
References GetMutex(), and pGlobal.
Referenced by desktop::DispatchWatcher::dispatchFinished(), and desktop::DispatchWatcher::executeDispatchRequests().
|
static |
Definition at line 646 of file officeipcthread.cxx.
References Downing, GetMutex(), and pGlobal.
Referenced by desktop::RequestHandlerController::queryTermination().
|
static |
Definition at line 898 of file officeipcthread.cxx.
References GetMutex(), and pGlobal.
Referenced by desktop::IMPL_LINK_NOARG(), and lo_initialize().
|
static |
Definition at line 910 of file officeipcthread.cxx.
References GetMutex(), pGlobal, and t.
Referenced by lo_initialize().
|
private |
Definition at line 92 of file officeipcthread.hxx.
Referenced by desktop::PipeIpcThread::execute(), and desktop::IpcThread::process().
|
private |
Definition at line 99 of file officeipcthread.hxx.
Referenced by desktop::PipeIpcThread::execute().
|
private |
Definition at line 79 of file officeipcthread.hxx.
|
private |
Definition at line 77 of file officeipcthread.hxx.
|
private |
Definition at line 94 of file officeipcthread.hxx.
Referenced by desktop::PipeIpcThread::execute(), and desktop::IpcThread::process().
|
private |
Definition at line 89 of file officeipcthread.hxx.
Referenced by ~RequestHandler().
|
private |
Definition at line 87 of file officeipcthread.hxx.
|
private |
Definition at line 88 of file officeipcthread.hxx.
|
private |
Definition at line 86 of file officeipcthread.hxx.
Referenced by AreRequestsEnabled(), and desktop::PipeIpcThread::execute().
|
staticprivate |
Definition at line 82 of file officeipcthread.hxx.
Referenced by AreRequestsPending(), Disable(), Enable(), EnableRequests(), desktop::PipeIpcThread::execute(), ExecuteCmdLineRequests(), RequestsCompleted(), SetDowning(), SetReady(), and WaitForReady().
|
private |
Definition at line 78 of file officeipcthread.hxx.