19 #ifndef INCLUDED_CPPUHELPER_COMPBASE9_HXX 20 #define INCLUDED_CPPUHELPER_COMPBASE9_HXX 42 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
44 :
public WeakComponentImplHelperBase
45 ,
public css::lang::XTypeProvider
46 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
48 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> > > {};
51 : WeakComponentImplHelperBase( rMutex )
54 {
return WeakComponentImplHelper_query( rType, cd::get(),
this, static_cast<WeakComponentImplHelperBase *>(
this) ); }
56 { WeakComponentImplHelperBase::acquire(); }
58 { WeakComponentImplHelperBase::release(); }
60 { WeakComponentImplHelperBase::dispose(); }
62 { WeakComponentImplHelperBase::addEventListener(xListener); }
64 { WeakComponentImplHelperBase::removeEventListener(xListener); }
66 {
return WeakComponentImplHelper_getTypes( cd::get() ); }
68 {
return ImplHelper_getImplementationId( cd::get() ); }
80 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
82 :
public WeakComponentImplHelperBase
83 ,
public css::lang::XTypeProvider
84 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
86 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> > > {};
89 : WeakComponentImplHelperBase( rMutex )
92 {
return WeakComponentImplHelper_query( rType, cd::get(),
this, static_cast<WeakComponentImplHelperBase *>(
this) ); }
94 { WeakComponentImplHelperBase::acquire(); }
96 { WeakComponentImplHelperBase::release(); }
98 {
return WeakComponentImplHelper_getTypes( cd::get() ); }
100 {
return ImplHelper_getImplementationId( cd::get() ); }
119 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
121 :
public WeakAggComponentImplHelperBase
122 ,
public css::lang::XTypeProvider
123 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
125 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> > > {};
128 : WeakAggComponentImplHelperBase( rMutex )
133 {
return WeakAggComponentImplHelper_queryAgg( rType, cd::get(),
this, static_cast<WeakAggComponentImplHelperBase *>(
this) ); }
135 { WeakAggComponentImplHelperBase::acquire(); }
137 { WeakAggComponentImplHelperBase::release(); }
139 {
return WeakAggComponentImplHelper_getTypes( cd::get() ); }
141 {
return ImplHelper_getImplementationId( cd::get() ); }
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:415
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:317
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:544
virtual void release() SAL_OVERRIDE
Definition: compbase9.hxx:95
Implementation helper supporting css::lang::XTypeProvider and css::lang::XComponent.
Definition: compbase9.hxx:43
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase9.hxx:97
virtual void release() SAL_OVERRIDE
Definition: compbase9.hxx:57
A mutual exclusion synchronization object.
Definition: mutex.hxx:30
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase9.hxx:140
Same as WeakComponentImplHelper9, except doesn't implement addEventListener, removeEventListener and ...
Definition: compbase9.hxx:81
virtual void addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) SAL_OVERRIDE
Definition: compbase9.hxx:61
Implementation helper supporting css::lang::XTypeProvider and css::lang::XComponent.
Definition: compbase9.hxx:120
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase9.hxx:130
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase9.hxx:99
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase9.hxx:91
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase9.hxx:53
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase9.hxx:138
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:39
virtual void removeEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) SAL_OVERRIDE
Definition: compbase9.hxx:63
virtual void release() SAL_OVERRIDE
Definition: compbase9.hxx:136
virtual void acquire() SAL_OVERRIDE
Definition: compbase9.hxx:93
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase9.hxx:132
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase9.hxx:65
Definition: Enterable.hxx:26
virtual void acquire() SAL_OVERRIDE
Definition: compbase9.hxx:55
WeakAggComponentImplHelper9(::osl::Mutex &rMutex)
Definition: compbase9.hxx:127
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase9.hxx:67
WeakComponentImplHelper9(::osl::Mutex &rMutex)
Definition: compbase9.hxx:50
virtual void acquire() SAL_OVERRIDE
Definition: compbase9.hxx:134
PartialWeakComponentImplHelper9(::osl::Mutex &rMutex)
Definition: compbase9.hxx:88
virtual void dispose() SAL_OVERRIDE
Definition: compbase9.hxx:59