19 #ifndef INCLUDED_CPPUHELPER_COMPBASE9_HXX
20 #define INCLUDED_CPPUHELPER_COMPBASE9_HXX
30 #if defined __SUNPRO_CC
48 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
50 :
public WeakComponentImplHelperBase
51 ,
public ::com::sun::star::lang::XTypeProvider
52 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
54 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> > > {};
57 : WeakComponentImplHelperBase( rMutex )
60 {
return WeakComponentImplHelper_query( rType, cd::get(),
this, (WeakComponentImplHelperBase *)
this ); }
62 { WeakComponentImplHelperBase::acquire(); }
64 { WeakComponentImplHelperBase::release(); }
65 virtual void SAL_CALL
dispose()throw (::com::sun::star::uno::RuntimeException)
66 { WeakComponentImplHelperBase::dispose(); }
67 virtual void SAL_CALL
addEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & xListener)
throw (::com::sun::star::uno::RuntimeException)
68 { WeakComponentImplHelperBase::addEventListener(xListener); }
69 virtual void SAL_CALL
removeEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & xListener)
throw (::com::sun::star::uno::RuntimeException)
70 { WeakComponentImplHelperBase::removeEventListener(xListener); }
71 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL
getTypes() throw (::com::sun::star::uno::RuntimeException)
72 {
return WeakComponentImplHelper_getTypes( cd::get() ); }
73 virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL
getImplementationId() throw (::com::sun::star::uno::RuntimeException)
74 {
return ImplHelper_getImplementationId( cd::get() ); }
77 #if defined __SUNPRO_CC
90 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
92 :
public WeakComponentImplHelperBase
93 ,
public ::com::sun::star::lang::XTypeProvider
94 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
96 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> > > {};
99 : WeakComponentImplHelperBase( rMutex )
102 {
return WeakComponentImplHelper_query( rType, cd::get(),
this, (WeakComponentImplHelperBase *)
this ); }
104 { WeakComponentImplHelperBase::acquire(); }
106 { WeakComponentImplHelperBase::release(); }
107 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL
getTypes() throw (::com::sun::star::uno::RuntimeException)
108 {
return WeakComponentImplHelper_getTypes( cd::get() ); }
109 virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL
getImplementationId() throw (::com::sun::star::uno::RuntimeException)
110 {
return ImplHelper_getImplementationId( cd::get() ); }
129 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
131 :
public WeakAggComponentImplHelperBase
132 ,
public ::com::sun::star::lang::XTypeProvider
133 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
135 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> > > {};
138 : WeakAggComponentImplHelperBase( rMutex )
143 {
return WeakAggComponentImplHelper_queryAgg( rType, cd::get(),
this, (WeakAggComponentImplHelperBase *)
this ); }
145 { WeakAggComponentImplHelperBase::acquire(); }
147 { WeakAggComponentImplHelperBase::release(); }
148 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL
getTypes() throw (::com::sun::star::uno::RuntimeException)
149 {
return WeakAggComponentImplHelper_getTypes( cd::get() ); }
150 virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL
getImplementationId() throw (::com::sun::star::uno::RuntimeException)
151 {
return ImplHelper_getImplementationId( cd::get() ); }
Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XCompo...
Definition: compbase9.hxx:130
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:542
C++ class representing an IDL meta type.
Definition: Type.h:55
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
virtual void release()
Definition: compbase9.hxx:105
WeakComponentImplHelper9(::osl::Mutex &rMutex)
Definition: compbase9.hxx:56
virtual void acquire()
Definition: compbase9.hxx:103
virtual ::com::sun::star::uno::Any queryInterface(::com::sun::star::uno::Type const &rType)
Definition: compbase9.hxx:140
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:315
virtual void acquire()
Definition: compbase9.hxx:61
virtual ::com::sun::star::uno::Any queryInterface(::com::sun::star::uno::Type const &rType)
Definition: compbase9.hxx:59
virtual void acquire()
Definition: compbase9.hxx:144
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes()
Definition: compbase9.hxx:107
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes()
Definition: compbase9.hxx:148
WeakAggComponentImplHelper9(::osl::Mutex &rMutex)
Definition: compbase9.hxx:137
virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId()
Definition: compbase9.hxx:109
virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId()
Definition: compbase9.hxx:73
virtual void addEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > &xListener)
Definition: compbase9.hxx:67
A mutual exclusion synchronization object.
Definition: mutex.hxx:32
Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XCompo...
Definition: compbase9.hxx:49
virtual void dispose()
Definition: compbase9.hxx:65
virtual ::com::sun::star::uno::Any queryAggregation(::com::sun::star::uno::Type const &rType)
Definition: compbase9.hxx:142
virtual void release()
Definition: compbase9.hxx:146
PartialWeakComponentImplHelper9(::osl::Mutex &rMutex)
Definition: compbase9.hxx:98
Same as WeakComponentImplHelper9, except doesn't implement addEventListener, removeEventListener and ...
Definition: compbase9.hxx:91
virtual ::com::sun::star::uno::Any queryInterface(::com::sun::star::uno::Type const &rType)
Definition: compbase9.hxx:101
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes()
Definition: compbase9.hxx:71
virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId()
Definition: compbase9.hxx:150
virtual void removeEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > &xListener)
Definition: compbase9.hxx:69
virtual void release()
Definition: compbase9.hxx:63