LibreOffice Module comphelper (master)  1
Public Types | Public Member Functions | Private Attributes | List of all members
comphelper::ComponentMethodGuard Class Reference

#include <componentbase.hxx>

Public Types

enum  MethodType {

Public Member Functions

 ComponentMethodGuard (ComponentBase &_rComponent, const MethodType _eType=MethodType::Default)
void clear ()

Private Attributes

osl::ClearableMutexGuard m_aMutexGuard

Detailed Description

Definition at line 104 of file componentbase.hxx.

Member Enumeration Documentation


allow the method to be called only when being initialized and not being disposed


allow the method to be called without being initialized

Definition at line 107 of file componentbase.hxx.

Constructor & Destructor Documentation

comphelper::ComponentMethodGuard::ComponentMethodGuard ( ComponentBase _rComponent,
const MethodType  _eType = MethodType::Default 

Member Function Documentation

void comphelper::ComponentMethodGuard::clear ( )

Definition at line 124 of file componentbase.hxx.

References m_aMutexGuard.

Member Data Documentation

osl::ClearableMutexGuard comphelper::ComponentMethodGuard::m_aMutexGuard

Definition at line 130 of file componentbase.hxx.

Referenced by clear().

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