LibreOffice Module ucb (master) 1
|
#include <cacheddynamicresultset.hxx>
Public Member Functions | |
CachedDynamicResultSet (css::uno::Reference< css::ucb::XDynamicResultSet > const &xOrigin, const css::uno::Reference< css::ucb::XContentIdentifierMapping > &xContentMapping, const css::uno::Reference< css::uno::XComponentContext > &xContext) | |
virtual | ~CachedDynamicResultSet () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
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 | impl_disposing (const css::lang::EventObject &Source) override |
Public Member Functions inherited from DynamicResultSetWrapper | |
DynamicResultSetWrapper (css::uno::Reference< css::ucb::XDynamicResultSet > const &xOrigin, const css::uno::Reference< css::uno::XComponentContext > &rxContext) | |
virtual | ~DynamicResultSetWrapper () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL | getStaticResultSet () override |
virtual void SAL_CALL | setListener (const css::uno::Reference< css::ucb::XDynamicResultSetListener > &Listener) override |
virtual void SAL_CALL | connectToCache (const css::uno::Reference< css::ucb::XDynamicResultSet > &xCache) override |
virtual sal_Int16 SAL_CALL | getCapabilities () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &Listener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &Listener) override |
virtual void SAL_CALL | setSource (const css::uno::Reference< css::uno::XInterface > &Source) override |
virtual void | impl_disposing (const css::lang::EventObject &Source) |
void | impl_notify (const css::ucb::ListEvent &Changes) |
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 | impl_InitResultSetOne (const css::uno::Reference< css::sdbc::XResultSet > &xResultSet) override |
virtual void | impl_InitResultSetTwo (const css::uno::Reference< css::sdbc::XResultSet > &xResultSet) override |
Protected Member Functions inherited from DynamicResultSetWrapper | |
void | impl_init () |
void | impl_deinit () |
void | impl_EnsureNotDisposed () |
virtual void | impl_InitResultSetOne (const css::uno::Reference< css::sdbc::XResultSet > &xResultSet) |
virtual void | impl_InitResultSetTwo (const css::uno::Reference< css::sdbc::XResultSet > &xResultSet) |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Private Attributes | |
css::uno::Reference< css::ucb::XContentIdentifierMapping > | m_xContentIdentifierMapping |
Additional Inherited Members | |
Protected Attributes inherited from DynamicResultSetWrapper | |
rtl::Reference< DynamicResultSetWrapperListener > | m_xMyListenerImpl |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
std::mutex | m_aMutex |
bool | m_bStatic |
bool | m_bGotWelcome |
css::uno::Reference< css::ucb::XDynamicResultSet > | m_xSource |
css::uno::Reference< css::sdbc::XResultSet > | m_xSourceResultOne |
css::uno::Reference< css::sdbc::XResultSet > | m_xSourceResultTwo |
css::uno::Reference< css::sdbc::XResultSet > | m_xMyResultOne |
css::uno::Reference< css::sdbc::XResultSet > | m_xMyResultTwo |
css::uno::Reference< css::ucb::XDynamicResultSetListener > | m_xListener |
osl::Condition | m_aSourceSet |
osl::Condition | m_aListenerSet |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
Definition at line 30 of file cacheddynamicresultset.hxx.
CachedDynamicResultSet::CachedDynamicResultSet | ( | css::uno::Reference< css::ucb::XDynamicResultSet > const & | xOrigin, |
const css::uno::Reference< css::ucb::XContentIdentifierMapping > & | xContentMapping, | ||
const css::uno::Reference< css::uno::XComponentContext > & | xContext | ||
) |
Definition at line 33 of file cacheddynamicresultset.cxx.
References DynamicResultSetWrapper::impl_init().
|
overridevirtual |
Definition at line 43 of file cacheddynamicresultset.cxx.
References DynamicResultSetWrapper::impl_deinit().
|
overridevirtualnoexcept |
Reimplemented from cppu::OWeakObject.
Definition at line 78 of file cacheddynamicresultset.cxx.
|
overridevirtual |
|
overridevirtual |
Definition at line 120 of file cacheddynamicresultset.cxx.
|
overridevirtual |
Definition at line 130 of file cacheddynamicresultset.cxx.
|
overridevirtual |
|
overridevirtual |
css::uno::RuntimeException |
Reimplemented from DynamicResultSetWrapper.
Definition at line 139 of file cacheddynamicresultset.cxx.
References DynamicResultSetWrapper::impl_disposing(), m_xContentIdentifierMapping, and Source.
|
overrideprotectedvirtual |
Reimplemented from DynamicResultSetWrapper.
Definition at line 49 of file cacheddynamicresultset.cxx.
References DynamicResultSetWrapper::impl_InitResultSetOne(), DynamicResultSetWrapper::m_aMutex, m_xContentIdentifierMapping, DynamicResultSetWrapper::m_xContext, DynamicResultSetWrapper::m_xMyResultOne, and DynamicResultSetWrapper::m_xSourceResultOne.
|
overrideprotectedvirtual |
Reimplemented from DynamicResultSetWrapper.
Definition at line 63 of file cacheddynamicresultset.cxx.
References DynamicResultSetWrapper::impl_InitResultSetTwo(), DynamicResultSetWrapper::m_aMutex, m_xContentIdentifierMapping, DynamicResultSetWrapper::m_xContext, DynamicResultSetWrapper::m_xMyResultTwo, and DynamicResultSetWrapper::m_xSourceResultTwo.
|
overridevirtual |
Reimplemented from DynamicResultSetWrapper.
Definition at line 90 of file cacheddynamicresultset.cxx.
References Any, DynamicResultSetWrapper::queryInterface(), and cppu::queryInterface().
|
overridevirtualnoexcept |
Reimplemented from cppu::OWeakObject.
Definition at line 84 of file cacheddynamicresultset.cxx.
|
overridevirtual |
Definition at line 125 of file cacheddynamicresultset.cxx.
References ServiceName, and cppu::supportsService().
|
private |
Definition at line 36 of file cacheddynamicresultset.hxx.
Referenced by impl_disposing(), impl_InitResultSetOne(), and impl_InitResultSetTwo().