LibreOffice Module svl (master) 1
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
SvtListener Class Reference

#include <listener.hxx>

Collaboration diagram for SvtListener:
[legend]

Classes

class  QueryBase
 

Public Member Functions

 SvtListener ()=default
 
 SvtListener (const SvtListener &r)=default
 
virtual ~SvtListener () COVERITY_NOEXCEPT_FALSE
 
bool StartListening (SvtBroadcaster &rBroadcaster)
 
void EndListening (SvtBroadcaster &rBroadcaster)
 
void EndListeningAll ()
 
void CopyAllBroadcasters (const SvtListener &r)
 Overwrites existing broadcasters with the ones from the specified listener. More...
 
bool HasBroadcaster () const
 
virtual void Notify (const SfxHint &rHint)
 
virtual void Query (QueryBase &rQuery) const
 

Private Types

typedef o3tl::sorted_vector< SvtBroadcaster * > BroadcastersType
 

Private Member Functions

const SvtListeneroperator= (const SvtListener &)=delete
 
void BroadcasterDying (SvtBroadcaster &rBroadcaster)
 

Private Attributes

BroadcastersType maBroadcasters
 

Friends

class SvtBroadcaster
 

Detailed Description

Definition at line 29 of file listener.hxx.

Member Typedef Documentation

◆ BroadcastersType

Definition at line 32 of file listener.hxx.

Constructor & Destructor Documentation

◆ SvtListener() [1/2]

SvtListener::SvtListener ( )
default

◆ SvtListener() [2/2]

SvtListener::SvtListener ( const SvtListener r)
default

◆ ~SvtListener()

SvtListener::~SvtListener ( )
virtual

Definition at line 23 of file listener.cxx.

References EndListeningAll().

Member Function Documentation

◆ BroadcasterDying()

void SvtListener::BroadcasterDying ( SvtBroadcaster rBroadcaster)
private

◆ CopyAllBroadcasters()

void SvtListener::CopyAllBroadcasters ( const SvtListener r)

Overwrites existing broadcasters with the ones from the specified listener.

Definition at line 74 of file listener.cxx.

References EndListeningAll(), maBroadcasters, p, and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::swap().

◆ EndListening()

void SvtListener::EndListening ( SvtBroadcaster rBroadcaster)

◆ EndListeningAll()

void SvtListener::EndListeningAll ( )

◆ HasBroadcaster()

bool SvtListener::HasBroadcaster ( ) const
inline

◆ Notify()

void SvtListener::Notify ( const SfxHint rHint)
virtual

Definition at line 85 of file listener.cxx.

◆ operator=()

const SvtListener & SvtListener::operator= ( const SvtListener )
privatedelete

◆ Query()

void SvtListener::Query ( QueryBase rQuery) const
virtual

Definition at line 87 of file listener.cxx.

◆ StartListening()

bool SvtListener::StartListening ( SvtBroadcaster rBroadcaster)

Friends And Related Function Documentation

◆ SvtBroadcaster

friend class SvtBroadcaster
friend

Definition at line 31 of file listener.hxx.

Member Data Documentation

◆ maBroadcasters

BroadcastersType SvtListener::maBroadcasters
private

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