|
LibreOffice Module chart2 (master) 1
|
This helper class can be used to pass a locking mechanism to other objects without exposing the full XModel to it. More...
#include <ControllerLockGuard.hxx>
Public Member Functions | |
| ControllerLockHelper (rtl::Reference<::chart::ChartModel > xModel) | |
| ~ControllerLockHelper () | |
| SAL_DLLPRIVATE void | lockControllers () |
| SAL_DLLPRIVATE void | unlockControllers () |
Private Attributes | |
| rtl::Reference<::chart::ChartModel > | m_xModel |
This helper class can be used to pass a locking mechanism to other objects without exposing the full XModel to it.
Use the ControllerLockHelperGuard to lock/unlock the model during a block of instructions.
Definition at line 65 of file ControllerLockGuard.hxx.
|
explicit |
Definition at line 51 of file ControllerLockGuard.cxx.
| chart::ControllerLockHelper::~ControllerLockHelper | ( | ) |
Definition at line 55 of file ControllerLockGuard.cxx.
| void chart::ControllerLockHelper::lockControllers | ( | ) |
Definition at line 58 of file ControllerLockGuard.cxx.
References m_xModel.
Referenced by chart::ControllerLockHelperGuard::ControllerLockHelperGuard().
| void chart::ControllerLockHelper::unlockControllers | ( | ) |
Definition at line 64 of file ControllerLockGuard.cxx.
References m_xModel.
Referenced by chart::ControllerLockHelperGuard::~ControllerLockHelperGuard().
|
private |
Definition at line 75 of file ControllerLockGuard.hxx.
Referenced by lockControllers(), and unlockControllers().