UDK 3.2.7 C/C++ API Reference
Classes | Public Member Functions
cppu::WeakAggImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 > Class Template Reference

Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakAggObject). More...

#include <implbase6.hxx>

Inheritance diagram for cppu::WeakAggImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >:
cppu::OWeakAggObject cppu::OWeakObject

List of all members.

Classes

struct  cd

Public Member Functions

virtual com::sun::star::uno::Any queryInterface (com::sun::star::uno::Type const &rType) throw (com::sun::star::uno::RuntimeException)
virtual com::sun::star::uno::Any queryAggregation (com::sun::star::uno::Type const &rType) throw (com::sun::star::uno::RuntimeException)
virtual void acquire () throw ()
 If a delegator is set, then the delegators gets acquired.
virtual void release () throw ()
 If a delegator is set, then the delegators gets released.
virtual
com::sun::star::uno::Sequence
< com::sun::star::uno::Type
getTypes () throw (com::sun::star::uno::RuntimeException)
virtual
com::sun::star::uno::Sequence
< sal_Int8
getImplementationId () throw (com::sun::star::uno::RuntimeException)

Detailed Description

template<class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6>
class cppu::WeakAggImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >

Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakAggObject).

In addition, it supports also aggregation meaning object of this class can be aggregated (com::sun::star::uno::XAggregation thru cppu::OWeakAggObject). If a delegator is set (this object is aggregated), then incoming queryInterface() calls are delegated to the delegator object. If the delegator does not support the demanded interface, it calls queryAggregation() on its aggregated objects.

Inherit from this class giving your interface(s) to be implemented as template argument(s). Your sub class defines method implementations for these interface(s).


Member Function Documentation

template<class Ifc1 , class Ifc2 , class Ifc3 , class Ifc4 , class Ifc5 , class Ifc6 >
virtual void cppu::WeakAggImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >::acquire ( ) throw () [inline, virtual]

If a delegator is set, then the delegators gets acquired.

Otherwise call is delegated to base class cppu::OWeakObject.

Reimplemented from cppu::OWeakAggObject.

template<class Ifc1 , class Ifc2 , class Ifc3 , class Ifc4 , class Ifc5 , class Ifc6 >
virtual com::sun::star::uno::Sequence< sal_Int8 > cppu::WeakAggImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >::getImplementationId ( ) throw (com::sun::star::uno::RuntimeException) [inline, virtual]
template<class Ifc1 , class Ifc2 , class Ifc3 , class Ifc4 , class Ifc5 , class Ifc6 >
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > cppu::WeakAggImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >::getTypes ( ) throw (com::sun::star::uno::RuntimeException) [inline, virtual]
template<class Ifc1 , class Ifc2 , class Ifc3 , class Ifc4 , class Ifc5 , class Ifc6 >
virtual com::sun::star::uno::Any cppu::WeakAggImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >::queryAggregation ( com::sun::star::uno::Type const &  rType) throw (com::sun::star::uno::RuntimeException) [inline, virtual]
template<class Ifc1 , class Ifc2 , class Ifc3 , class Ifc4 , class Ifc5 , class Ifc6 >
virtual com::sun::star::uno::Any cppu::WeakAggImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >::queryInterface ( com::sun::star::uno::Type const &  rType) throw (com::sun::star::uno::RuntimeException) [inline, virtual]
template<class Ifc1 , class Ifc2 , class Ifc3 , class Ifc4 , class Ifc5 , class Ifc6 >
virtual void cppu::WeakAggImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >::release ( ) throw () [inline, virtual]

If a delegator is set, then the delegators gets released.

Otherwise call is delegated to base class cppu::OWeakObject.

Reimplemented from cppu::OWeakAggObject.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines