LibreOffice Module comphelper (master) 1
|
#include <componentbase.hxx>
Public Types | |
enum class | MethodType { Default , WithoutInit } |
Public Member Functions | |
ComponentMethodGuard (ComponentBase &_rComponent, const MethodType _eType=MethodType::Default) | |
void | clear () |
Private Attributes | |
osl::ClearableMutexGuard | m_aMutexGuard |
Definition at line 104 of file componentbase.hxx.
|
strong |
Enumerator | |
---|---|
Default | allow the method to be called only when being initialized and not being disposed |
WithoutInit | allow the method to be called without being initialized |
Definition at line 107 of file componentbase.hxx.
|
inline |
Definition at line 116 of file componentbase.hxx.
References comphelper::ComponentBase::checkDisposed(), comphelper::ComponentBase::checkInitialized(), getMutex(), and WithoutInit.
|
inline |
Definition at line 124 of file componentbase.hxx.
References m_aMutexGuard.
|
private |
Definition at line 130 of file componentbase.hxx.
Referenced by clear().