LibreOffice Module forms (master) 1
Public Member Functions | Protected Attributes | List of all members
frm::OFormComponents Class Reference

#include <InterfaceContainer.hxx>

Inheritance diagram for frm::OFormComponents:
[legend]
Collaboration diagram for frm::OFormComponents:
[legend]

Public Member Functions

 OFormComponents (const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
 
 OFormComponents (const OFormComponents &_cloneSource)
 
virtual ~OFormComponents () override
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &_rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual void SAL_CALL disposing () override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent () override
 
virtual void SAL_CALL setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &_rSource) override
 
virtual void SAL_CALL disposing ()
 
- Public Member Functions inherited from cppu::OComponentHelper
 OComponentHelper (::osl::Mutex &rMutex)
 
virtual ~OComponentHelper () SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE=0
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual void SAL_CALL dispose () SAL_OVERRIDE
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakAggObject
 OWeakAggObject ()
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 
- Public Member Functions inherited from frm::OInterfaceContainer
 OInterfaceContainer (const css::uno::Reference< css::uno::XComponentContext > &_rxFactory, ::osl::Mutex &_rMutex, const css::uno::Type &_rElementType)
 
 OInterfaceContainer (::osl::Mutex &_rMutex, const OInterfaceContainer &_cloneSource)
 
void clonedFrom (const OInterfaceContainer &_cloneSource)
 
virtual OUString SAL_CALL getServiceName () override=0
 
virtual void SAL_CALL write (const css::uno::Reference< css::io::XObjectOutputStream > &OutStream) override
 
virtual void SAL_CALL read (const css::uno::Reference< css::io::XObjectInputStream > &InStream) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &_rSource) override
 
virtual void SAL_CALL propertyChange (const css::beans::PropertyChangeEvent &evt) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Any SAL_CALL getByName (const OUString &aName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual sal_Bool SAL_CALL hasByName (const OUString &aName) override
 
virtual void SAL_CALL replaceByName (const OUString &Name, const css::uno::Any &_rElement) override
 
virtual void SAL_CALL insertByName (const OUString &Name, const css::uno::Any &_rElement) override
 
virtual void SAL_CALL removeByName (const OUString &Name) override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 _nIndex) override
 
virtual void SAL_CALL replaceByIndex (sal_Int32 _nIndex, const css::uno::Any &_rElement) override
 
virtual void SAL_CALL insertByIndex (sal_Int32 _nIndex, const css::uno::Any &Element) override
 
virtual void SAL_CALL removeByIndex (sal_Int32 _nIndex) override
 
virtual void SAL_CALL addContainerListener (const css::uno::Reference< css::container::XContainerListener > &_rxListener) override
 
virtual void SAL_CALL removeContainerListener (const css::uno::Reference< css::container::XContainerListener > &_rxListener) override
 
virtual void SAL_CALL registerScriptEvent (sal_Int32 nIndex, const css::script::ScriptEventDescriptor &aScriptEvent) override
 
virtual void SAL_CALL registerScriptEvents (sal_Int32 nIndex, const css::uno::Sequence< css::script::ScriptEventDescriptor > &aScriptEvents) override
 
virtual void SAL_CALL revokeScriptEvent (sal_Int32 nIndex, const OUString &aListenerType, const OUString &aEventMethod, const OUString &aRemoveListenerParam) override
 
virtual void SAL_CALL revokeScriptEvents (sal_Int32 nIndex) override
 
virtual void SAL_CALL insertEntry (sal_Int32 nIndex) override
 
virtual void SAL_CALL removeEntry (sal_Int32 nIndex) override
 
virtual css::uno::Sequence< css::script::ScriptEventDescriptor > SAL_CALL getScriptEvents (sal_Int32 Index) override
 
virtual void SAL_CALL attach (sal_Int32 nIndex, const css::uno::Reference< css::uno::XInterface > &xObject, const css::uno::Any &aHelper) override
 
virtual void SAL_CALL detach (sal_Int32 nIndex, const css::uno::Reference< css::uno::XInterface > &xObject) override
 
virtual void SAL_CALL addScriptListener (const css::uno::Reference< css::script::XScriptListener > &xListener) override
 
virtual void SAL_CALL removeScriptListener (const css::uno::Reference< css::script::XScriptListener > &Listener) override
 
- Public Member Functions inherited from cppu::ImplHelper8< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Protected Attributes

::osl::Mutex m_aMutex
 
css::uno::Reference< css::uno::XInterface > m_xParent
 
- Protected Attributes inherited from cppu::OWeakAggObject
css::uno::WeakReferenceHelper xDelegator
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 
- Protected Attributes inherited from frm::OInterfaceContainer
::osl::Mutex & m_rMutex
 
OInterfaceArray m_aItems
 
OInterfaceMap m_aMap
 
