LibreOffice Module chart2 (master) 1
Public Member Functions | Private Attributes | List of all members
chart::ControllerLockHelper Class Reference

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>

Collaboration diagram for chart::ControllerLockHelper:
[legend]

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ControllerLockHelper()

chart::ControllerLockHelper::ControllerLockHelper ( rtl::Reference<::chart::ChartModel >  xModel)
explicit

Definition at line 51 of file ControllerLockGuard.cxx.

References m_xModel, and xModel.

◆ ~ControllerLockHelper()

chart::ControllerLockHelper::~ControllerLockHelper ( )

Definition at line 55 of file ControllerLockGuard.cxx.

Member Function Documentation

◆ lockControllers()

void chart::ControllerLockHelper::lockControllers ( )

◆ unlockControllers()

void chart::ControllerLockHelper::unlockControllers ( )

Member Data Documentation

◆ m_xModel

rtl::Reference<::chart::ChartModel> chart::ControllerLockHelper::m_xModel
private

Definition at line 75 of file ControllerLockGuard.hxx.

Referenced by lockControllers(), and unlockControllers().


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