19 #ifndef INCLUDED_CPPUHELPER_COMPBASE12_HXX
20 #define INCLUDED_CPPUHELPER_COMPBASE12_HXX
42 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 >
44 :
public WeakComponentImplHelperBase
45 ,
public ::com::sun::star::lang::XTypeProvider
46 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12
48 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> > > {};
51 : WeakComponentImplHelperBase( rMutex )
54 {
return WeakComponentImplHelper_query( rType, cd::get(),
this, (WeakComponentImplHelperBase *)
this ); }
56 { WeakComponentImplHelperBase::acquire(); }
58 { WeakComponentImplHelperBase::release(); }
60 { WeakComponentImplHelperBase::dispose(); }
61 virtual void SAL_CALL
addEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & xListener)
throw (::com::sun::star::uno::RuntimeException, std::exception)
SAL_OVERRIDE
62 { WeakComponentImplHelperBase::addEventListener(xListener); }
63 virtual void SAL_CALL
removeEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & xListener)
throw (::com::sun::star::uno::RuntimeException, std::exception)
SAL_OVERRIDE
64 { WeakComponentImplHelperBase::removeEventListener(xListener); }
65 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL
getTypes() throw (::
com::sun::star::uno::RuntimeException, std::exception)
SAL_OVERRIDE
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,
class Ifc10,
class Ifc11,
class Ifc12 >
82 :
public WeakComponentImplHelperBase
83 ,
public ::com::sun::star::lang::XTypeProvider
84 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12
86 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> > > {};
89 : WeakComponentImplHelperBase( rMutex )
92 {
return WeakComponentImplHelper_query( rType, cd::get(),
this, (WeakComponentImplHelperBase *)
this ); }
94 { WeakComponentImplHelperBase::acquire(); }
96 { WeakComponentImplHelperBase::release(); }
97 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL
getTypes() throw (::
com::sun::star::uno::RuntimeException, std::exception)
SAL_OVERRIDE
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,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11,
class Ifc12 >
122 :
public WeakAggComponentImplHelperBase
123 ,
public ::com::sun::star::lang::XTypeProvider
124 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12
126 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> > > {};
129 : WeakAggComponentImplHelperBase( rMutex )
134 {
return WeakAggComponentImplHelper_queryAgg( rType, cd::get(),
this, (WeakAggComponentImplHelperBase *)
this ); }
136 { WeakAggComponentImplHelperBase::acquire(); }
138 { WeakAggComponentImplHelperBase::release(); }
139 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL
getTypes() throw (::
com::sun::star::uno::RuntimeException, std::exception)
SAL_OVERRIDE
140 {
return WeakAggComponentImplHelper_getTypes( cd::get() ); }
142 {
return ImplHelper_getImplementationId( cd::get() ); }
inline::com::sun::star::uno::Any queryInterface(const ::com::sun::star::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:39
PartialWeakComponentImplHelper12(::osl::Mutex &rMutex)
Definition: compbase12.hxx:88
Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XCompo...
Definition: compbase12.hxx:43
C++ class representing an IDL meta type.
Definition: Type.h:55
virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase12.hxx:141
virtual ::com::sun::star::uno::Any queryInterface(::com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase12.hxx:131
virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase12.hxx:99
virtual ::com::sun::star::uno::Any queryAggregation(::com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase12.hxx:133
virtual void dispose() SAL_OVERRIDE
Definition: compbase12.hxx:59
WeakComponentImplHelper12(::osl::Mutex &rMutex)
Definition: compbase12.hxx:50
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase12.hxx:65
virtual void acquire() SAL_OVERRIDE
Definition: compbase12.hxx:135
Same as WeakComponentImplHelper12, except doesn't implement addEventListener, removeEventListener and...
Definition: compbase12.hxx:81
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:423
Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XCompo...
Definition: compbase12.hxx:121
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase12.hxx:139
virtual void release() SAL_OVERRIDE
Definition: compbase12.hxx:137
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes() SAL_OVERRIDE
Definition: compbase12.hxx:97
Definition: Enterable.hxx:26
virtual void release() SAL_OVERRIDE
Definition: compbase12.hxx:57
virtual void acquire() SAL_OVERRIDE
Definition: compbase12.hxx:55
virtual ::com::sun::star::uno::Any queryInterface(::com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase12.hxx:91
virtual void addEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > &xListener) SAL_OVERRIDE
Definition: compbase12.hxx:61
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:317
virtual void removeEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > &xListener) SAL_OVERRIDE
Definition: compbase12.hxx:63
virtual ::com::sun::star::uno::Any queryInterface(::com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: compbase12.hxx:53
virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: compbase12.hxx:67
A mutual exclusion synchronization object.
Definition: mutex.hxx:32
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:542
WeakAggComponentImplHelper12(::osl::Mutex &rMutex)
Definition: compbase12.hxx:128
virtual void acquire() SAL_OVERRIDE
Definition: compbase12.hxx:93
virtual void release() SAL_OVERRIDE
Definition: compbase12.hxx:95