Overview | Namespace | Class | Index | Help |
PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
template< typename Ifc1 >
com::sun::star::uno::XWeak (public) | +--OWeakObject (public) | | com::sun::star::lang::XTypeProvider (public) | | | | Ifc1 (public) | | | +----+----+--WeakImplHelper1
virtual | abstract | interface | template |
YES | NO | NO | YES |
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::OWeakObject).
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). These classes are used when you implement your UNO component. WeakImplHelper1 till WeakImplHelper12 can be used when you want to implement 1 till 12 interfaces in your component.
Methods |
|
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 © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.