LibreOffice Module sfx2 (master) 1
Public Types | Public Member Functions | Private Attributes | List of all members
SfxModelGuard Class Reference

#include <docundomanager.hxx>

Collaboration diagram for SfxModelGuard:
[legend]

Public Types

enum  AllowedModelState {
  E_INITIALIZING ,
  E_FULLY_ALIVE
}
 

Public Member Functions

 SfxModelGuard (SfxBaseModel const &i_rModel, const AllowedModelState i_eState=E_FULLY_ALIVE)
 
 SfxModelGuard (SfxModelSubComponent &i_rSubComponent)
 
void clear ()
 

Private Attributes

SolarMutexClearableGuard m_aGuard
 

Detailed Description

Definition at line 62 of file docundomanager.hxx.

Member Enumeration Documentation

◆ AllowedModelState

Enumerator
E_INITIALIZING 
E_FULLY_ALIVE 

Definition at line 65 of file docundomanager.hxx.

Constructor & Destructor Documentation

◆ SfxModelGuard() [1/2]

SfxModelGuard::SfxModelGuard ( SfxBaseModel const &  i_rModel,
const AllowedModelState  i_eState = E_FULLY_ALIVE 
)
inline

Definition at line 73 of file docundomanager.hxx.

References E_INITIALIZING, and SfxBaseModel::MethodEntryCheck().

◆ SfxModelGuard() [2/2]

SfxModelGuard::SfxModelGuard ( SfxModelSubComponent i_rSubComponent)
inline

Definition at line 78 of file docundomanager.hxx.

References SfxModelSubComponent::MethodEntryCheck().

Member Function Documentation

◆ clear()

void SfxModelGuard::clear ( )
inline

Definition at line 84 of file docundomanager.hxx.

References m_aGuard.

Referenced by SfxBaseModel::createDefaultViewController().

Member Data Documentation

◆ m_aGuard

SolarMutexClearableGuard SfxModelGuard::m_aGuard
private

Definition at line 90 of file docundomanager.hxx.

Referenced by clear().


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