23#include <osl/mutex.hxx>
35class XConfigurationChangeRequest;
42class ConfigurationUpdater;
68 const css::uno::Reference<css::drawing::framework::XConfiguration>& rxConfiguration);
75 const css::uno::Reference<css::drawing::framework::XConfigurationChangeRequest>& rxRequest);
The ChangeRequestQueueProcessor owns the ChangeRequestQueue and processes the configuration change re...
void AddRequest(const css::uno::Reference< css::drawing::framework::XConfigurationChangeRequest > &rxRequest)
The given request is appended to the end of the queue and will eventually be processed when all other...
DECL_LINK(ProcessEvent, void *, void)
Callback function for the PostUserEvent() call.
ChangeRequestQueueProcessor(std::shared_ptr< ConfigurationUpdater > pUpdater)
The queue processor is created with a reference to an ConfigurationController so that its UpdateConfi...
ImplSVEvent * mnUserEventId
The id returned by the last PostUserEvent() call.
void StartProcessing()
Initiate the processing of the entries in the queue.
ChangeRequestQueue maQueue
mutable::osl::Mutex maMutex
void ProcessUntilEmpty()
Process all events in the queue synchronously.
void ProcessOneEvent()
Process the first event in queue.
void SetConfiguration(const css::uno::Reference< css::drawing::framework::XConfiguration > &rxConfiguration)
Sets the configuration who will be changed by subsequent change requests.
void Clear()
Remove all events from the queue.
bool IsEmpty() const
Returns </sal_True> when the queue is empty.
std::shared_ptr< ConfigurationUpdater > mpConfigurationUpdater
~ChangeRequestQueueProcessor()
css::uno::Reference< css::drawing::framework::XConfiguration > mxConfiguration
The ChangeRequestQueue stores the pending requests for changes to the requested configuration.