23 #ifndef INCLUDED_CPPUHELPER_COMPBASE12_HXX 24 #define INCLUDED_CPPUHELPER_COMPBASE12_HXX 46 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11,
class Ifc12 >
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,
public Ifc10,
public Ifc11,
public Ifc12
52 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, WeakComponentImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
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,
class Ifc10,
class Ifc11,
class Ifc12 >
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,
public Ifc10,
public Ifc11,
public Ifc12
90 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, PartialWeakComponentImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
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() ); }
124 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11,
class Ifc12 >
126 :
public WeakAggComponentImplHelperBase
127 ,
public css::lang::XTypeProvider
128 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12
130 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, WeakAggComponentImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
133 : WeakAggComponentImplHelperBase( rMutex )
138 {
return WeakAggComponentImplHelper_queryAgg( rType, cd::get(),
this, static_cast<WeakAggComponentImplHelperBase *>(
this) ); }
140 { WeakAggComponentImplHelperBase::acquire(); }
142 { WeakAggComponentImplHelperBase::release(); }
144 {
return WeakAggComponentImplHelper_getTypes( cd::get() ); }
146 {
return ImplHelper_getImplementationId( cd::get() ); }
virtual void addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) SAL_OVERRIDE
Definition: compbase12.hxx:65
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
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase12.hxx:97
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:294
virtual void dispose() SAL_OVERRIDE
Definition: compbase12.hxx:63
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase12.hxx:95
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase12.hxx:101
Implementation helper supporting css::lang::XTypeProvider and css::lang::XComponent.
Definition: compbase12.hxx:125
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase12.hxx:139
WeakComponentImplHelper12(::osl::Mutex &rMutex) SAL_NOEXCEPT
Definition: compbase12.hxx:54
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase12.hxx:145
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase12.hxx:135
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase12.hxx:141
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase12.hxx:137
virtual void removeEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) SAL_OVERRIDE
Definition: compbase12.hxx:67
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase12.hxx:57
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:548
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase12.hxx:103
A mutual exclusion synchronization object.
Definition: mutex.hxx:35
Implementation helper supporting css::lang::XTypeProvider and css::lang::XComponent.
Definition: compbase12.hxx:47
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase12.hxx:143
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase12.hxx:71
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase12.hxx:59
Same as WeakComponentImplHelper12, except doesn't implement addEventListener, removeEventListener and...
Definition: compbase12.hxx:85
#define SAL_NOEXCEPT
Macro for C++11 "noexcept" vs.
Definition: types.h:416
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase12.hxx:61
Definition: Enterable.hxx:30
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
Definition: compbase12.hxx:99
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase12.hxx:69
WeakAggComponentImplHelper12(::osl::Mutex &rMutex) SAL_NOEXCEPT
Definition: compbase12.hxx:132
PartialWeakComponentImplHelper12(::osl::Mutex &rMutex) SAL_NOEXCEPT
Definition: compbase12.hxx:92