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
 
class ::VclBuilder
 

Detailed Description

Definition at line 27 of file vclreferencebase.hxx.

Constructor & Destructor Documentation

◆ VclReferenceBase() [1/2]

VclReferenceBase::VclReferenceBase ( const VclReferenceBase )
privatedelete

◆ VclReferenceBase() [2/2]

VclReferenceBase::VclReferenceBase ( )
protected

Definition at line 22 of file vclreferencebase.cxx.

◆ ~VclReferenceBase()

VclReferenceBase::~VclReferenceBase ( )
protectedvirtual

Definition at line 28 of file vclreferencebase.cxx.

References disposeOnce().

Member Function Documentation

◆ acquire()

void VclReferenceBase::acquire ( ) const
inline

Definition at line 35 of file vclreferencebase.hxx.

◆ dispose()

void VclReferenceBase::dispose ( void  )
protectedvirtual

◆ disposeOnce()

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(), Button::~Button(), Calendar::~Calendar(), CalendarField::~CalendarField(), ComboBox::~ComboBox(), ContextVBox::~ContextVBox(), Control::~Control(), Dialog::~Dialog(), DockingWindow::~DockingWindow(), DropdownBox::~DropdownBox(), DropdownDockingWindow::~DropdownDockingWindow(), Edit::~Edit(), FixedText::~FixedText(), FloatingWindow::~FloatingWindow(), HelpTextWindow::~HelpTextWindow(), vcl::HyperLabel::~HyperLabel(), ImplBorderWindow::~ImplBorderWindow(), ImplCFieldFloatWin::~ImplCFieldFloatWin(), ImplListBox::~ImplListBox(), ImplListBoxFloatingWindow::~ImplListBoxFloatingWindow(), ImplListBoxWindow::~ImplListBoxWindow(), ImplPopupFloatWin::~ImplPopupFloatWin(), ImplWheelWindow::~ImplWheelWindow(), InterimItemWindow::~InterimItemWindow(), ListBox::~ListBox(), ManagedMenuButton::~ManagedMenuButton(), Menu::~Menu(), MenuBar::~MenuBar(), MenuBarWindow::~MenuBarWindow(), MenuButton::~MenuButton(), MenuFloatingWindow::~MenuFloatingWindow(), MenuToggleButton::~MenuToggleButton(), MessageDialog::~MessageDialog(), NotebookBar::~NotebookBar(), NotebookbarPopup::~NotebookbarPopup(), OptionalBox::~OptionalBox(), OutputDevice::~OutputDevice(), vcl::PDFWriterImpl::~PDFWriterImpl(), PopupMenu::~PopupMenu(), Printer::~Printer(), PriorityHBox::~PriorityHBox(), PriorityMergedHBox::~PriorityMergedHBox(), RadioButton::~RadioButton(), ResizableDockingWindow::~ResizableDockingWindow(), 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(), TabPage::~TabPage(), TextWindow::~TextWindow(), ToolBox::~ToolBox(), VclMultiLineEdit::~VclMultiLineEdit(), VclPaned::~VclPaned(), ~VclReferenceBase(), VerticalTabControl::~VerticalTabControl(), VirtualDevice::~VirtualDevice(), vcl::Window::~Window(), vcl::WindowOutputDevice::~WindowOutputDevice(), and WorkWindow::~WorkWindow().

◆ getRefCount()

sal_Int32 VclReferenceBase::getRefCount ( ) const
inline

Definition at line 47 of file vclreferencebase.hxx.

◆ isDisposed()

bool VclReferenceBase::isDisposed ( ) const
inline

◆ operator=()

VclReferenceBase & VclReferenceBase::operator= ( const VclReferenceBase )
privatedelete

◆ release()

void VclReferenceBase::release ( ) const
inline

Friends And Related Function Documentation

◆ ::VclBuilder

friend class ::VclBuilder
friend

Definition at line 32 of file vclreferencebase.hxx.

◆ VclPtr

template<typename T >
friend class VclPtr
friend

Definition at line 31 of file vclreferencebase.hxx.

Member Data Documentation

◆ mbDisposed

bool VclReferenceBase::mbDisposed
private

Definition at line 56 of file vclreferencebase.hxx.

Referenced by disposeOnce().

◆ mnRefCnt

oslInterlockedCount VclReferenceBase::mnRefCnt
mutableprivate

Definition at line 29 of file vclreferencebase.hxx.


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