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:
[legend]
Collaboration diagram for SwDrawModellListener_Impl:
[legend]

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
 
SdrModelmpDrawModel
 

Detailed Description

Definition at line 127 of file accmap.cxx.

Constructor & Destructor Documentation

SwDrawModellListener_Impl::~SwDrawModellListener_Impl ( )
overrideprotectedvirtual

Definition at line 153 of file accmap.cxx.

References Dispose().

SwDrawModellListener_Impl::SwDrawModellListener_Impl ( SdrModel pDrawModel)
explicit

Definition at line 146 of file accmap.cxx.

References mpDrawModel, and SfxListener::StartListening().

Member Function Documentation

void SAL_CALL SwDrawModellListener_Impl::addEventListener ( const uno::Reference< document::XEventListener > &  xListener)
overridevirtual
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 
)
overridevirtual
void SAL_CALL SwDrawModellListener_Impl::removeEventListener ( const uno::Reference< document::XEventListener > &  xListener)
overridevirtual

Member Data Documentation

::comphelper::OInterfaceContainerHelper2 SwDrawModellListener_Impl::maEventListeners
private

Definition at line 131 of file accmap.cxx.

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

mutable ::osl::Mutex SwDrawModellListener_Impl::maListenerMutex
private

Definition at line 130 of file accmap.cxx.

SdrModel* SwDrawModellListener_Impl::mpDrawModel
private

Definition at line 132 of file accmap.cxx.

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


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