Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: cppu ::

template< typename Ifc1, typename Ifc2, typename Ifc3, typename Ifc4, typename Ifc5, typename Ifc6, typename Ifc7, typename Ifc8, typename Ifc9, typename Ifc10, typename Ifc11 >

class WeakComponentImplHelper11


Base Classes
WeakComponentImplHelperBase (public)
  |  
  |  com::sun::star::lang::XTypeProvider (public)
  |    |  
  |    |  Ifc1 (public)
  |    |    |  
  |    |    |  Ifc2 (public)
  |    |    |    |  
  |    |    |    |  Ifc3 (public)
  |    |    |    |    |  
  |    |    |    |    |  Ifc4 (public)
  |    |    |    |    |    |  
  |    |    |    |    |    |  Ifc5 (public)
  |    |    |    |    |    |    |  
  |    |    |    |    |    |    |  Ifc6 (public)
  |    |    |    |    |    |    |    |  
  |    |    |    |    |    |    |    |  Ifc7 (public)
  |    |    |    |    |    |    |    |    |  
  |    |    |    |    |    |    |    |    |  Ifc8 (public)
  |    |    |    |    |    |    |    |    |    |  
  |    |    |    |    |    |    |    |    |    |  Ifc9 (public)
  |    |    |    |    |    |    |    |    |    |    |  
  |    |    |    |    |    |    |    |    |    |    |  Ifc10 (public)
  |    |    |    |    |    |    |    |    |    |    |    |  
  |    |    |    |    |    |    |    |    |    |    |    |  Ifc11 (public)
  |    |    |    |    |    |    |    |    |    |    |    |    |  
  +----+----+----+----+----+----+----+----+----+----+----+----+--WeakComponentImplHelper11
Known Derived Classes
None.

virtual abstract interface template
YES NO NO YES
Summary
Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.

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

How to Derive from 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).
File
compbase11.hxx

Public Members

Methods


WeakComponentImplHelper11( ::osl::Mutex & rMutex ) throw( );
virtual ::com::sun::star::uno::Any
queryInterface( const ::com::sun::star::uno::Type & 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 );

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.