LibreOffice Module svl (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ItemHolder2 Class Reference

#include <itemholder2.hxx>

Inheritance diagram for ItemHolder2:
[legend]
Collaboration diagram for ItemHolder2:
[legend]

Public Member Functions

 ItemHolder2 ()
 
virtual ~ItemHolder2 () override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &aEvent) override
 

Static Public Member Functions

static void holdConfigItem (EItem eItem)
 

Private Member Functions

void impl_addItem (EItem eItem)
 
void impl_releaseAllItems ()
 

Static Private Member Functions

static void impl_newItem (TItemInfo &rItem)
 

Private Attributes

std::mutex m_aLock
 
std::vector< TItemInfom_lItems
 

Detailed Description

Definition at line 28 of file itemholder2.hxx.

Constructor & Destructor Documentation

◆ ItemHolder2()

ItemHolder2::ItemHolder2 ( )

Definition at line 32 of file itemholder2.cxx.

References TOOLS_WARN_EXCEPTION.

Referenced by holdConfigItem().

◆ ~ItemHolder2()

ItemHolder2::~ItemHolder2 ( )
overridevirtual

Definition at line 59 of file itemholder2.cxx.

References impl_releaseAllItems().

Member Function Documentation

◆ disposing()

void SAL_CALL ItemHolder2::disposing ( const css::lang::EventObject &  aEvent)
overridevirtual

Definition at line 70 of file itemholder2.cxx.

References impl_releaseAllItems().

◆ holdConfigItem()

void ItemHolder2::holdConfigItem ( EItem  eItem)
static

Definition at line 64 of file itemholder2.cxx.

References ItemHolder2().

Referenced by SvtCTLOptions::SvtCTLOptions().

◆ impl_addItem()

void ItemHolder2::impl_addItem ( EItem  eItem)
private

Definition at line 75 of file itemholder2.cxx.

References TItemInfo::eItem, impl_newItem(), m_aLock, m_lItems, and TItemInfo::pItem.

◆ impl_newItem()

void ItemHolder2::impl_newItem ( TItemInfo rItem)
staticprivate

Definition at line 103 of file itemholder2.cxx.

References TItemInfo::eItem, and TItemInfo::pItem.

Referenced by impl_addItem().

◆ impl_releaseAllItems()

void ItemHolder2::impl_releaseAllItems ( )
private

Definition at line 92 of file itemholder2.cxx.

References m_aLock, and m_lItems.

Referenced by disposing(), and ~ItemHolder2().

Member Data Documentation

◆ m_aLock

std::mutex ItemHolder2::m_aLock
private

Definition at line 33 of file itemholder2.hxx.

Referenced by impl_addItem(), and impl_releaseAllItems().

◆ m_lItems

std::vector<TItemInfo> ItemHolder2::m_lItems
private

Definition at line 34 of file itemholder2.hxx.

Referenced by impl_addItem(), and impl_releaseAllItems().


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