LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
SwDrawModellListener_Impl Class Reference
Inheritance diagram for SwDrawModellListener_Impl:
Collaboration diagram for SwDrawModellListener_Impl:

Public Member Functions

 SwDrawModellListener_Impl (SdrModel *pDrawModel)
virtual void SAL_CALL addEventListener (const uno::Reference< document::XEventListener > &xListener) override
virtual void SAL_CALL removeEventListener (const uno::Reference< document::XEventListener > &xListener) override
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
void Dispose ()
- Public Member Functions inherited from SfxListener
 SfxListener ()
 SfxListener (const SfxListener &rCopy)
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
void EndListeningAll ()
bool IsListening (SfxBroadcaster &rBroadcaster) const
sal_uInt16 GetBroadcasterCount () const
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)

Protected Member Functions

virtual ~SwDrawModellListener_Impl () override

Private Attributes

mutable::osl::Mutex maListenerMutex
::comphelper::OInterfaceContainerHelper2 maEventListeners

Detailed Description

Definition at line 128 of file accmap.cxx.

Constructor & Destructor Documentation

SwDrawModellListener_Impl::~SwDrawModellListener_Impl ( )

Definition at line 154 of file accmap.cxx.

References Dispose().

SwDrawModellListener_Impl::SwDrawModellListener_Impl ( SdrModel pDrawModel)

Definition at line 147 of file accmap.cxx.

References mpDrawModel, and SfxListener::StartListening().

Member Function Documentation

void SAL_CALL SwDrawModellListener_Impl::addEventListener ( const uno::Reference< document::XEventListener > &  xListener)
void SwDrawModellListener_Impl::Dispose ( )

Definition at line 209 of file accmap.cxx.

References SfxListener::EndListening(), and mpDrawModel.

Referenced by ~SwDrawModellListener_Impl().

void SwDrawModellListener_Impl::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
void SAL_CALL SwDrawModellListener_Impl::removeEventListener ( const uno::Reference< document::XEventListener > &  xListener)

Member Data Documentation

::comphelper::OInterfaceContainerHelper2 SwDrawModellListener_Impl::maEventListeners

Definition at line 132 of file accmap.cxx.

Referenced by addEventListener(), Notify(), and removeEventListener().

mutable ::osl::Mutex SwDrawModellListener_Impl::maListenerMutex

Definition at line 131 of file accmap.cxx.

SdrModel* SwDrawModellListener_Impl::mpDrawModel

Definition at line 133 of file accmap.cxx.

Referenced by Dispose(), Notify(), and SwDrawModellListener_Impl().

The documentation for this class was generated from the following file: