LibreOffice Module sot (master) 1
|
#include <object.hxx>
Public Member Functions | |
SotObject () | |
sal_uInt16 | GetOwnerLockCount () const |
void | OwnerLock (bool bLock) |
When the OwnerLock is decremented to zero, the DoClose method is called. More... | |
bool | DoClose () |
bool | IsInClose () const |
Public Member Functions inherited from SvRefBase | |
SvRefBase () | |
SvRefBase (const SvRefBase &) | |
SvRefBase & | operator= (const SvRefBase &) |
void | RestoreNoDelete () |
void | AddNextRef () |
void | AddFirstRef () |
void | ReleaseRef () |
unsigned int | GetRefCount () const |
Protected Member Functions | |
virtual | ~SotObject () override |
virtual bool | Close () |
Protected Member Functions inherited from SvRefBase | |
virtual | ~SvRefBase () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
SotObject & | operator= (const SotObject &)=delete |
SotObject (const SotObject &)=delete | |
Private Attributes | |
sal_uInt16 | nOwnerLockCount |
bool | bInClose |
Definition at line 28 of file object.hxx.
|
overrideprotectedvirtualdefault |
References Close.
SotObject::SotObject | ( | ) |
Definition at line 22 of file object.cxx.
|
privatedelete |
|
protectedvirtual |
Definition at line 64 of file object.cxx.
Referenced by DoClose().
bool SotObject::DoClose | ( | ) |
Definition at line 51 of file object.cxx.
References bInClose, and Close().
Referenced by OwnerLock().
|
inline |
Definition at line 40 of file object.hxx.
|
inline |
Definition at line 44 of file object.hxx.
void SotObject::OwnerLock | ( | bool | bLock | ) |
When the OwnerLock is decremented to zero, the DoClose method is called.
This happens independently of the lock or RefCount. If the OwnerLock counter != zero, no DoClose is called by <SotObject::FuzzyLock>.
bLock - true, lock. false, unlock.
Definition at line 36 of file object.cxx.
References SvRefBase::AddFirstRef(), DoClose(), nOwnerLockCount, and SvRefBase::ReleaseRef().
|
private |
Definition at line 31 of file object.hxx.
Referenced by DoClose().
|
private |
Definition at line 30 of file object.hxx.
Referenced by OwnerLock().