LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
OLEObjCache Class Reference

#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 SdrOle2Objoperator[] (size_t nPos)
 
SVXCORE_DLLPUBLIC const SdrOle2Objoperator[] (size_t nPos) const
 

Private Member Functions

 DECL_LINK (UnloadCheckHdl, Timer *, void)
 

Static Private Member Functions

static bool UnloadObj (SdrOle2Obj *pObj)
 

Private Attributes

std::vector< SdrOle2Obj * > maObjs
 
size_t nSize
 
std::unique_ptr< AutoTimerpTimer
 

Detailed Description

Definition at line 159 of file svdetc.hxx.

Constructor & Destructor Documentation

OLEObjCache::OLEObjCache ( )

Definition at line 95 of file svdetc.cxx.

References utl::ConfigManager::IsFuzzing(), LINK, nSize, and pTimer.

OLEObjCache::~OLEObjCache ( )

Definition at line 107 of file svdetc.cxx.

References pTimer.

Member Function Documentation

OLEObjCache::DECL_LINK ( UnloadCheckHdl  ,
Timer ,
void   
)
private
void OLEObjCache::InsertObj ( SdrOle2Obj pObj)

Definition at line 161 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 202 of file svdetc.cxx.

References maObjs.

const SdrOle2Obj * OLEObjCache::operator[] ( size_t  nPos) const

Definition at line 207 of file svdetc.cxx.

References maObjs.

void OLEObjCache::RemoveObj ( SdrOle2Obj pObj)

Definition at line 188 of file svdetc.cxx.

References maObjs, and pTimer.

Referenced by SdrOle2Obj::Disconnect_Impl().

size_t OLEObjCache::size ( ) const

Definition at line 197 of file svdetc.cxx.

References maObjs.

bool OLEObjCache::UnloadObj ( SdrOle2Obj pObj)
staticprivate

Member Data Documentation

std::vector<SdrOle2Obj*> OLEObjCache::maObjs
private

Definition at line 161 of file svdetc.hxx.

Referenced by InsertObj(), operator[](), RemoveObj(), and size().

size_t OLEObjCache::nSize
private

Definition at line 163 of file svdetc.hxx.

Referenced by OLEObjCache().

std::unique_ptr<AutoTimer> OLEObjCache::pTimer
private

Definition at line 164 of file svdetc.hxx.

Referenced by InsertObj(), OLEObjCache(), RemoveObj(), and ~OLEObjCache().


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