LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
sw::ListenerEntry Class Referencefinal

#include <calbck.hxx>

Inheritance diagram for sw::ListenerEntry:
[legend]
Collaboration diagram for sw::ListenerEntry:
[legend]

Public Member Functions

 ListenerEntry (SwClient *const pTellHim, SwModify *const pDepend)
 
 ListenerEntry (ListenerEntry const &)=delete
 
ListenerEntryoperator= (ListenerEntry const &)=delete
 
 ListenerEntry (ListenerEntry &&other) noexcept
 
ListenerEntryoperator= (ListenerEntry &&other) noexcept
 
virtual bool GetInfo (SfxPoolItem &rInfo) const override
 get Client information More...
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
virtual void ModifyNotification (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 

Private Member Functions

virtual void Modify (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue) override
 
virtual void SwClientNotify (const SwModify &rModify, const SfxHint &rHint) override
 

Private Attributes

SwClientm_pToTell
 

Friends

template<typename E , typename S , sw::IteratorMode >
class ::SwIterator
 

Additional Inherited Members

- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Definition at line 244 of file calbck.hxx.

Constructor & Destructor Documentation

sw::ListenerEntry::ListenerEntry ( SwClient *const  pTellHim,
SwModify *const  pDepend 
)
inline

Definition at line 251 of file calbck.hxx.

sw::ListenerEntry::ListenerEntry ( ListenerEntry const &  )
delete
sw::ListenerEntry::ListenerEntry ( ListenerEntry &&  other)
inlinenoexcept

Definition at line 256 of file calbck.hxx.

Member Function Documentation

bool sw::ListenerEntry::GetInfo ( SfxPoolItem rInfo) const
overridevirtual

get Client information

Reimplemented from SwClient.

Definition at line 31 of file calbck.cxx.

References SwClient::GetInfo(), and m_pToTell.

void sw::ListenerEntry::Modify ( const SfxPoolItem pOldValue,
const SfxPoolItem pNewValue 
)
overrideprivatevirtual

Reimplemented from SwClient.

Definition at line 33 of file calbck.cxx.

References SwClient::GetRegisteredIn(), and SwClientNotify().

ListenerEntry& sw::ListenerEntry::operator= ( ListenerEntry const &  )
delete
ListenerEntry& sw::ListenerEntry::operator= ( ListenerEntry &&  other)
inlinenoexcept

Definition at line 260 of file calbck.hxx.

References SwModify::Add(), and SwClient::GetRegisteredIn().

void sw::ListenerEntry::SwClientNotify ( const SwModify rModify,
const SfxHint rHint 
)
overrideprivatevirtual

Reimplemented from SwClient.

Definition at line 38 of file calbck.cxx.

References SwClient::CheckRegistration(), m_pToTell, RES_OBJECTDYING, SwClient::SwClientNotify(), and SwClient::SwClientNotifyCall().

Referenced by Modify().

Friends And Related Function Documentation

template<typename E , typename S , sw::IteratorMode >
friend class ::SwIterator
friend

Definition at line 247 of file calbck.hxx.

Member Data Documentation

SwClient* sw::ListenerEntry::m_pToTell
private

Definition at line 248 of file calbck.hxx.

Referenced by GetInfo(), and SwClientNotify().


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