|
LibreOffice Module vcl (master) 1
|
#include <displayconnectiondispatch.hxx>
Public Member Functions | |
| DisplayConnectionDispatch () | |
| ~DisplayConnectionDispatch () override | |
| void | start () |
| void | terminate () |
| bool | dispatchEvent (void const *pData, int nBytes) |
| virtual void SAL_CALL | addEventHandler (const css::uno::Any &window, const css::uno::Reference< css::awt::XEventHandler > &handler, sal_Int32 eventMask) override |
| virtual void SAL_CALL | removeEventHandler (const css::uno::Any &window, const css::uno::Reference< css::awt::XEventHandler > &handler) override |
| virtual void SAL_CALL | addErrorHandler (const css::uno::Reference< css::awt::XEventHandler > &handler) override |
| virtual void SAL_CALL | removeErrorHandler (const css::uno::Reference< css::awt::XEventHandler > &handler) override |
| virtual css::uno::Any SAL_CALL | getIdentifier () override |
Private Attributes | |
| std::mutex | m_aMutex |
| ::std::vector< css::uno::Reference< css::awt::XEventHandler > > | m_aHandlers |
| OUString | m_ConnectionIdentifier |
Definition at line 32 of file displayconnectiondispatch.hxx.
| DisplayConnectionDispatch::DisplayConnectionDispatch | ( | ) |
Definition at line 32 of file displayconnectiondispatch.cxx.
References SalInstance::GetConnectionIdentifier(), ImplGetSVData(), m_ConnectionIdentifier, and ImplSVData::mpDefInst.
|
override |
Definition at line 37 of file displayconnectiondispatch.cxx.
|
overridevirtual |
Definition at line 80 of file displayconnectiondispatch.cxx.
|
overridevirtual |
Definition at line 66 of file displayconnectiondispatch.cxx.
References m_aHandlers, and m_aMutex.
| bool DisplayConnectionDispatch::dispatchEvent | ( | void const * | pData, |
| int | nBytes | ||
| ) |
Definition at line 93 of file displayconnectiondispatch.cxx.
References aEvent, Any, aSeq, m_aHandlers, m_aMutex, and pData.
|
overridevirtual |
Definition at line 88 of file displayconnectiondispatch.cxx.
References Any, and m_ConnectionIdentifier.
|
overridevirtual |
Definition at line 84 of file displayconnectiondispatch.cxx.
|
overridevirtual |
Definition at line 73 of file displayconnectiondispatch.cxx.
References m_aHandlers, and m_aMutex.
| void DisplayConnectionDispatch::start | ( | ) |
Definition at line 40 of file displayconnectiondispatch.cxx.
References DBG_TESTSOLARMUTEX, ImplGetSVData(), ImplSVData::mpDefInst, and SalInstance::SetEventCallback().
| void DisplayConnectionDispatch::terminate | ( | ) |
Definition at line 47 of file displayconnectiondispatch.cxx.
References aEvent, Any, DBG_TESTSOLARMUTEX, ImplGetSVData(), m_aHandlers, m_aMutex, ImplSVData::mpDefInst, and SalInstance::SetEventCallback().
|
private |
Definition at line 37 of file displayconnectiondispatch.hxx.
Referenced by addEventHandler(), dispatchEvent(), removeEventHandler(), and terminate().
|
private |
Definition at line 35 of file displayconnectiondispatch.hxx.
Referenced by addEventHandler(), dispatchEvent(), removeEventHandler(), and terminate().
|
private |
Definition at line 38 of file displayconnectiondispatch.hxx.
Referenced by DisplayConnectionDispatch(), and getIdentifier().