LibreOffice Module chart2 (master) 1
Public Member Functions | Private Attributes | List of all members
chart::impl::UndoManager_Impl Class Reference
Inheritance diagram for chart::impl::UndoManager_Impl:
[legend]
Collaboration diagram for chart::impl::UndoManager_Impl:
[legend]

Public Member Functions

 UndoManager_Impl (UndoManager &i_antiImpl, ::chart::ChartModel &i_parent, ::osl::Mutex &i_mutex)
 
virtual ~UndoManager_Impl ()
 
::osl::Mutex & getMutex ()
 
virtual SfxUndoManagergetImplUndoManager () override
 
virtual Reference< XUndoManager > getThis () override
 
::chart::ChartModel & getParent ()
 
::framework::UndoManagerHelpergetUndoHelper ()
 
void disposing ()
 is called when the owner of the UndoManager is being disposed More...
 
void checkDisposed_lck ()
 checks whether we're already disposed, throws a DisposedException if so More...
 
virtual SfxUndoManagergetImplUndoManager ()=0
 
virtual css::uno::Reference< css::document::XUndoManager > getThis ()=0
 

Private Attributes

UndoManagerm_rAntiImpl
 
::chart::ChartModel & m_rParent
 
::osl::Mutex & m_rMutex
 
bool m_bDisposed
 
SfxUndoManager m_aUndoManager
 
::framework::UndoManagerHelper m_aUndoHelper
 

Additional Inherited Members

- Protected Member Functions inherited from framework::IUndoManagerImplementation
 ~IUndoManagerImplementation ()
 

Detailed Description

Definition at line 50 of file UndoManager.cxx.

Constructor & Destructor Documentation

◆ UndoManager_Impl()

chart::impl::UndoManager_Impl::UndoManager_Impl ( UndoManager i_antiImpl,
::chart::ChartModel &  i_parent,
::osl::Mutex &  i_mutex 
)
inline

Definition at line 53 of file UndoManager.cxx.

References m_aUndoManager, and SfxUndoManager::SetMaxUndoActionCount().

◆ ~UndoManager_Impl()

virtual chart::impl::UndoManager_Impl::~UndoManager_Impl ( )
inlinevirtual

Definition at line 64 of file UndoManager.cxx.

Member Function Documentation

◆ checkDisposed_lck()

void chart::impl::UndoManager_Impl::checkDisposed_lck ( )

checks whether we're already disposed, throws a DisposedException if so

Definition at line 119 of file UndoManager.cxx.

References getThis(), and m_bDisposed.

◆ disposing()

void chart::impl::UndoManager_Impl::disposing ( )

is called when the owner of the UndoManager is being disposed

Definition at line 110 of file UndoManager.cxx.

References framework::UndoManagerHelper::disposing(), m_aUndoHelper, m_bDisposed, and m_rMutex.

◆ getImplUndoManager()

SfxUndoManager & chart::impl::UndoManager_Impl::getImplUndoManager ( )
overridevirtual

Implements framework::IUndoManagerImplementation.

Definition at line 100 of file UndoManager.cxx.

References m_aUndoManager.

◆ getMutex()

osl::Mutex & chart::impl::UndoManager_Impl::getMutex ( )

Definition at line 95 of file UndoManager.cxx.

References m_rMutex.

◆ getParent()

::chart::ChartModel & chart::impl::UndoManager_Impl::getParent ( )
inline

Definition at line 74 of file UndoManager.cxx.

References m_rParent.

◆ getThis()

Reference< XUndoManager > chart::impl::UndoManager_Impl::getThis ( )
overridevirtual

Implements framework::IUndoManagerImplementation.

Definition at line 105 of file UndoManager.cxx.

References m_rAntiImpl.

Referenced by checkDisposed_lck().

◆ getUndoHelper()

::framework::UndoManagerHelper & chart::impl::UndoManager_Impl::getUndoHelper ( )
inline

Definition at line 75 of file UndoManager.cxx.

References m_aUndoHelper.

Member Data Documentation

◆ m_aUndoHelper

::framework::UndoManagerHelper chart::impl::UndoManager_Impl::m_aUndoHelper
private

Definition at line 92 of file UndoManager.cxx.

Referenced by disposing(), and getUndoHelper().

◆ m_aUndoManager

SfxUndoManager chart::impl::UndoManager_Impl::m_aUndoManager
private

Definition at line 91 of file UndoManager.cxx.

Referenced by getImplUndoManager(), and UndoManager_Impl().

◆ m_bDisposed

bool chart::impl::UndoManager_Impl::m_bDisposed
private

Definition at line 89 of file UndoManager.cxx.

Referenced by checkDisposed_lck(), and disposing().

◆ m_rAntiImpl

UndoManager& chart::impl::UndoManager_Impl::m_rAntiImpl
private

Definition at line 86 of file UndoManager.cxx.

Referenced by getThis().

◆ m_rMutex

::osl::Mutex& chart::impl::UndoManager_Impl::m_rMutex
private

Definition at line 88 of file UndoManager.cxx.

Referenced by disposing(), and getMutex().

◆ m_rParent

::chart::ChartModel& chart::impl::UndoManager_Impl::m_rParent
private

Definition at line 87 of file UndoManager.cxx.

Referenced by getParent().


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