Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: cppu ::

template< typename Ifc1, typename Ifc2, typename Ifc3, typename Ifc4 >

class WeakAggImplHelper4


Base Classes
com::sun::star::uno::XWeak (public)
  |  
  +--cppu::OWeakObject (public)
       |  
       |  com::sun::star::uno::XAggregation (public)
       |    |  
       +----+--OWeakAggObject (public)
                 |  
                 |  com::sun::star::lang::XTypeProvider (public)
                 |    |  
                 |    |  Ifc1 (public)
                 |    |    |  
                 |    |    |  Ifc2 (public)
                 |    |    |    |  
                 |    |    |    |  Ifc3 (public)
                 |    |    |    |    |  
                 |    |    |    |    |  Ifc4 (public)
                 |    |    |    |    |    |  
                 +----+----+----+----+----+--WeakAggImplHelper4
Known Derived Classes
None.

virtual abstract interface template
YES NO NO YES
Description
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.

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
implbase4.hxx

Public Members

Methods

virtual ::com::sun::star::uno::Any
queryInterface( const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException );
virtual ::com::sun::star::uno::Any
queryAggregation( const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException );
virtual void
acquire( ) throw( );
virtual void
release( ) throw( );
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, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.