19 #ifndef INCLUDED_CPPUHELPER_COMPBASE7_HXX 20 #define INCLUDED_CPPUHELPER_COMPBASE7_HXX 42 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
44 :
public WeakComponentImplHelperBase
45 ,
public css::lang::XTypeProvider
46 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
48 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, WeakComponentImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
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 >
82 :
public WeakComponentImplHelperBase
83 ,
public css::lang::XTypeProvider
84 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
86 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, PartialWeakComponentImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
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() ); }
120 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
122 :
public WeakAggComponentImplHelperBase
123 ,
public css::lang::XTypeProvider
124 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
126 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, WeakAggComponentImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
129 : WeakAggComponentImplHelperBase( rMutex )
134 {
return WeakAggComponentImplHelper_queryAgg( rType, cd::get(),
this, static_cast<WeakAggComponentImplHelperBase *>(
this) ); }
136 { WeakAggComponentImplHelperBase::acquire(); }
138 { WeakAggComponentImplHelperBase::release(); }
140 {
return WeakAggComponentImplHelper_getTypes( cd::get() ); }
142 {
return ImplHelper_getImplementationId( cd::get() ); }
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase7.hxx:99
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:407
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:310
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:544
Implementation helper supporting css::lang::XTypeProvider and css::lang::XComponent.
Definition: compbase7.hxx:43
virtual void release() SAL_OVERRIDE
Definition: compbase7.hxx:95
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase7.hxx:65
A mutual exclusion synchronization object.
Definition: mutex.hxx:30
WeakComponentImplHelper7(::osl::Mutex &rMutex)
Definition: compbase7.hxx:50
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase7.hxx:91
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase7.hxx:141
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase7.hxx:133
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase7.hxx:131
Same as WeakComponentImplHelper7, except doesn't implement addEventListener, removeEventListener and ...
Definition: compbase7.hxx:81
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:39
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase7.hxx:139
virtual void acquire() SAL_OVERRIDE
Definition: compbase7.hxx:93
Implementation helper supporting css::lang::XTypeProvider and css::lang::XComponent.
Definition: compbase7.hxx:121
virtual void dispose() SAL_OVERRIDE
Definition: compbase7.hxx:59
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase7.hxx:53
virtual void acquire() SAL_OVERRIDE
Definition: compbase7.hxx:55
virtual void release() SAL_OVERRIDE
Definition: compbase7.hxx:57
Definition: Enterable.hxx:26
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase7.hxx:67
virtual void addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) SAL_OVERRIDE
Definition: compbase7.hxx:61
virtual void removeEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) SAL_OVERRIDE
Definition: compbase7.hxx:63
WeakAggComponentImplHelper7(::osl::Mutex &rMutex)
Definition: compbase7.hxx:128
PartialWeakComponentImplHelper7(::osl::Mutex &rMutex)
Definition: compbase7.hxx:88
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase7.hxx:97
virtual void release() SAL_OVERRIDE
Definition: compbase7.hxx:137
virtual void acquire() SAL_OVERRIDE
Definition: compbase7.hxx:135