LibreOffice Module svx (master) 1
|
#include <svdetc.hxx>
Public Member Functions | |
OLEObjCache () | |
SVXCORE_DLLPUBLIC | ~OLEObjCache () |
void | InsertObj (SdrOle2Obj *pObj) |
void | RemoveObj (SdrOle2Obj *pObj) |
SVXCORE_DLLPUBLIC size_t | size () const |
SVXCORE_DLLPUBLIC SdrOle2Obj * | operator[] (size_t nPos) |
SVXCORE_DLLPUBLIC const SdrOle2Obj * | operator[] (size_t nPos) const |
Private Member Functions | |
DECL_LINK (UnloadCheckHdl, Timer *, void) | |
Static Private Member Functions | |
static bool | UnloadObj (SdrOle2Obj &rObj) |
Private Attributes | |
std::vector< SdrOle2Obj * > | maObjs |
size_t | nSize |
std::unique_ptr< AutoTimer > | pTimer |
Definition at line 158 of file svdetc.hxx.
OLEObjCache::OLEObjCache | ( | ) |
Definition at line 85 of file svdetc.cxx.
References utl::ConfigManager::IsFuzzing(), LINK, nSize, pTimer, and SAL_MAX_INT32.
OLEObjCache::~OLEObjCache | ( | ) |
Definition at line 105 of file svdetc.cxx.
References pTimer.
|
private |
void OLEObjCache::InsertObj | ( | SdrOle2Obj * | pObj | ) |
Definition at line 167 of file svdetc.cxx.
References maObjs, and pTimer.
Referenced by SdrOle2Obj::Connect_Impl(), and SdrOle2Obj::GetObjRef_Impl().
SdrOle2Obj * OLEObjCache::operator[] | ( | size_t | nPos | ) |
Definition at line 208 of file svdetc.cxx.
const SdrOle2Obj * OLEObjCache::operator[] | ( | size_t | nPos | ) | const |
Definition at line 213 of file svdetc.cxx.
void OLEObjCache::RemoveObj | ( | SdrOle2Obj * | pObj | ) |
Definition at line 194 of file svdetc.cxx.
References maObjs, and pTimer.
Referenced by SdrOle2Obj::Disconnect_Impl().
size_t OLEObjCache::size | ( | ) | const |
Definition at line 203 of file svdetc.cxx.
References maObjs.
|
staticprivate |
Definition at line 218 of file svdetc.cxx.
References bVisible, SdrObject::GetViewContact(), sdr::contact::ViewContact::HasViewObjectContacts(), and SdrOle2Obj::Unload().
|
private |
Definition at line 160 of file svdetc.hxx.
Referenced by InsertObj(), operator[](), RemoveObj(), and size().
|
private |
Definition at line 162 of file svdetc.hxx.
Referenced by OLEObjCache().
|
private |
Definition at line 163 of file svdetc.hxx.
Referenced by InsertObj(), OLEObjCache(), RemoveObj(), and ~OLEObjCache().