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::optional< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
void CheckRegistrationFormat (SwFormat &rOld)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 
virtual const SwCellFrameDynCastCellFrame () const
 
virtual const SwTabFrameDynCastTabFrame () const
 
virtual const SwRowFrameDynCastRowFrame () const
 
virtual const SwTableDynCastTable () const
 

Private Member Functions

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
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint)=0
 

Detailed Description

Definition at line 233 of file calbck.hxx.

Constructor & Destructor Documentation

◆ ListenerEntry() [1/3]

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

Definition at line 240 of file calbck.hxx.

◆ ListenerEntry() [2/3]

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

◆ ListenerEntry() [3/3]

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

Definition at line 245 of file calbck.hxx.

Member Function Documentation

◆ GetInfo()

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

get Client information

Reimplemented from SwClient.

Definition at line 35 of file calbck.cxx.

References SwClient::GetInfo(), and m_pToTell.

◆ operator=() [1/2]

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

Definition at line 249 of file calbck.hxx.

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

◆ operator=() [2/2]

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

◆ SwClientNotify()

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

Friends And Related Function Documentation

◆ ::SwIterator

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

Definition at line 236 of file calbck.hxx.

Member Data Documentation

◆ m_pToTell

SwClient* sw::ListenerEntry::m_pToTell
private

Definition at line 237 of file calbck.hxx.

Referenced by GetInfo(), operator=(), and SwClientNotify().


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