LibreOffice Module sd (master) 1
Public Member Functions | List of all members
sd::framework::UpdateRequest Class Referencefinal

This update request is used to request configuration updates asynchronous when no other requests are being processed. More...

#include <UpdateRequest.hxx>

Inheritance diagram for sd::framework::UpdateRequest:
[legend]
Collaboration diagram for sd::framework::UpdateRequest:
[legend]

Public Member Functions

 UpdateRequest () noexcept
 
virtual ~UpdateRequest () noexcept override
 
virtual void SAL_CALL execute (const css::uno::Reference< css::drawing::framework::XConfiguration > &rxConfiguration) override
 
virtual OUString SAL_CALL getName () override
 Return a human readable string representation. More...
 
virtual void SAL_CALL setName (const OUString &rName) override
 This call is ignored because the XNamed interface is (mis)used to give access to a human readable name for debugging purposes. More...
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelper< typename... Ifc >
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual void SAL_CALL dispose () noexcept final override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelperBase
virtual ~WeakComponentImplHelperBase () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual void disposing (std::unique_lock< std::mutex > &)
 
- Public Member Functions inherited from comphelper::UnoImplBase
virtual ~UnoImplBase ()
 

Additional Inherited Members

- Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase
void throwIfDisposed (std::unique_lock< std::mutex > &)
 
- Protected Attributes inherited from comphelper::WeakComponentImplHelperBase
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > maEventListeners
 
- Protected Attributes inherited from comphelper::UnoImplBase
std::mutex m_aMutex
 
bool m_bDisposed
 

Detailed Description

This update request is used to request configuration updates asynchronous when no other requests are being processed.

When there are other requests then we can simply wait until the last one is executed: the configuration is updated when the request queue becomes empty. This is use by this implementation as well. The execute() method does not really do anything. This request just triggers the update of the configuration when it is removed as last request from the queue.

Definition at line 43 of file UpdateRequest.hxx.

Constructor & Destructor Documentation

◆ UpdateRequest()

sd::framework::UpdateRequest::UpdateRequest ( )
noexcept

Definition at line 28 of file UpdateRequest.cxx.

◆ ~UpdateRequest()

sd::framework::UpdateRequest::~UpdateRequest ( )
overridevirtualnoexcept

Definition at line 30 of file UpdateRequest.cxx.

Member Function Documentation

◆ execute()

void SAL_CALL sd::framework::UpdateRequest::execute ( const css::uno::Reference< css::drawing::framework::XConfiguration > &  rxConfiguration)
overridevirtual

Definition at line 32 of file UpdateRequest.cxx.

◆ getName()

OUString SAL_CALL sd::framework::UpdateRequest::getName ( )
overridevirtual

Return a human readable string representation.

This is used for debugging purposes.

Definition at line 38 of file UpdateRequest.cxx.

◆ setName()

void SAL_CALL sd::framework::UpdateRequest::setName ( const OUString &  rName)
overridevirtual

This call is ignored because the XNamed interface is (mis)used to give access to a human readable name for debugging purposes.

Definition at line 40 of file UpdateRequest.cxx.


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