LibreOffice Module unotools (master) 1
|
Public Member Functions | |
CloseableComponentImpl (const Reference< XInterface > &_rxComponent) | |
void | nf_closeComponent () |
closes the component More... | |
Protected Member Functions | |
virtual | ~CloseableComponentImpl () override |
virtual void SAL_CALL | queryClosing (const EventObject &Source, sal_Bool GetsOwnership) override |
virtual void SAL_CALL | notifyClosing (const EventObject &Source) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
Private Member Functions | |
CloseableComponentImpl (const CloseableComponentImpl &)=delete | |
CloseableComponentImpl & | operator= (const CloseableComponentImpl &)=delete |
void | impl_nf_switchListening (bool _bListen) |
starts or stops being a CloseListener at the component More... | |
Private Attributes | |
Reference< XCloseable > | m_xCloseable |
Definition at line 69 of file sharedunocomponent.cxx.
|
privatedelete |
|
explicit |
Definition at line 107 of file sharedunocomponent.cxx.
References DBG_ASSERT, impl_nf_switchListening(), and m_xCloseable.
|
overrideprotectedvirtual |
Definition at line 114 of file sharedunocomponent.cxx.
References nf_closeComponent().
|
overrideprotectedvirtual |
Definition at line 179 of file sharedunocomponent.cxx.
References DBG_ASSERT, m_xCloseable, and Source.
|
private |
starts or stops being a CloseListener at the component
Only to be called upon construction of the instance, or when the component is to be closed.
@nofail
Definition at line 143 of file sharedunocomponent.cxx.
References Exception, m_xCloseable, and TOOLS_WARN_EXCEPTION.
Referenced by CloseableComponentImpl(), and nf_closeComponent().
void utl::CloseableComponentImpl::nf_closeComponent | ( | ) |
closes the component
@nofail
Definition at line 119 of file sharedunocomponent.cxx.
References Exception, impl_nf_switchListening(), m_xCloseable, and TOOLS_WARN_EXCEPTION.
Referenced by ~CloseableComponentImpl().
|
overrideprotectedvirtual |
Definition at line 169 of file sharedunocomponent.cxx.
References DBG_ASSERT, m_xCloseable, and Source.
|
privatedelete |
|
overrideprotectedvirtual |
Definition at line 161 of file sharedunocomponent.cxx.
References DBG_ASSERT, m_xCloseable, and Source.
|
private |
Definition at line 72 of file sharedunocomponent.cxx.
Referenced by CloseableComponentImpl(), disposing(), impl_nf_switchListening(), nf_closeComponent(), notifyClosing(), and queryClosing().