LibreOffice Module toolkit (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
StdTabControllerModel Class Referencefinal

#include <stdtabcontrollermodel.hxx>

Inheritance diagram for StdTabControllerModel:
[legend]
Collaboration diagram for StdTabControllerModel:
[legend]

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
 

Detailed Description

Definition at line 68 of file stdtabcontrollermodel.hxx.

Constructor & Destructor Documentation

◆ StdTabControllerModel()

StdTabControllerModel::StdTabControllerModel ( )

Definition at line 87 of file stdtabcontrollermodel.cxx.

References mbGroupControl.

◆ ~StdTabControllerModel()

StdTabControllerModel::~StdTabControllerModel ( )
overridevirtual

Definition at line 92 of file stdtabcontrollermodel.cxx.

Member Function Documentation

◆ acquire()

void SAL_CALL StdTabControllerModel::acquire ( )
inlineoverridevirtualnoexcept

Reimplemented from cppu::OWeakAggObject.

Definition at line 90 of file stdtabcontrollermodel.hxx.

◆ getControlModels()

css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > StdTabControllerModel::getControlModels ( )
override

Definition at line 252 of file stdtabcontrollermodel.cxx.

References aSeq, GetMutex(), ImplGetControlCount(), ImplGetControlModels(), and maControls.

Referenced by write().

◆ getGroup()

void StdTabControllerModel::getGroup ( sal_Int32  nGroup,
css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > &  Group,
OUString &  Name 
)
override

◆ getGroupByName()

void StdTabControllerModel::getGroupByName ( const OUString &  Name,
css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > &  Group 
)
override

◆ getGroupControl()

sal_Bool StdTabControllerModel::getGroupControl ( )
override

Definition at line 230 of file stdtabcontrollermodel.cxx.

References GetMutex(), and mbGroupControl.

◆ getGroupCount()

sal_Int32 StdTabControllerModel::getGroupCount ( )
override

◆ getImplementationId()

css::uno::Sequence< sal_Int8 > SAL_CALL StdTabControllerModel::getImplementationId ( )
override

◆ getImplementationName()

OUString StdTabControllerModel::getImplementationName ( )
override

Definition at line 414 of file stdtabcontrollermodel.cxx.

◆ GetMutex()

::osl::Mutex & StdTabControllerModel::GetMutex ( )
inlineprivate

◆ getServiceName()

OUString StdTabControllerModel::getServiceName ( )
override

Definition at line 369 of file stdtabcontrollermodel.cxx.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > StdTabControllerModel::getSupportedServiceNames ( )
override

Definition at line 424 of file stdtabcontrollermodel.cxx.

◆ getTypes()

css::uno::Sequence< css::uno::Type > StdTabControllerModel::getTypes ( )
override

Definition at line 219 of file stdtabcontrollermodel.cxx.

References cppu::UnoType< typename T >::get().

◆ ImplGetControlCount()

sal_uInt32 StdTabControllerModel::ImplGetControlCount ( const UnoControlModelEntryList rList) const
private

◆ ImplGetControlModels()

void StdTabControllerModel::ImplGetControlModels ( css::uno::Reference< css::awt::XControlModel > **  pRefs,
const UnoControlModelEntryList rList 
) const
private

◆ ImplGetControlPos()

sal_uInt32 StdTabControllerModel::ImplGetControlPos ( const css::uno::Reference< css::awt::XControlModel > &  rCtrl,
const UnoControlModelEntryList rList 
)
staticprivate

◆ ImplSetControlModels()

void StdTabControllerModel::ImplSetControlModels ( UnoControlModelEntryList rList,
const css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > &  Controls 
)
staticprivate

◆ queryAggregation()

css::uno::Any StdTabControllerModel::queryAggregation ( const css::uno::Type &  rType)
overridevirtual

Reimplemented from cppu::OWeakAggObject.

Definition at line 206 of file stdtabcontrollermodel.cxx.

◆ queryInterface()

css::uno::Any SAL_CALL StdTabControllerModel::queryInterface ( const css::uno::Type &  rType)
inlineoverridevirtual

Reimplemented from cppu::OWeakAggObject.

Definition at line 89 of file stdtabcontrollermodel.hxx.

◆ read()

void StdTabControllerModel::read ( const css::uno::Reference< css::io::XObjectInputStream > &  InStream)
override

◆ release()

void SAL_CALL StdTabControllerModel::release ( )
inlineoverridevirtualnoexcept

Reimplemented from cppu::OWeakAggObject.

Definition at line 91 of file stdtabcontrollermodel.hxx.

◆ setControlModels()

void StdTabControllerModel::setControlModels ( const css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > &  Controls)
override

◆ setGroup()

void StdTabControllerModel::setGroup ( const css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > &  Group,
const OUString &  GroupName 
)
override

◆ setGroupControl()

void StdTabControllerModel::setGroupControl ( sal_Bool  GroupControl)
override

Definition at line 237 of file stdtabcontrollermodel.cxx.

References GetMutex(), and mbGroupControl.

◆ supportsService()

sal_Bool StdTabControllerModel::supportsService ( OUString const &  ServiceName)
override

Definition at line 419 of file stdtabcontrollermodel.cxx.

References ServiceName, and cppu::supportsService().

◆ write()

void StdTabControllerModel::write ( const css::uno::Reference< css::io::XObjectOutputStream > &  OutStream)
override

Member Data Documentation

◆ maControls

UnoControlModelEntryList StdTabControllerModel::maControls
private

◆ maMutex

::osl::Mutex StdTabControllerModel::maMutex
private

Definition at line 74 of file stdtabcontrollermodel.hxx.

Referenced by GetMutex().

◆ mbGroupControl

bool StdTabControllerModel::mbGroupControl
private

The documentation for this class was generated from the following files: