LibreOffice Module chart2 (master) 1
Public Member Functions | Private Attributes | List of all members
chart::ChartController::TheModelRef Class Referencefinal
Collaboration diagram for chart::ChartController::TheModelRef:
[legend]

Public Member Functions

 TheModelRef (TheModel *pTheModel, ::osl::Mutex &rMutex)
 
 TheModelRef (const TheModelRef &rTheModel, ::osl::Mutex &rMutex)
 
TheModelRefoperator= (ChartController::TheModel *pTheModel)
 
TheModelRefoperator= (const TheModelRef &rTheModel)
 
 ~TheModelRef ()
 
bool is () const
 
TheModeloperator-> () const
 

Private Attributes

rtl::Reference< TheModelm_xTheModel
 
::osl::Mutex & m_rModelMutex
 

Detailed Description

Definition at line 371 of file ChartController.hxx.

Constructor & Destructor Documentation

◆ TheModelRef() [1/2]

chart::ChartController::TheModelRef::TheModelRef ( TheModel pTheModel,
::osl::Mutex &  rMutex 
)

◆ TheModelRef() [2/2]

chart::ChartController::TheModelRef::TheModelRef ( const TheModelRef rTheModel,
::osl::Mutex &  rMutex 
)

Definition at line 204 of file ChartController.cxx.

References m_rModelMutex, and m_xTheModel.

◆ ~TheModelRef()

chart::ChartController::TheModelRef::~TheModelRef ( )

Definition at line 222 of file ChartController.cxx.

Member Function Documentation

◆ is()

bool chart::ChartController::TheModelRef::is ( ) const

◆ operator->()

TheModel * chart::ChartController::TheModelRef::operator-> ( ) const
inline

Definition at line 380 of file ChartController.hxx.

References m_xTheModel.

◆ operator=() [1/2]

ChartController::TheModelRef & chart::ChartController::TheModelRef::operator= ( ChartController::TheModel pTheModel)

Definition at line 210 of file ChartController.cxx.

◆ operator=() [2/2]

ChartController::TheModelRef & chart::ChartController::TheModelRef::operator= ( const TheModelRef rTheModel)

Definition at line 216 of file ChartController.cxx.

Member Data Documentation

◆ m_rModelMutex

::osl::Mutex& chart::ChartController::TheModelRef::m_rModelMutex
private

Definition at line 383 of file ChartController.hxx.

Referenced by TheModelRef().

◆ m_xTheModel

rtl::Reference<TheModel> chart::ChartController::TheModelRef::m_xTheModel
private

Definition at line 382 of file ChartController.hxx.

Referenced by operator->(), and TheModelRef().


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