LibreOffice Module forms (master) 1
|
#include <EventThread.hxx>
Public Member Functions | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &_rType) override |
OComponentEventThread (::cppu::OComponentHelper *pCompImpl) | |
virtual | ~OComponentEventThread () override |
void | addEvent (std::unique_ptr< css::lang::EventObject > _pEvt) |
void | addEvent (std::unique_ptr< css::lang::EventObject > _pEvt, const css::uno::Reference< css::awt::XControl > &rControl, bool bFlag=false) |
virtual void SAL_CALL | disposing (const css::lang::EventObject &_rSource) override |
Public Member Functions inherited from cppu::OWeakObject | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Protected Member Functions | |
virtual void SAL_CALL | run () override |
virtual void SAL_CALL | onTerminated () override |
virtual void | processEvent (::cppu::OComponentHelper *_pCompImpl, const css::lang::EventObject *_pEvt, const css::uno::Reference< css::awt::XControl > &_rControl, bool _bFlag)=0 |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Private Types | |
typedef std::vector< std::unique_ptr< css::lang::EventObject > > | ThreadEvents |
typedef std::vector< css::uno::Reference< css::uno::XAdapter > > | ThreadObjects |
Private Member Functions | |
void | impl_clearEventQueue () |
Private Attributes | |
std::mutex | m_aMutex |
::osl::Condition | m_aCond |
ThreadEvents | m_aEvents |
ThreadObjects | m_aControls |
std::vector< bool > | m_aFlags |
rtl::Reference<::cppu::OComponentHelper > | m_xComp |
Additional Inherited Members | |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
Definition at line 46 of file EventThread.hxx.
|
private |
Definition at line 51 of file EventThread.hxx.
|
private |
Definition at line 52 of file EventThread.hxx.
|
explicit |
Definition at line 34 of file EventThread.cxx.
References cppu::OWeakObject::m_refCount, and m_xComp.
|
overridevirtual |
Definition at line 49 of file EventThread.cxx.
References DBG_ASSERT, impl_clearEventQueue(), and m_aEvents.
void frm::OComponentEventThread::addEvent | ( | std::unique_ptr< css::lang::EventObject > | _pEvt | ) |
Referenced by frm::OImageProducerThread_Impl::addEvent().
void frm::OComponentEventThread::addEvent | ( | std::unique_ptr< css::lang::EventObject > | _pEvt, |
const css::uno::Reference< css::awt::XControl > & | rControl, | ||
bool | bFlag = false |
||
) |
|
overridevirtual |
Definition at line 77 of file EventThread.cxx.
References impl_clearEventQueue(), m_aCond, m_aMutex, and m_xComp.
|
private |
Definition at line 70 of file EventThread.cxx.
References m_aControls, m_aEvents, and m_aFlags.
Referenced by disposing(), and ~OComponentEventThread().
|
overrideprotectedvirtual |
Definition at line 125 of file EventThread.cxx.
References cppu::OWeakObject::release().
|
protectedpure virtual |
Implemented in frm::OImageProducerThread_Impl.
References DECLARE_UNO3_DEFAULTS.
Referenced by run().
|
overridevirtual |
Reimplemented from cppu::OWeakObject.
Definition at line 58 of file EventThread.cxx.
References Any.
|
overrideprotectedvirtual |
Definition at line 132 of file EventThread.cxx.
References cppu::OWeakObject::acquire(), m_aCond, m_aControls, m_aEvents, m_aFlags, m_aMutex, m_xComp, and processEvent().
|
private |
Definition at line 55 of file EventThread.hxx.
Referenced by disposing(), and run().
|
private |
Definition at line 57 of file EventThread.hxx.
Referenced by impl_clearEventQueue(), and run().
|
private |
Definition at line 56 of file EventThread.hxx.
Referenced by impl_clearEventQueue(), run(), and ~OComponentEventThread().
|
private |
Definition at line 58 of file EventThread.hxx.
Referenced by impl_clearEventQueue(), and run().
|
private |
Definition at line 54 of file EventThread.hxx.
Referenced by disposing(), and run().
|
private |
Definition at line 60 of file EventThread.hxx.
Referenced by disposing(), OComponentEventThread(), and run().