UDK 3.2.7 C/C++ API Reference
Classes | Public Member Functions
cppu::WeakImplHelper2< Ifc1, Ifc2 > 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::OWeakObject). More...

#include <implbase2.hxx>

Inheritance diagram for cppu::WeakImplHelper2< Ifc1, Ifc2 >:
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 void acquire () throw ()
 increasing m_refCount
virtual void release () throw ()
 decreasing m_refCount
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 cppu::WeakImplHelper2< Ifc1, Ifc2 >

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::OWeakObject).

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 >
virtual void cppu::WeakImplHelper2< Ifc1, Ifc2 >::acquire ( ) throw () [inline, virtual]

increasing m_refCount

Reimplemented from cppu::OWeakObject.

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

decreasing m_refCount

Reimplemented from cppu::OWeakObject.


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