LibreOffice Module toolkit (master) 1
|
#include <stdtabcontrollermodel.hxx>
Public Member Functions | |
StdTabControllerModel () | |
virtual | ~StdTabControllerModel () override |
css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
void SAL_CALL | acquire () noexcept override |
void SAL_CALL | release () noexcept override |
css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &rType) override |
css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
sal_Bool SAL_CALL | getGroupControl () override |
void SAL_CALL | setGroupControl (sal_Bool GroupControl) override |
void SAL_CALL | setControlModels (const css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > &Controls) override |
css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > SAL_CALL | getControlModels () override |
void SAL_CALL | setGroup (const css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > &Group, const OUString &GroupName) override |
sal_Int32 SAL_CALL | getGroupCount () override |
void SAL_CALL | getGroup (sal_Int32 nGroup, css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > &Group, OUString &Name) override |
void SAL_CALL | getGroupByName (const OUString &Name, css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > &Group) override |
OUString SAL_CALL | getServiceName () override |
void SAL_CALL | write (const css::uno::Reference< css::io::XObjectOutputStream > &OutStream) override |
void SAL_CALL | read (const css::uno::Reference< css::io::XObjectInputStream > &InStream) override |
OUString SAL_CALL | getImplementationName () override |
sal_Bool SAL_CALL | supportsService (OUString const &ServiceName) override |
css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Public Member Functions inherited from cppu::OWeakAggObject | |
OWeakAggObject () | |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE |
Public Member Functions inherited from cppu::OWeakObject | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Private Member Functions | |
::osl::Mutex & | GetMutex () |
sal_uInt32 | ImplGetControlCount (const UnoControlModelEntryList &rList) const |
void | ImplGetControlModels (css::uno::Reference< css::awt::XControlModel > **pRefs, const UnoControlModelEntryList &rList) const |
Static Private Member Functions | |
static void | ImplSetControlModels (UnoControlModelEntryList &rList, const css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > &Controls) |
static sal_uInt32 | ImplGetControlPos (const css::uno::Reference< css::awt::XControlModel > &rCtrl, const UnoControlModelEntryList &rList) |
Private Attributes | |
::osl::Mutex | maMutex |
UnoControlModelEntryList | maControls |
bool | mbGroupControl |
Additional Inherited Members | |
Protected Member Functions inherited from cppu::OWeakAggObject | |
virtual | ~OWeakAggObject () SAL_OVERRIDE |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Protected Attributes inherited from cppu::OWeakAggObject | |
css::uno::WeakReferenceHelper | xDelegator |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
Definition at line 68 of file stdtabcontrollermodel.hxx.
StdTabControllerModel::StdTabControllerModel | ( | ) |
Definition at line 87 of file stdtabcontrollermodel.cxx.
References mbGroupControl.
|
overridevirtual |
Definition at line 92 of file stdtabcontrollermodel.cxx.
|
inlineoverridevirtualnoexcept |
Reimplemented from cppu::OWeakAggObject.
Definition at line 90 of file stdtabcontrollermodel.hxx.
|
override |
Definition at line 252 of file stdtabcontrollermodel.cxx.
References aSeq, GetMutex(), ImplGetControlCount(), ImplGetControlModels(), and maControls.
Referenced by write().
|
override |
Definition at line 318 of file stdtabcontrollermodel.cxx.
References aSeq, UnoControlModelEntry::bGroup, GetMutex(), UnoControlModelEntryList::GetName(), ImplGetControlCount(), ImplGetControlModels(), maControls, n, nCount, UnoControlModelEntry::pGroup, and UnoControlModelEntryList::size().
Referenced by getGroupByName(), and write().
|
override |
Definition at line 345 of file stdtabcontrollermodel.cxx.
References UnoControlModelEntry::bGroup, getGroup(), GetMutex(), UnoControlModelEntryList::GetName(), maControls, n, UnoControlModelEntry::pGroup, and UnoControlModelEntryList::size().
|
override |
Definition at line 230 of file stdtabcontrollermodel.cxx.
References GetMutex(), and mbGroupControl.
|
override |
Definition at line 300 of file stdtabcontrollermodel.cxx.
References UnoControlModelEntry::bGroup, GetMutex(), maControls, n, and UnoControlModelEntryList::size().
Referenced by write().
|
override |
|
override |
Definition at line 414 of file stdtabcontrollermodel.cxx.
|
inlineprivate |
Definition at line 78 of file stdtabcontrollermodel.hxx.
References maMutex.
Referenced by getControlModels(), getGroup(), getGroupByName(), getGroupControl(), getGroupCount(), read(), setControlModels(), setGroup(), setGroupControl(), and write().
|
override |
Definition at line 369 of file stdtabcontrollermodel.cxx.
|
override |
Definition at line 424 of file stdtabcontrollermodel.cxx.
|
override |
Definition at line 219 of file stdtabcontrollermodel.cxx.
References cppu::UnoType< typename T >::get().
|
private |
Definition at line 96 of file stdtabcontrollermodel.cxx.
References UnoControlModelEntry::bGroup, ImplGetControlCount(), n, nCount, UnoControlModelEntry::pGroup, and UnoControlModelEntryList::size().
Referenced by getControlModels(), getGroup(), and ImplGetControlCount().
|
private |
Definition at line 111 of file stdtabcontrollermodel.cxx.
References UnoControlModelEntry::bGroup, ImplGetControlModels(), n, UnoControlModelEntry::pGroup, UnoControlModelEntry::pxControl, and UnoControlModelEntryList::size().
Referenced by getControlModels(), getGroup(), and ImplGetControlModels().
|
staticprivate |
Definition at line 139 of file stdtabcontrollermodel.cxx.
References UnoControlModelEntry::bGroup, CONTROLPOS_NOTFOUND, n, UnoControlModelEntry::pxControl, and UnoControlModelEntryList::size().
Referenced by setGroup().
|
staticprivate |
Definition at line 127 of file stdtabcontrollermodel.cxx.
References UnoControlModelEntry::bGroup, Controls, UnoControlModelEntryList::push_back(), and UnoControlModelEntry::pxControl.
Referenced by setControlModels(), and setGroup().
|
overridevirtual |
Reimplemented from cppu::OWeakAggObject.
Definition at line 206 of file stdtabcontrollermodel.cxx.
|
inlineoverridevirtual |
Reimplemented from cppu::OWeakAggObject.
Definition at line 89 of file stdtabcontrollermodel.hxx.
|
override |
Definition at line 398 of file stdtabcontrollermodel.cxx.
References aSeq, GetMutex(), ImplReadControls(), n, setControlModels(), and setGroup().
|
inlineoverridevirtualnoexcept |
Reimplemented from cppu::OWeakAggObject.
Definition at line 91 of file stdtabcontrollermodel.hxx.
|
override |
Definition at line 244 of file stdtabcontrollermodel.cxx.
References Controls, GetMutex(), ImplSetControlModels(), maControls, and UnoControlModelEntryList::Reset().
Referenced by read().
|
override |
Definition at line 262 of file stdtabcontrollermodel.cxx.
References UnoControlModelEntry::bGroup, CONTROLPOS_NOTFOUND, DBG_ASSERT, UnoControlModelEntryList::DestroyEntry(), GetMutex(), GroupName, ImplGetControlPos(), ImplSetControlModels(), UnoControlModelEntryList::insert(), maControls, n, nElements, nPos, UnoControlModelEntry::pGroup, UnoControlModelEntryList::push_back(), UnoControlModelEntry::pxControl, UnoControlModelEntryList::SetName(), and UnoControlModelEntryList::size().
Referenced by read().
|
override |
Definition at line 237 of file stdtabcontrollermodel.cxx.
References GetMutex(), and mbGroupControl.
|
override |
Definition at line 419 of file stdtabcontrollermodel.cxx.
References ServiceName, and cppu::supportsService().
|
override |
Definition at line 374 of file stdtabcontrollermodel.cxx.
References DBG_ASSERT, getControlModels(), getGroup(), getGroupCount(), GetMutex(), ImplWriteControls(), n, and UNOCONTROL_STREAMVERSION.
|
private |
Definition at line 75 of file stdtabcontrollermodel.hxx.
Referenced by getControlModels(), getGroup(), getGroupByName(), getGroupCount(), setControlModels(), and setGroup().
|
private |
Definition at line 74 of file stdtabcontrollermodel.hxx.
Referenced by GetMutex().
|
private |
Definition at line 76 of file stdtabcontrollermodel.hxx.
Referenced by getGroupControl(), setGroupControl(), and StdTabControllerModel().