23 #ifndef INCLUDED_CPPUHELPER_COMPBASE9_HXX 24 #define INCLUDED_CPPUHELPER_COMPBASE9_HXX 46 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
48 :
public WeakComponentImplHelperBase
49 ,
public css::lang::XTypeProvider
50 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
52 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> > > {};
55 : WeakComponentImplHelperBase( rMutex )
58 {
return WeakComponentImplHelper_query( rType, cd::get(),
this, static_cast<WeakComponentImplHelperBase *>(
this) ); }
60 { WeakComponentImplHelperBase::acquire(); }
62 { WeakComponentImplHelperBase::release(); }
64 { WeakComponentImplHelperBase::dispose(); }
66 { WeakComponentImplHelperBase::addEventListener(xListener); }
68 { WeakComponentImplHelperBase::removeEventListener(xListener); }
70 {
return WeakComponentImplHelper_getTypes( cd::get() ); }
72 {
return ImplHelper_getImplementationId( cd::get() ); }
84 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
86 :
public WeakComponentImplHelperBase
87 ,
public css::lang::XTypeProvider
88 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
90 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> > > {};
93 : WeakComponentImplHelperBase( rMutex )
96 {
return WeakComponentImplHelper_query( rType, cd::get(),
this, static_cast<WeakComponentImplHelperBase *>(
this) ); }
98 { WeakComponentImplHelperBase::acquire(); }
100 { WeakComponentImplHelperBase::release(); }
102 {
return WeakComponentImplHelper_getTypes( cd::get() ); }
104 {
return ImplHelper_getImplementationId( cd::get() ); }
123 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
125 :
public WeakAggComponentImplHelperBase
126 ,
public css::lang::XTypeProvider
127 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
129 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> > > {};
132 : WeakAggComponentImplHelperBase( rMutex )
137 {
return WeakAggComponentImplHelper_queryAgg( rType, cd::get(),
this, static_cast<WeakAggComponentImplHelperBase *>(
this) ); }
139 { WeakAggComponentImplHelperBase::acquire(); }
141 { WeakAggComponentImplHelperBase::release(); }
143 {
return WeakAggComponentImplHelper_getTypes( cd::get() ); }
145 {
return ImplHelper_getImplementationId( cd::get() ); }
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:43
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:391
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:294
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase9.hxx:134
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase9.hxx:144
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase9.hxx:95
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase9.hxx:71
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase9.hxx:103
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase9.hxx:136
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase9.hxx:69
WeakComponentImplHelper9(::osl::Mutex &rMutex) SAL_NOEXCEPT
Definition: compbase9.hxx:54
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase9.hxx:59
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:548
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase9.hxx:57
A mutual exclusion synchronization object.
Definition: mutex.hxx:35
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase9.hxx:97
Same as WeakComponentImplHelper9, except doesn't implement addEventListener, removeEventListener and ...
Definition: compbase9.hxx:85
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase9.hxx:142
Implementation helper supporting css::lang::XTypeProvider and css::lang::XComponent.
Definition: compbase9.hxx:124
#define SAL_NOEXCEPT
Macro for C++11 "noexcept" vs.
Definition: types.h:416
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase9.hxx:138
Definition: Enterable.hxx:30
virtual void removeEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) SAL_OVERRIDE
Definition: compbase9.hxx:67
WeakAggComponentImplHelper9(::osl::Mutex &rMutex) SAL_NOEXCEPT
Definition: compbase9.hxx:131
Implementation helper supporting css::lang::XTypeProvider and css::lang::XComponent.
Definition: compbase9.hxx:47
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase9.hxx:140
virtual void addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) SAL_OVERRIDE
Definition: compbase9.hxx:65
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase9.hxx:99
virtual void dispose() SAL_OVERRIDE
Definition: compbase9.hxx:63
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase9.hxx:101
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase9.hxx:61
PartialWeakComponentImplHelper9(::osl::Mutex &rMutex) SAL_NOEXCEPT
Definition: compbase9.hxx:92