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

Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...

#include <compbase3.hxx>

List of all members.

Classes

struct  cd

Public Member Functions

 WeakComponentImplHelper3 (::osl::Mutex &rMutex) throw ()
virtual ::com::sun::star::uno::Any queryInterface (::com::sun::star::uno::Type const &rType) throw (::com::sun::star::uno::RuntimeException)
virtual void acquire () throw ()
virtual void release () throw ()
virtual void dispose () throw (::com::sun::star::uno::RuntimeException)
virtual void addEventListener (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > &xListener) throw (::com::sun::star::uno::RuntimeException)
virtual void removeEventListener (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > &xListener) throw (::com::sun::star::uno::RuntimeException)
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 cppu::WeakComponentImplHelper3< Ifc1, Ifc2, Ifc3 >

Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent.

Upon disposing objects of this class, sub-classes receive a disposing() call. Objects of this class can be held weakly, i.e. by a com::sun::star::uno::WeakReference.

Attention:
The life-cycle of the passed mutex reference has to be longer than objects of this class.

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


Constructor & Destructor Documentation

template<class Ifc1 , class Ifc2 , class Ifc3 >
cppu::WeakComponentImplHelper3< Ifc1, Ifc2, Ifc3 >::WeakComponentImplHelper3 ( ::osl::Mutex rMutex) throw () [inline]

Member Function Documentation

template<class Ifc1 , class Ifc2 , class Ifc3 >
virtual void cppu::WeakComponentImplHelper3< Ifc1, Ifc2, Ifc3 >::acquire ( ) throw () [inline, virtual]
template<class Ifc1 , class Ifc2 , class Ifc3 >
virtual void cppu::WeakComponentImplHelper3< Ifc1, Ifc2, Ifc3 >::addEventListener ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > &  xListener) throw (::com::sun::star::uno::RuntimeException) [inline, virtual]
template<class Ifc1 , class Ifc2 , class Ifc3 >
virtual void cppu::WeakComponentImplHelper3< Ifc1, Ifc2, Ifc3 >::dispose ( ) throw (::com::sun::star::uno::RuntimeException) [inline, virtual]
template<class Ifc1 , class Ifc2 , class Ifc3 >
virtual ::com::sun::star::uno::Sequence< sal_Int8 > cppu::WeakComponentImplHelper3< Ifc1, Ifc2, Ifc3 >::getImplementationId ( ) throw (::com::sun::star::uno::RuntimeException) [inline]
template<class Ifc1 , class Ifc2 , class Ifc3 >
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > cppu::WeakComponentImplHelper3< Ifc1, Ifc2, Ifc3 >::getTypes ( ) throw (::com::sun::star::uno::RuntimeException) [inline]
template<class Ifc1 , class Ifc2 , class Ifc3 >
virtual ::com::sun::star::uno::Any cppu::WeakComponentImplHelper3< Ifc1, Ifc2, Ifc3 >::queryInterface ( ::com::sun::star::uno::Type const &  rType) throw (::com::sun::star::uno::RuntimeException) [inline]
template<class Ifc1 , class Ifc2 , class Ifc3 >
virtual void cppu::WeakComponentImplHelper3< Ifc1, Ifc2, Ifc3 >::release ( ) throw () [inline, virtual]
template<class Ifc1 , class Ifc2 , class Ifc3 >
virtual void cppu::WeakComponentImplHelper3< Ifc1, Ifc2, Ifc3 >::removeEventListener ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > &  xListener) throw (::com::sun::star::uno::RuntimeException) [inline, virtual]

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