LibreOffice Module vcl (master)
1
|
#include <vclreferencebase.hxx>
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 | |
VclReferenceBase & | operator= (const VclReferenceBase &)=delete |
Private Attributes | |
oslInterlockedCount | mnRefCnt |
bool | mbDisposed: 1 |
Friends | |
template<typename T > | |
class | VclPtr |
class | ::VclBuilder |
Definition at line 27 of file vclreferencebase.hxx.
|
privatedelete |
|
protected |
Definition at line 22 of file vclreferencebase.cxx.
References false.
|
protectedvirtual |
Definition at line 28 of file vclreferencebase.cxx.
References disposeOnce().
|
inline |
Definition at line 35 of file vclreferencebase.hxx.
Reimplemented in ImplCFieldFloatWin, vcl::PDFWriterImpl, vcl::Window, ImplListBoxFloatingWindow, DateField, MenuBar, RadioButton, ImplListBox, VclPaned, SvTreeListBox, OutputDevice, ToolBox, ImplListBoxWindow, MetricBox, ResizableDockingWindow, DropdownDockingWindow, MetricField, Menu, SvtIconChoiceCtrl, Calendar, Printer, DockingWindow, Control, SystemWindow, Edit, VirtualDevice, ListBox, ImplBorderWindow, SplitWindow, FloatingWindow, vcl::RoadmapWizard, StatusBar, SvHeaderTabListBox, MenuBarWindow, Dialog, VclMultiLineEdit, TabControl, ScrollBar, MenuFloatingWindow, CalendarField, Button, ImplWheelWindow, WorkWindow, Splitter, MenuButton, SvTabListBox, ComboBox, FixedText, HelpTextWindow, VerticalTabControl, TextWindow, MessageDialog, TabPage, NotebookbarPopup, SystemChildWindow, PriorityMergedHBox, DropdownBox, SpinField, NotebookBar, FormattedField, vcl::WindowOutputDevice, ManagedMenuButton, and InterimItemWindow.
Definition at line 41 of file vclreferencebase.cxx.
Referenced by Menu::dispose(), OutputDevice::dispose(), vcl::Window::dispose(), and 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().
|
inline |
Definition at line 47 of file vclreferencebase.hxx.
|
inline |
Definition at line 69 of file vclreferencebase.hxx.
Referenced by acceptableWheelScrollTarget(), vcl::WindowOutputDevice::AcquireGraphics(), vcl::Window::CallEventListeners(), MenuBarWindow::ChangeHighlightItem(), RadioButton::Check(), Dialog::Close(), SystemWindow::Close(), DockingWindow::Close(), Edit::Command(), vcl::WindowOutputDevice::dispose(), vcl::Window::Enable(), MenuFloatingWindow::End(), Dialog::EndDialog(), vcl::Window::EndSaveFocus(), PushButton::EndSelection(), vcl::Window::EventNotify(), Dialog::Execute(), ToolBox::ExecuteCustomMenu(), MenuButton::ExecuteMenu(), WindowUIObject::get_children(), vcl::Window::GetFocus(), vcl::Window::GetSizePixel(), IMPL_LINK_NOARG(), ToolBox::ImplActivateItem(), RadioButton::ImplCallClick(), ImplCallCommand(), Control::ImplCallEventListenersAndHandler(), ImplCallWheelCommand(), CheckBox::ImplCheck(), ImplCursorInvert(), PopupMenu::ImplExecute(), vcl::Window::ImplGrabFocus(), ImplHandleKey(), ToolBox::ImplHandleMouseButtonUp(), ImplHandleMouseEvent(), ImplLOKHandleMouseEvent(), vcl::Window::ImplNewInputContext(), vcl::Window::ImplNotifyKeyMouseCommandEventListeners(), HelpTextWindow::ImplShow(), ToolBox::ImplShowFocus(), ImplSysChildProc(), MenuFloatingWindow::KeyInput(), ToolBox::KeyInput(), vcl::Window::PaintImmediately(), ToolBox::Select(), vcl::Window::Show(), SvTreeListBox::StartDrag(), ToolBox::Tracking(), and SalInstanceTextView::~SalInstanceTextView().
|
privatedelete |
|
inline |
Definition at line 40 of file vclreferencebase.hxx.
Referenced by Application::PostGestureEvent(), Application::PostKeyEvent(), and Application::PostMouseEvent().
|
friend |
Definition at line 32 of file vclreferencebase.hxx.
|
friend |
Definition at line 31 of file vclreferencebase.hxx.
|
private |
Definition at line 56 of file vclreferencebase.hxx.
Referenced by disposeOnce().
|
mutableprivate |
Definition at line 29 of file vclreferencebase.hxx.