My Project
UDK 3.2.7 C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | List of all members
cppu::WeakComponentImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 > Class Template Reference

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

#include <compbase6.hxx>

Classes

struct  cd

Public Member Functions

 WeakComponentImplHelper6 (::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 Ifc4, class Ifc5, class Ifc6>
class cppu::WeakComponentImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >

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 , class Ifc4 , class Ifc5 , class Ifc6 >
cppu::WeakComponentImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >::WeakComponentImplHelper6 ( ::osl::Mutex rMutex) throw ()
inline

Member Function Documentation

template<class Ifc1 , class Ifc2 , class Ifc3 , class Ifc4 , class Ifc5 , class Ifc6 >
virtual void cppu::WeakComponentImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >::acquire ( ) throw ()
inlinevirtual
template<class Ifc1 , class Ifc2 , class Ifc3 , class Ifc4 , class Ifc5 , class Ifc6 >
virtual void cppu::WeakComponentImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >::addEventListener ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > &  xListener) throw (::com::sun::star::uno::RuntimeException)
inlinevirtual
template<class Ifc1 , class Ifc2 , class Ifc3 , class Ifc4 , class Ifc5 , class Ifc6 >
virtual void cppu::WeakComponentImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >::dispose ( ) throw (::com::sun::star::uno::RuntimeException)
inlinevirtual
template<class Ifc1 , class Ifc2 , class Ifc3 , class Ifc4 , class Ifc5 , class Ifc6 >
virtual ::com::sun::star::uno::Sequence< sal_Int8 > cppu::WeakComponentImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >::getImplementationId ( ) throw (::com::sun::star::uno::RuntimeException)
inline
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::WeakComponentImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >::getTypes ( ) throw (::com::sun::star::uno::RuntimeException)
inline
template<class Ifc1 , class Ifc2 , class Ifc3 , class Ifc4 , class Ifc5 , class Ifc6 >
virtual ::com::sun::star::uno::Any cppu::WeakComponentImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >::queryInterface ( ::com::sun::star::uno::Type const &  rType) throw (::com::sun::star::uno::RuntimeException)
inline
template<class Ifc1 , class Ifc2 , class Ifc3 , class Ifc4 , class Ifc5 , class Ifc6 >
virtual void cppu::WeakComponentImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >::release ( ) throw ()
inlinevirtual
template<class Ifc1 , class Ifc2 , class Ifc3 , class Ifc4 , class Ifc5 , class Ifc6 >
virtual void cppu::WeakComponentImplHelper6< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6 >::removeEventListener ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > &  xListener) throw (::com::sun::star::uno::RuntimeException)
inlinevirtual

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