LibreOffice Module vcl (master)  1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
VclReferenceBase Class Reference

#include <vclreferencebase.hxx>

Inheritance diagram for VclReferenceBase:
[legend]

Public Member Functions

void acquire () const
 
void release () const
 
sal_Int32 getRefCount () const
 
void disposeOnce ()
 
bool isDisposed () const
 

Protected Member Functions

 VclReferenceBase ()
 
virtual ~VclReferenceBase ()
 
virtual void dispose ()
 

Private Member Functions

 VclReferenceBase (const VclReferenceBase &)=delete
 
VclReferenceBaseoperator= (const VclReferenceBase &)=delete
 

Private Attributes

oslInterlockedCount mnRefCnt
 
bool mbDisposed: 1
 

Friends

template<typename T >
class VclPtr
 

Detailed Description

Definition at line 25 of file vclreferencebase.hxx.

Constructor & Destructor Documentation

VclReferenceBase::VclReferenceBase ( const VclReferenceBase )
privatedelete
VclReferenceBase::VclReferenceBase ( )
protected

Definition at line 22 of file vclreferencebase.cxx.

VclReferenceBase::~VclReferenceBase ( )
protectedvirtual

Definition at line 28 of file vclreferencebase.cxx.

References disposeOnce().

Member Function Documentation

void VclReferenceBase::acquire ( ) const
inline

Definition at line 32 of file vclreferencebase.hxx.

void VclReferenceBase::dispose ( void  )
protectedvirtual
void VclReferenceBase::disposeOnce ( )

Definition at line 33 of file vclreferencebase.cxx.

References dispose(), and mbDisposed.

Referenced by VclBuilder::delete_by_window(), vcl::RoadmapWizard::dispose(), MenuBar::ImplDestroy(), vcl::AboutDialog::~AboutDialog(), Button::~Button(), Calendar::~Calendar(), ComboBox::~ComboBox(), Control::~Control(), Dialog::~Dialog(), DockingAreaWindow::~DockingAreaWindow(), DockingWindow::~DockingWindow(), Edit::~Edit(), FixedText::~FixedText(), FloatingWindow::~FloatingWindow(), HelpTextWindow::~HelpTextWindow(), vcl::HyperLabel::~HyperLabel(), ImplBorderWindow::~ImplBorderWindow(), ImplListBox::~ImplListBox(), ImplListBoxFloatingWindow::~ImplListBoxFloatingWindow(), ImplListBoxWindow::~ImplListBoxWindow(), ImplPopupFloatWin::~ImplPopupFloatWin(), ImplWheelWindow::~ImplWheelWindow(), IntroWindow::~IntroWindow(), ListBox::~ListBox(), Menu::~Menu(), MenuBar::~MenuBar(), MenuBarWindow::~MenuBarWindow(), MenuButton::~MenuButton(), MenuFloatingWindow::~MenuFloatingWindow(), MenuToggleButton::~MenuToggleButton(), MessageDialog::~MessageDialog(), MoreButton::~MoreButton(), NotebookBar::~NotebookBar(), NotebookbarTabControlBase::~NotebookbarTabControlBase(), OptionalBox::~OptionalBox(), vcl::ORoadmap::~ORoadmap(), OutputDevice::~OutputDevice(), vcl::PDFWriterImpl::~PDFWriterImpl(), PopupMenu::~PopupMenu(), PopupMenuFloatingWindow::~PopupMenuFloatingWindow(), Printer::~Printer(), RadioButton::~RadioButton(), vcl::RoadmapWizard::~RoadmapWizard(), ScrollBar::~ScrollBar(), Slider::~Slider(), SpinField::~SpinField(), Splitter::~Splitter(), SplitWindow::~SplitWindow(), StatusBar::~StatusBar(), SvHeaderTabListBox::~SvHeaderTabListBox(), SvTabListBox::~SvTabListBox(), SvtIconChoiceCtrl::~SvtIconChoiceCtrl(), SvTreeListBox::~SvTreeListBox(), SystemChildWindow::~SystemChildWindow(), SystemWindow::~SystemWindow(), TabControl::~TabControl(), TabDialog::~TabDialog(), TabPage::~TabPage(), TextWindow::~TextWindow(), Throbber::~Throbber(), ToolBox::~ToolBox(), VclEventBox::~VclEventBox(), VclExpander::~VclExpander(), VclFrame::~VclFrame(), VclMultiLineEdit::~VclMultiLineEdit(), VclPaned::~VclPaned(), ~VclReferenceBase(), VclScrolledWindow::~VclScrolledWindow(), VerticalTabControl::~VerticalTabControl(), VirtualDevice::~VirtualDevice(), vcl::Window::~Window(), and WorkWindow::~WorkWindow().

sal_Int32 VclReferenceBase::getRefCount ( ) const
inline

Definition at line 44 of file vclreferencebase.hxx.

bool VclReferenceBase::isDisposed ( ) const
inline
VclReferenceBase& VclReferenceBase::operator= ( const VclReferenceBase )
privatedelete
void VclReferenceBase::release ( ) const
inline

Friends And Related Function Documentation

template<typename T >
friend class VclPtr
friend

Definition at line 29 of file vclreferencebase.hxx.

Member Data Documentation

bool VclReferenceBase::mbDisposed
private

Definition at line 53 of file vclreferencebase.hxx.

Referenced by disposeOnce().

oslInterlockedCount VclReferenceBase::mnRefCnt
mutableprivate

Definition at line 27 of file vclreferencebase.hxx.


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