::comphelper::OInterfaceContainerHelper3< css::container::XContainerListener > m_aContainerListeners
 
const css::uno::Type m_aElementType
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::uno::Reference< css::script::XEventAttacherManager > m_xEventAttacher
 

Additional Inherited Members

virtual void SAL_CALL disposing ()
 
- Protected Member Functions inherited from cppu::OWeakAggObject
virtual ~OWeakAggObject () SAL_OVERRIDE
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Member Functions inherited from frm::OInterfaceContainer
virtual ~OInterfaceContainer ()
 
virtual void SAL_CALL disposing ()
 
void removeElementsNoEvents ()
 
virtual void approveNewElement (const css::uno::Reference< css::beans::XPropertySet > &_rxObject, ElementDescription *_pElement)
 to be overridden if elements which are to be inserted into the container shall be checked More...
 
virtual ElementDescriptioncreateElementMetaData ()
 
void implInsert (sal_Int32 _nIndex, const css::uno::Reference< css::beans::XPropertySet > &_rxObject, bool _bEvents, ElementDescription *_pApprovalResult, bool _bFire)
 inserts an object into our internal structures More...
 
virtual void implInserted (const ElementDescription *_pElement)
 
virtual void implRemoved (const css::uno::Reference< css::uno::XInterface > &_rxObject)
 
virtual void impl_replacedElement (const css::container::ContainerEvent &_rEvent, ::osl::ClearableMutexGuard &_rInstanceLock)
 called after an object was replaced. More...
 
void SAL_CALL writeEvents (const css::uno::Reference< css::io::XObjectOutputStream > &_rxOutStream)
 
void SAL_CALL readEvents (const css::uno::Reference< css::io::XObjectInputStream > &_rxInStream)
 
void implReplaceByIndex (const sal_Int32 _nIndex, const css::uno::Any &_rNewElement, ::osl::ClearableMutexGuard &_rClearBeforeNotify)
 replace an element, specified by position More...
 
void implRemoveByIndex (const sal_Int32 _nIndex, ::osl::ClearableMutexGuard &_rClearBeforeNotify)
 removes an element, specified by position More...
 
void implCheckIndex (const sal_Int32 _nIndex)
 validates the given index More...
 
- Protected Member Functions inherited from cppu::ImplHelper8< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8 >
 ~ImplHelper8 () SAL_NOEXCEPT
 
- Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
 ~ImplHelper1 () SAL_NOEXCEPT
 

Detailed Description

Definition at line 269 of file InterfaceContainer.hxx.

Constructor & Destructor Documentation

◆ OFormComponents() [1/2]

frm::OFormComponents::OFormComponents ( const css::uno::Reference< css::uno::XComponentContext > &  _rxFactory)

◆ OFormComponents() [2/2]

frm::OFormComponents::OFormComponents ( const OFormComponents _cloneSource)

Definition at line 1271 of file InterfaceContainer.cxx.

References m_aMutex.

◆ ~OFormComponents()

frm::OFormComponents::~OFormComponents ( )
overridevirtual

Member Function Documentation

◆ disposing() [1/3]

void frm::OInterfaceContainer::disposing ( )
virtual

Reimplemented from cppu::OComponentHelper.

Definition at line 178 of file InterfaceContainer.cxx.

◆ disposing() [2/3]

void frm::OFormComponents::disposing ( )
overridevirtual

◆ disposing() [3/3]

void SAL_CALL frm::OInterfaceContainer::disposing ( const css::lang::EventObject &  _rSource)
overridevirtual

Reimplemented from frm::OInterfaceContainer.

Definition at line 124 of file InterfaceContainer.cxx.

◆ getParent()

css::uno::Reference< css::uno::XInterface > frm::OFormComponents::getParent ( )
overridevirtual

Reimplemented in frm::ODatabaseForm.

Definition at line 1306 of file InterfaceContainer.cxx.

References m_xParent.

Referenced by frm::ODatabaseForm::getParent().

◆ getTypes()

Sequence< Type > SAL_CALL frm::OFormComponents::getTypes ( )
overridevirtual

◆ queryAggregation()

Any SAL_CALL frm::OFormComponents::queryAggregation ( const css::uno::Type &  _rType)
overridevirtual

◆ setParent()

void frm::OFormComponents::setParent ( const css::uno::Reference< css::uno::XInterface > &  Parent)
overridevirtual

Reimplemented in frm::ODatabaseForm.

Definition at line 1299 of file InterfaceContainer.cxx.

References m_aMutex, m_xParent, and Parent.

Referenced by frm::ODatabaseForm::setParent().

Member Data Documentation

◆ m_aMutex

::osl::Mutex frm::OFormComponents::m_aMutex
protected

◆ m_xParent

css::uno::Reference<css::uno::XInterface> frm::OFormComponents::m_xParent
protected

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