3 #ifndef INCLUDED_CPPUHELPER_COMPBASE9_HXX
4 #define INCLUDED_CPPUHELPER_COMPBASE9_HXX
26 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
28 :
public WeakComponentImplHelperBase
29 ,
public css::lang::XTypeProvider
30 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
32 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, WeakComponentImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {};
35 : WeakComponentImplHelperBase( rMutex )
38 {
return WeakComponentImplHelper_query( rType, cd::get(),
this, static_cast<WeakComponentImplHelperBase *>(
this) ); }
40 { WeakComponentImplHelperBase::acquire(); }
42 { WeakComponentImplHelperBase::release(); }
44 { WeakComponentImplHelperBase::dispose(); }
46 { WeakComponentImplHelperBase::addEventListener(xListener); }
48 { WeakComponentImplHelperBase::removeEventListener(xListener); }
50 {
return WeakComponentImplHelper_getTypes( cd::get() ); }
52 {
return ImplHelper_getImplementationId( cd::get() ); }
64 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
66 :
public WeakComponentImplHelperBase
67 ,
public css::lang::XTypeProvider
68 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
70 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, PartialWeakComponentImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {};
73 : WeakComponentImplHelperBase( rMutex )
76 {
return WeakComponentImplHelper_query( rType, cd::get(),
this, static_cast<WeakComponentImplHelperBase *>(
this) ); }
78 { WeakComponentImplHelperBase::acquire(); }
80 { WeakComponentImplHelperBase::release(); }
82 {
return WeakComponentImplHelper_getTypes( cd::get() ); }
84 {
return ImplHelper_getImplementationId( cd::get() ); }
103 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
105 :
public WeakAggComponentImplHelperBase
106 ,
public css::lang::XTypeProvider
107 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
109 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, WeakAggComponentImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {};
112 : WeakAggComponentImplHelperBase( rMutex )
117 {
return WeakAggComponentImplHelper_queryAgg( rType, cd::get(),
this, static_cast<WeakAggComponentImplHelperBase *>(
this) ); }
119 { WeakAggComponentImplHelperBase::acquire(); }
121 { WeakAggComponentImplHelperBase::release(); }
123 {
return WeakAggComponentImplHelper_getTypes( cd::get() ); }
125 {
return ImplHelper_getImplementationId( cd::get() ); }
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase9.hxx:124
virtual void dispose() SAL_OVERRIDE
Definition: compbase9.hxx:43
WeakComponentImplHelper9(::osl::Mutex &rMutex) SAL_NOEXCEPT
Definition: compbase9.hxx:34
WeakAggComponentImplHelper9(::osl::Mutex &rMutex) SAL_NOEXCEPT
Definition: compbase9.hxx:111
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase9.hxx:83
virtual void removeEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) SAL_OVERRIDE
Definition: compbase9.hxx:47
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase9.hxx:118
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase9.hxx:39
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase9.hxx:120
PartialWeakComponentImplHelper9(::osl::Mutex &rMutex) SAL_NOEXCEPT
Definition: compbase9.hxx:72
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase9.hxx:114
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase9.hxx:79
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase9.hxx:122
Implementation helper supporting css::lang::XTypeProvider and css::lang::XComponent.
Definition: compbase9.hxx:27
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase9.hxx:41
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase9.hxx:77
Same as WeakComponentImplHelper9, except doesn't implement addEventListener, removeEventListener and ...
Definition: compbase9.hxx:65
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase9.hxx:49
virtual void addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) SAL_OVERRIDE
Definition: compbase9.hxx:45
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase9.hxx:81
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:528
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase9.hxx:116
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:23
#define SAL_NOEXCEPT
Macro for C++11 "noexcept" vs.
Definition: types.h:396
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase9.hxx:51
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:274
A mutual exclusion synchronization object.
Definition: mutex.hxx:15
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase9.hxx:37
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase9.hxx:75
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:371
Implementation helper supporting css::lang::XTypeProvider and css::lang::XComponent.
Definition: compbase9.hxx:104