LibreOffice Module chart2 (master) 1
|
#include <LifeTime.hxx>
Public Member Functions | |
LifeTimeGuard (LifeTimeManager &rManager) | |
bool | startApiCall (bool bLongLastingCall=false) |
~LifeTimeGuard () | |
void | clear () |
Private Member Functions | |
LifeTimeGuard (const LifeTimeGuard &)=delete | |
LifeTimeGuard & | operator= (const LifeTimeGuard &)=delete |
Private Attributes | |
std::unique_lock< std::mutex > | m_guard |
LifeTimeManager & | m_rManager |
bool | m_bCallRegistered |
bool | m_bLongLastingCallRegistered |
Definition at line 169 of file LifeTime.hxx.
|
inline |
Definition at line 173 of file LifeTime.hxx.
apphelper::LifeTimeGuard::~LifeTimeGuard | ( | ) |
Definition at line 407 of file LifeTime.cxx.
References ex, apphelper::LifeTimeManager::impl_unregisterApiCall(), m_bCallRegistered, m_bLongLastingCallRegistered, m_guard, and m_rManager.
|
privatedelete |
|
inline |
Definition at line 183 of file LifeTime.hxx.
References m_guard.
|
privatedelete |
bool apphelper::LifeTimeGuard::startApiCall | ( | bool | bLongLastingCall = false | ) |
Definition at line 387 of file LifeTime.cxx.
References apphelper::LifeTimeManager::impl_canStartApiCall(), apphelper::LifeTimeManager::impl_registerApiCall(), m_bCallRegistered, m_bLongLastingCallRegistered, and m_rManager.
|
private |
Definition at line 188 of file LifeTime.hxx.
Referenced by startApiCall(), and ~LifeTimeGuard().
|
private |
Definition at line 189 of file LifeTime.hxx.
Referenced by startApiCall(), and ~LifeTimeGuard().
|
private |
Definition at line 186 of file LifeTime.hxx.
Referenced by clear(), and ~LifeTimeGuard().
|
private |
Definition at line 187 of file LifeTime.hxx.
Referenced by startApiCall(), and ~LifeTimeGuard().