Overview | Namespace | Class | Index | Help |
PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
template< typename BaseClass, typename Ifc1, typename Ifc2, typename Ifc3, typename Ifc4, typename Ifc5, typename Ifc6 >
BaseClass (public) | | Ifc1 (public) | | | | Ifc2 (public) | | | | | | Ifc3 (public) | | | | | | | | Ifc4 (public) | | | | | | | | | | Ifc5 (public) | | | | | | | | | | | | Ifc6 (public) | | | | | | | +----+----+----+----+----+----+--ImplInheritanceHelper6
virtual | abstract | interface | template |
YES | NO | NO | YES |
Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and ::com::sun::star::uno::XInterface inherting from a BaseClass. All acquire() and release() calls are delegated to the BaseClass. Upon queryInterface(), if a demanded interface is not supported by this class directly, the request is delegated to the BaseClass.
The BaseClass has to be complete in a sense, that ::com::sun::star::uno::XInterface and ::com::sun::star::lang::XTypeProvider are implemented properly. The BaseClass must have at least one ctor that can be called with six or fewer arguments, of which none is of non-const reference type.
Inherit from this class giving your additional interface(s) to be implemented as template argument(s). Your sub class defines method implementations for these interface(s).
Methods |
|
ImplInheritanceHelper6( ); |
|
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 ::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 ); |
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.