LibreOffice Module extensions (master) 1
|
#include <loadlisteneradapter.hxx>
Public Member Functions | |
OComponentAdapterBase (const css::uno::Reference< css::lang::XComponent > &_rxComp) | |
void | Init (OComponentListener *_pListener) |
virtual void SAL_CALL | acquire () noexcept=0 |
virtual void SAL_CALL | release () noexcept=0 |
void | dispose () |
dispose the object - stop listening and such More... | |
Protected Member Functions | |
const css::uno::Reference< css::lang::XComponent > & | getComponent () const |
OComponentListener * | getListener () |
virtual void | startComponentListening ()=0 |
virtual | ~OComponentAdapterBase () |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) |
Private Member Functions | |
virtual void | disposing ()=0 |
Private Attributes | |
css::uno::Reference< css::lang::XComponent > | m_xComponent |
OComponentListener * | m_pListener |
bool | m_bListening: 1 |
Friends | |
class | OComponentListener |
Definition at line 54 of file loadlisteneradapter.hxx.
|
protectedvirtual |
Definition at line 70 of file loadlisteneradapter.cxx.
|
explicit |
Definition at line 47 of file loadlisteneradapter.cxx.
References m_xComponent.
|
pure virtualnoexcept |
Implemented in bib::OLoadListenerAdapter.
void bib::OComponentAdapterBase::dispose | ( | void | ) |
dispose the object - stop listening and such
Definition at line 75 of file loadlisteneradapter.cxx.
References disposing(), m_bListening, m_pListener, m_xComponent, and bib::OComponentListener::setAdapter().
|
privatepure virtual |
Implemented in bib::OLoadListenerAdapter.
Referenced by dispose().
|
protectedvirtual |
css::uno::RuntimeException |
Reimplemented in bib::OLoadListenerAdapter.
|
inlineprotected |
Definition at line 69 of file loadlisteneradapter.hxx.
References m_xComponent.
Referenced by bib::OLoadListenerAdapter::disposing(), and bib::OLoadListenerAdapter::startComponentListening().
|
inlineprotected |
Definition at line 70 of file loadlisteneradapter.hxx.
References m_pListener.
Referenced by bib::OLoadListenerAdapter::getLoadListener().
void bib::OComponentAdapterBase::Init | ( | OComponentListener * | _pListener | ) |
Definition at line 56 of file loadlisteneradapter.cxx.
References m_bListening, m_pListener, bib::OComponentListener::setAdapter(), and startComponentListening().
|
pure virtualnoexcept |
Implemented in bib::OLoadListenerAdapter.
|
protectedpure virtual |
Implemented in bib::OLoadListenerAdapter.
Referenced by Init().
|
friend |
Definition at line 56 of file loadlisteneradapter.hxx.
|
private |
Definition at line 61 of file loadlisteneradapter.hxx.
|
private |
Definition at line 60 of file loadlisteneradapter.hxx.
Referenced by dispose(), getListener(), and Init().
|
private |
Definition at line 59 of file loadlisteneradapter.hxx.
Referenced by dispose(), getComponent(), and OComponentAdapterBase().