Definition at line 255 of file undo.cxx.
◆ UndoManagerGuard()
◆ ~UndoManagerGuard()
svl::undo::impl::UndoManagerGuard::~UndoManagerGuard |
( |
| ) |
|
◆ cancelNotifications()
void svl::undo::impl::UndoManagerGuard::cancelNotifications |
( |
| ) |
|
|
inline |
◆ clear()
ResetGuard svl::undo::impl::UndoManagerGuard::clear |
( |
| ) |
|
|
inline |
◆ markForDeletion()
void svl::undo::impl::UndoManagerGuard::markForDeletion |
( |
std::unique_ptr< SfxUndoAction > |
i_action | ) |
|
|
inline |
marks the given Undo action for deletion
The Undo action will be put into a list, whose members will be deleted from within the destructor of the UndoManagerGuard. This deletion will happen without the UndoManager's mutex locked.
Definition at line 287 of file undo.cxx.
References m_aUndoActionsCleanup.
◆ scheduleNotification() [1/2]
void svl::undo::impl::UndoManagerGuard::scheduleNotification |
( |
UndoListenerStringMethod |
i_notificationMethod, |
|
|
const OUString & |
i_actionComment |
|
) |
| |
|
inline |
◆ scheduleNotification() [2/2]
schedules the given SfxUndoListener method to be called for all registered listeners.
The notification will happen after the Undo manager's mutex has been released, and after all pending deletions of Undo actions are done.
Definition at line 299 of file undo.cxx.
References m_notifiers.
◆ m_aGuard
::osl::ResettableMutexGuard svl::undo::impl::UndoManagerGuard::m_aGuard |
|
private |
◆ m_aUndoActionsCleanup
::std::vector< std::unique_ptr<SfxUndoAction> > svl::undo::impl::UndoManagerGuard::m_aUndoActionsCleanup |
|
private |
◆ m_notifiers
::std::vector< NotifyUndoListener > svl::undo::impl::UndoManagerGuard::m_notifiers |
|
private |
◆ m_rManagerData
The documentation for this class was generated from the following file: