LibreOffice Module vcl (master) 1
Public Member Functions | Private Attributes | List of all members
VclEventListeners Class Reference

#include <vcleventlisteners.hxx>

Public Member Functions

void Call (VclSimpleEvent &rEvent) const
 
void addListener (const Link< VclSimpleEvent &, void > &rListener)
 
void removeListener (const Link< VclSimpleEvent &, void > &rListener)
 

Private Attributes

std::vector< Link< VclSimpleEvent &, void > > m_aListeners
 
bool m_updated = false
 

Detailed Description

Definition at line 24 of file vcleventlisteners.hxx.

Member Function Documentation

◆ addListener()

void VclEventListeners::addListener ( const Link< VclSimpleEvent &, void > &  rListener)

Definition at line 62 of file vclevent.cxx.

References m_aListeners, and m_updated.

Referenced by Application::AddEventListener().

◆ Call()

void VclEventListeners::Call ( VclSimpleEvent rEvent) const

◆ removeListener()

void VclEventListeners::removeListener ( const Link< VclSimpleEvent &, void > &  rListener)

Definition at line 68 of file vclevent.cxx.

References m_aListeners, and m_updated.

Referenced by Application::RemoveEventListener().

Member Data Documentation

◆ m_aListeners

std::vector<Link<VclSimpleEvent&, void> > VclEventListeners::m_aListeners
private

Definition at line 32 of file vcleventlisteners.hxx.

Referenced by addListener(), Call(), and removeListener().

◆ m_updated

bool VclEventListeners::m_updated = false
mutableprivate

Definition at line 33 of file vcleventlisteners.hxx.

Referenced by addListener(), Call(), and removeListener().


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