LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
dbaccess::ModelDependentComponent Class Referenceabstract

a small base class for UNO components whose functionality depends on an ODatabaseModelImpl More...

#include <ModelImpl.hxx>

Inheritance diagram for dbaccess::ModelDependentComponent:
[legend]
Collaboration diagram for dbaccess::ModelDependentComponent:
[legend]

Public Member Functions

void checkDisposed () const
 checks whether the component is already disposed, throws a DisposedException if so More...
 
void lockModify ()
 
void unlockModify ()
 

Protected Member Functions

 ModelDependentComponent (::rtl::Reference< ODatabaseModelImpl > _model)
 
virtual ~ModelDependentComponent ()
 
virtual css::uno::Reference< css::uno::XInterface > getThis () const =0
 returns the component itself More...
 
::osl::Mutex & getMutex ()
 

Protected Attributes

::rtl::Reference< ODatabaseModelImplm_pImpl
 
::osl::Mutex m_aMutex
 

Detailed Description

a small base class for UNO components whose functionality depends on an ODatabaseModelImpl

Definition at line 451 of file ModelImpl.hxx.

Constructor & Destructor Documentation

◆ ModelDependentComponent()

dbaccess::ModelDependentComponent::ModelDependentComponent ( ::rtl::Reference< ODatabaseModelImpl _model)
explicitprotected

Definition at line 1423 of file ModelImpl.cxx.

References m_pImpl.

◆ ~ModelDependentComponent()

dbaccess::ModelDependentComponent::~ModelDependentComponent ( )
protectedvirtual

Definition at line 1428 of file ModelImpl.cxx.

Member Function Documentation

◆ checkDisposed()

void dbaccess::ModelDependentComponent::checkDisposed ( ) const
inline

checks whether the component is already disposed, throws a DisposedException if so

Definition at line 472 of file ModelImpl.hxx.

References getThis(), and m_pImpl.

Referenced by dbaccess::ModelMethodGuard::ModelMethodGuard(), and dbaccess::DocumentGuard::reset().

◆ getMutex()

::osl::Mutex & dbaccess::ModelDependentComponent::getMutex ( )
inlineprotected

Definition at line 465 of file ModelImpl.hxx.

References m_aMutex.

◆ getThis()

virtual css::uno::Reference< css::uno::XInterface > dbaccess::ModelDependentComponent::getThis ( ) const
protectedpure virtual

returns the component itself

Implemented in dbaccess::ODatabaseDocument, and dbaccess::ODatabaseSource.

Referenced by checkDisposed().

◆ lockModify()

void dbaccess::ModelDependentComponent::lockModify ( )
inline

Definition at line 478 of file ModelImpl.hxx.

References m_pImpl.

Referenced by dbaccess::ModifyLock::ModifyLock().

◆ unlockModify()

void dbaccess::ModelDependentComponent::unlockModify ( )
inline

Definition at line 483 of file ModelImpl.hxx.

References m_pImpl.

Referenced by dbaccess::ModifyLock::~ModifyLock().

Member Data Documentation

◆ m_aMutex

::osl::Mutex dbaccess::ModelDependentComponent::m_aMutex
protected

Definition at line 455 of file ModelImpl.hxx.

Referenced by getMutex().

◆ m_pImpl

::rtl::Reference< ODatabaseModelImpl > dbaccess::ModelDependentComponent::m_pImpl
protected

Definition at line 454 of file ModelImpl.hxx.

Referenced by dbaccess::ODatabaseSource::buildIsolatedConnection(), dbaccess::ODatabaseSource::buildLowLevelConnection(), checkDisposed(), dbaccess::ODatabaseDocument::connectController(), dbaccess::ODatabaseSource::convertFastPropertyValue(), dbaccess::ODatabaseDocument::createViewController(), dbaccess::ODatabaseDocument::disposing(), dbaccess::ODatabaseSource::disposing(), dbaccess::ODatabaseSource::elementInserted(), dbaccess::ODatabaseSource::elementRemoved(), dbaccess::ODatabaseSource::elementReplaced(), dbaccess::ODatabaseSource::flush(), dbaccess::ODatabaseSource::flushed(), dbaccess::ODatabaseDocument::getAllowMacroExecution(), dbaccess::ODatabaseDocument::getArgs(), dbaccess::ODatabaseDocument::getArgs2(), dbaccess::ODatabaseDocument::getBasicLibraries(), dbaccess::OSharedConnectionManager::getConnection(), dbaccess::ODatabaseSource::getConnection(), dbaccess::ODatabaseSource::getDatabaseDocument(), dbaccess::ODatabaseDocument::getDataSource(), dbaccess::ODatabaseDocument::getDialogLibraries(), dbaccess::ODatabaseDocument::getDocumentStorage(), dbaccess::ODatabaseDocument::getDocumentSubStorage(), dbaccess::ODatabaseDocument::getDocumentSubStoragesNames(), dbaccess::ODatabaseSource::getFastPropertyValue(), dbaccess::ODatabaseDocument::getLocation(), dbaccess::ODatabaseSource::getLoginTimeout(), dbaccess::ODatabaseSource::getQueryDefinitions(), dbaccess::ODatabaseDocument::getScriptProvider(), dbaccess::ODatabaseSource::getTables(), dbaccess::ODatabaseDocument::getUIConfigurationManager2(), dbaccess::ODatabaseDocument::getURL(), dbaccess::ODatabaseDocument::hasControllersLocked(), dbaccess::ODatabaseDocument::impl_attachResource(), dbaccess::ODatabaseDocument::impl_createStorageFor_throw(), dbaccess::ODatabaseDocument::impl_getDocumentContainer_throw(), dbaccess::ODatabaseDocument::impl_getTitleHelper_throw(), dbaccess::ODatabaseDocument::impl_getUntitledHelper_throw(), dbaccess::ODatabaseDocument::impl_reset_nothrow(), dbaccess::ODatabaseDocument::impl_setModified_nothrow(), dbaccess::ODatabaseDocument::impl_storeAs_throw(), dbaccess::ODatabaseDocument::impl_storeToStorage_throw(), dbaccess::ODatabaseDocument::impl_throwIOExceptionCausedBySave_throw(), dbaccess::ODatabaseDocument::impl_writeStorage_throw(), dbaccess::ODatabaseSource::initialize(), dbaccess::ODatabaseDocument::initNew(), dbaccess::ODatabaseDocument::isModified(), dbaccess::ODatabaseDocument::isReadonly(), dbaccess::ODatabaseDocument::load(), dbaccess::ODatabaseDocument::loadFromStorage(), dbaccess::ODatabaseDocument::lockControllers(), lockModify(), dbaccess::ODatabaseDocument::ODatabaseDocument(), dbaccess::ODatabaseSource::ODatabaseSource(), dbaccess::ODatabaseDocument::recoverFromFile(), dbaccess::ODatabaseDocument::setCurrentController(), dbaccess::ODatabaseSource::setFastPropertyValue_NoBroadcast(), dbaccess::ODatabaseSource::setLoginTimeout(), dbaccess::ODatabaseSource::setName(), dbaccess::ODatabaseDocument::store(), dbaccess::ODatabaseDocument::storeToRecoveryFile(), dbaccess::ODatabaseDocument::switchToStorage(), dbaccess::ODatabaseDocument::unlockControllers(), unlockModify(), and dbaccess::ODatabaseSource::~ODatabaseSource().


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