LibreOffice Module toolkit (master) 1
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
OGeometryControlModel_Base Class Referenceabstract

#include <geometrycontrolmodel.hxx>

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

Public Member Functions

virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
- Public Member Functions inherited from comphelper::OMutexAndBroadcastHelper
 OMutexAndBroadcastHelper ()
 
::osl::Mutex & GetMutex ()
 
::cppu::OBroadcastHelperGetBroadcastHelper ()
 
const ::cppu::OBroadcastHelperGetBroadcastHelper () const
 
- Public Member Functions inherited from comphelper::OPropertyContainer
virtual ~OPropertyContainer ()
 
- Public Member Functions inherited from cppu::WeakAggComponentImplHelper2< class Ifc1, class Ifc2 >
 WeakAggComponentImplHelper2 (::osl::Mutex &rMutex) SAL_NOEXCEPT
 
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< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Protected Member Functions

css::uno::Any ImplGetPropertyValueByHandle (sal_Int32 nHandle) const
 
void ImplSetPropertyValueByHandle (sal_Int32 nHandle, const css::uno::Any &aValue)
 
 OGeometryControlModel_Base (css::uno::XAggregation *_pAggregateInstance)
 
 OGeometryControlModel_Base (css::uno::Reference< css::util::XCloneable > &_rxAggregateInstance)
 
void releaseAggregation ()
 releases the aggregation More...
 
virtual ~OGeometryControlModel_Base () override
 
css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &_aType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &_rConvertedValue, css::uno::Any &_rOldValue, sal_Int32 _nHandle, const css::uno::Any &_rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 _nHandle, const css::uno::Any &_rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &_rValue, sal_Int32 _nHandle) const override
 
virtual css::beans::PropertyState getPropertyStateByHandle (sal_Int32 nHandle) override
 
virtual void setPropertyToDefaultByHandle (sal_Int32 nHandle) override
 
virtual css::uno::Any getPropertyDefaultByHandle (sal_Int32 nHandle) const override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () override
 
virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL getEvents () override
 
virtual rtl::Reference< OGeometryControlModel_BasecreateClone_Impl (css::uno::Reference< css::util::XCloneable > &_rxAggregateInstance)=0
 
virtual void SAL_CALL disposing () override
 
- Protected Member Functions inherited from comphelper::OPropertyContainer
 OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper)
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override final
 
virtual void getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final
 
- Protected Member Functions inherited from comphelper::OPropertyContainerHelper
 OPropertyContainerHelper ()
 
 ~OPropertyContainerHelper ()
 
void registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType)
 
void registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType)
 
void registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue)
 
void revokeProperty (sal_Int32 _nHandle)
 
bool isRegisteredProperty (sal_Int32 _nHandle) const
 
bool isRegisteredProperty (const OUString &_rName) const
 
bool convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)
 
void setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue)
 
void getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const
 
void describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const
 
const css::beans::Property & getProperty (const OUString &_rName) const
 

Static Protected Member Functions

static css::uno::Any ImplGetDefaultValueByHandle (sal_Int32 nHandle)
 
- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 

Protected Attributes

css::uno::Reference< css::uno::XAggregation > m_xAggregate
 
css::uno::Reference< css::container::XNameContainer > mxEventContainer
 
sal_Int32 m_nPosX
 
sal_Int32 m_nPosY
 
sal_Int32 m_nWidth
 
sal_Int32 m_nHeight
 
OUString m_aName
 
sal_Int16 m_nTabIndex
 
sal_Int32 m_nStep
 
OUString m_aTag
 
css::uno::Reference< css::resource::XStringResourceResolver > m_xStrResolver
 
bool m_bCloneable
 
- Protected Attributes inherited from comphelper::OMutexAndBroadcastHelper
::osl::Mutex m_aMutex
 
::cppu::OBroadcastHelper m_aBHelper
 

Private Member Functions

void registerProperties ()
 

Detailed Description

Definition at line 50 of file geometrycontrolmodel.hxx.

Constructor & Destructor Documentation

◆ OGeometryControlModel_Base() [1/2]

OGeometryControlModel_Base::OGeometryControlModel_Base ( css::uno::XAggregation *  _pAggregateInstance)
protected
Parameters
_pAggregateInstancethe object to be aggregated. The refcount of the instance given MUST be 0!

Definition at line 71 of file geometrycontrolmodel.cxx.

References m_aMutex, m_bCloneable, m_refCount, m_xAggregate, and registerProperties().

◆ OGeometryControlModel_Base() [2/2]

OGeometryControlModel_Base::OGeometryControlModel_Base ( css::uno::Reference< css::util::XCloneable > &  _rxAggregateInstance)
protected
Parameters
_rxAggregateInstanceis the object to be aggregated. Must be acquired exactly once (by the reference object given).
Will be reset to NULL upon leaving

◆ ~OGeometryControlModel_Base()

OGeometryControlModel_Base::~OGeometryControlModel_Base ( )
overrideprotectedvirtual

Definition at line 298 of file geometrycontrolmodel.cxx.

References releaseAggregation().

Member Function Documentation

◆ acquire()

void SAL_CALL OGeometryControlModel_Base::acquire ( )
overridevirtualnoexcept

◆ convertFastPropertyValue()

sal_Bool SAL_CALL OGeometryControlModel_Base::convertFastPropertyValue ( css::uno::Any &  _rConvertedValue,
css::uno::Any &  _rOldValue,
sal_Int32  _nHandle,
const css::uno::Any &  _rValue 
)
overrideprotectedvirtual

Reimplemented from comphelper::OPropertyContainer.

Definition at line 304 of file geometrycontrolmodel.cxx.

◆ createClone()

Reference< XCloneable > SAL_CALL OGeometryControlModel_Base::createClone ( )
overrideprotectedvirtual

◆ createClone_Impl()

virtual rtl::Reference< OGeometryControlModel_Base > OGeometryControlModel_Base::createClone_Impl ( css::uno::Reference< css::util::XCloneable > &  _rxAggregateInstance)
protectedpure virtual

◆ disposing()

void SAL_CALL OGeometryControlModel_Base::disposing ( )
overrideprotectedvirtual

Definition at line 422 of file geometrycontrolmodel.cxx.

References m_xAggregate, and query_aggregation().

◆ getEvents()

Reference< XNameContainer > SAL_CALL OGeometryControlModel_Base::getEvents ( )
overrideprotectedvirtual

Definition at line 414 of file geometrycontrolmodel.cxx.

References mxEventContainer.

◆ getFastPropertyValue()

void SAL_CALL OGeometryControlModel_Base::getFastPropertyValue ( css::uno::Any &  _rValue,
sal_Int32  _nHandle 
) const
overrideprotectedvirtual

Reimplemented from comphelper::OPropertyContainer.

Definition at line 317 of file geometrycontrolmodel.cxx.

◆ getPropertyDefaultByHandle()

css::uno::Any OGeometryControlModel_Base::getPropertyDefaultByHandle ( sal_Int32  nHandle) const
overrideprotectedvirtual

Definition at line 345 of file geometrycontrolmodel.cxx.

References ImplGetDefaultValueByHandle(), and nHandle.

◆ getPropertySetInfo()

Reference< XPropertySetInfo > SAL_CALL OGeometryControlModel_Base::getPropertySetInfo ( )
overrideprotectedvirtual

◆ getPropertyStateByHandle()

css::beans::PropertyState OGeometryControlModel_Base::getPropertyStateByHandle ( sal_Int32  nHandle)
overrideprotectedvirtual

◆ getTypes()

Sequence< Type > SAL_CALL OGeometryControlModel_Base::getTypes ( )
overrideprotectedvirtual

◆ ImplGetDefaultValueByHandle()

css::uno::Any OGeometryControlModel_Base::ImplGetDefaultValueByHandle ( sal_Int32  nHandle)
staticprotected

◆ ImplGetPropertyValueByHandle()

css::uno::Any OGeometryControlModel_Base::ImplGetPropertyValueByHandle ( sal_Int32  nHandle) const
protected

◆ ImplSetPropertyValueByHandle()

void OGeometryControlModel_Base::ImplSetPropertyValueByHandle ( sal_Int32  nHandle,
const css::uno::Any &  aValue 
)
protected

◆ queryAggregation()

Any SAL_CALL OGeometryControlModel_Base::queryAggregation ( const css::uno::Type &  _aType)
overrideprotectedvirtual

◆ queryInterface()

Any SAL_CALL OGeometryControlModel_Base::queryInterface ( const css::uno::Type &  aType)
overridevirtual

◆ registerProperties()

void OGeometryControlModel_Base::registerProperties ( )
private

◆ release()

void SAL_CALL OGeometryControlModel_Base::release ( )
overridevirtualnoexcept

◆ releaseAggregation()

void OGeometryControlModel_Base::releaseAggregation ( )
protected

releases the aggregation

Can be used if in a derived class, an exception has to be thrown after this base class here already did the aggregation

Definition at line 289 of file geometrycontrolmodel.cxx.

References m_xAggregate.

Referenced by OCommonGeometryControlModel::OCommonGeometryControlModel(), and ~OGeometryControlModel_Base().

◆ setFastPropertyValue_NoBroadcast()

void SAL_CALL OGeometryControlModel_Base::setFastPropertyValue_NoBroadcast ( sal_Int32  _nHandle,
const css::uno::Any &  _rValue 
)
overrideprotectedvirtual

◆ setPropertyToDefaultByHandle()

void OGeometryControlModel_Base::setPropertyToDefaultByHandle ( sal_Int32  nHandle)
overrideprotectedvirtual

Member Data Documentation

◆ m_aName

OUString OGeometryControlModel_Base::m_aName
protected

◆ m_aTag

OUString OGeometryControlModel_Base::m_aTag
protected

◆ m_bCloneable

bool OGeometryControlModel_Base::m_bCloneable
protected

◆ m_nHeight

sal_Int32 OGeometryControlModel_Base::m_nHeight
protected

◆ m_nPosX

sal_Int32 OGeometryControlModel_Base::m_nPosX
protected

◆ m_nPosY

sal_Int32 OGeometryControlModel_Base::m_nPosY
protected

◆ m_nStep

sal_Int32 OGeometryControlModel_Base::m_nStep
protected

◆ m_nTabIndex

sal_Int16 OGeometryControlModel_Base::m_nTabIndex
protected

◆ m_nWidth

sal_Int32 OGeometryControlModel_Base::m_nWidth
protected

◆ m_xAggregate

css::uno::Reference< css::uno::XAggregation > OGeometryControlModel_Base::m_xAggregate
protected

◆ m_xStrResolver

css::uno::Reference< css::resource::XStringResourceResolver > OGeometryControlModel_Base::m_xStrResolver
protected

◆ mxEventContainer

css::uno::Reference< css::container::XNameContainer > OGeometryControlModel_Base::mxEventContainer
protected

Definition at line 60 of file geometrycontrolmodel.hxx.

Referenced by getEvents().


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