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

Public Member Functions

 TheModel (rtl::Reference<::chart::ChartModel > xModel)
 
virtual ~TheModel () override
 
void addListener (ChartController *pController)
 
void removeListener (ChartController *pController)
 
void tryTermination ()
 
const rtl::Reference<::chart::ChartModel > & getModel () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Attributes

rtl::Reference<::chart::ChartModel > m_xModel
 
bool m_bOwnership
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 351 of file ChartController.hxx.

Constructor & Destructor Documentation

◆ TheModel()

chart::ChartController::TheModel::TheModel ( rtl::Reference<::chart::ChartModel >  xModel)
explicit

Definition at line 130 of file ChartController.cxx.

References m_xModel, and xModel.

◆ ~TheModel()

chart::ChartController::TheModel::~TheModel ( )
overridevirtual

Definition at line 136 of file ChartController.cxx.

Member Function Documentation

◆ addListener()

void chart::ChartController::TheModel::addListener ( ChartController pController)

Definition at line 140 of file ChartController.cxx.

References m_xModel.

Referenced by chart::ChartController::attachModel().

◆ getModel()

const rtl::Reference<::chart::ChartModel > & chart::ChartController::TheModel::getModel ( ) const
inline

◆ removeListener()

void chart::ChartController::TheModel::removeListener ( ChartController pController)

◆ tryTermination()

void chart::ChartController::TheModel::tryTermination ( )

Definition at line 161 of file ChartController.cxx.

References DBG_UNHANDLED_EXCEPTION, m_xModel, and SAL_WARN_IF.

Referenced by chart::ChartController::dispose().

Member Data Documentation

◆ m_bOwnership

bool chart::ChartController::TheModel::m_bOwnership
private

Definition at line 369 of file ChartController.hxx.

◆ m_xModel

rtl::Reference<::chart::ChartModel> chart::ChartController::TheModel::m_xModel
private

Definition at line 365 of file ChartController.hxx.

Referenced by getModel().


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