LibreOffice Module dbaccess (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
dbaccess::DocumentEvents Class Reference

#include <documentevents.hxx>

Inheritance diagram for dbaccess::DocumentEvents:
[legend]
Collaboration diagram for dbaccess::DocumentEvents:
[legend]

Public Member Functions

 DocumentEvents (::cppu::OWeakObject &_rParent, ::osl::Mutex &_rMutex, DocumentEventsData &_rEventsData)
 
virtual ~DocumentEvents () override
 
 DocumentEvents (const DocumentEvents &)=delete
 
const DocumentEventsoperator= (const DocumentEvents &)=delete
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual void SAL_CALL replaceByName (const OUString &aName, const css::uno::Any &aElement) override
 
virtual css::uno::Any SAL_CALL getByName (const OUString &aName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual sal_Bool SAL_CALL hasByName (const OUString &aName) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 

Static Public Member Functions

static bool needsSynchronousNotification (std::u16string_view _rEventName)
 

Private Attributes

::cppu::OWeakObjectmrParent
 
::osl::Mutex & mrMutex
 
DocumentEventsDatamrEventsData
 

Detailed Description

Definition at line 38 of file documentevents.hxx.

Constructor & Destructor Documentation

◆ DocumentEvents() [1/2]

dbaccess::DocumentEvents::DocumentEvents ( ::cppu::OWeakObject _rParent,
::osl::Mutex &  _rMutex,
DocumentEventsData _rEventsData 
)

Definition at line 82 of file documentevents.cxx.

References mrEventsData, and mrParent.

◆ ~DocumentEvents()

dbaccess::DocumentEvents::~DocumentEvents ( )
overridevirtual

Definition at line 96 of file documentevents.cxx.

◆ DocumentEvents() [2/2]

dbaccess::DocumentEvents::DocumentEvents ( const DocumentEvents )
delete

Member Function Documentation

◆ acquire()

void SAL_CALL dbaccess::DocumentEvents::acquire ( )
overridevirtualnoexcept

Definition at line 100 of file documentevents.cxx.

References cppu::OWeakObject::acquire(), and mrParent.

◆ getByName()

Any SAL_CALL dbaccess::DocumentEvents::getByName ( const OUString &  aName)
overridevirtual

Definition at line 157 of file documentevents.cxx.

References Any, mrEventsData, mrMutex, and Name.

◆ getElementNames()

Sequence< OUString > SAL_CALL dbaccess::DocumentEvents::getElementNames ( )
overridevirtual

Definition at line 172 of file documentevents.cxx.

References comphelper::mapKeysToSequence(), mrEventsData, and mrMutex.

◆ getElementType()

Type SAL_CALL dbaccess::DocumentEvents::getElementType ( )
overridevirtual

Definition at line 186 of file documentevents.cxx.

◆ hasByName()

sal_Bool SAL_CALL dbaccess::DocumentEvents::hasByName ( const OUString &  aName)
overridevirtual

Definition at line 179 of file documentevents.cxx.

References mrEventsData, mrMutex, and Name.

◆ hasElements()

sal_Bool SAL_CALL dbaccess::DocumentEvents::hasElements ( )
overridevirtual

Definition at line 191 of file documentevents.cxx.

References mrEventsData, and mrMutex.

◆ needsSynchronousNotification()

bool dbaccess::DocumentEvents::needsSynchronousNotification ( std::u16string_view  _rEventName)
static

Definition at line 110 of file documentevents.cxx.

References o3tl::equalsAscii().

Referenced by dbaccess::ODatabaseDocument::notifyDocumentEvent().

◆ operator=()

const DocumentEvents & dbaccess::DocumentEvents::operator= ( const DocumentEvents )
delete

◆ release()

void SAL_CALL dbaccess::DocumentEvents::release ( )
overridevirtualnoexcept

Definition at line 105 of file documentevents.cxx.

References mrParent, and cppu::OWeakObject::release().

◆ replaceByName()

void SAL_CALL dbaccess::DocumentEvents::replaceByName ( const OUString &  aName,
const css::uno::Any &  aElement 
)
overridevirtual

Member Data Documentation

◆ mrEventsData

DocumentEventsData& dbaccess::DocumentEvents::mrEventsData
private

◆ mrMutex

::osl::Mutex& dbaccess::DocumentEvents::mrMutex
private

Definition at line 67 of file documentevents.hxx.

Referenced by getByName(), getElementNames(), hasByName(), hasElements(), and replaceByName().

◆ mrParent

::cppu::OWeakObject& dbaccess::DocumentEvents::mrParent
private

Definition at line 66 of file documentevents.hxx.

Referenced by acquire(), and release().


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