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 &rObj)
 

Private Attributes

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

Detailed Description

Definition at line 158 of file svdetc.hxx.

Constructor & Destructor Documentation

◆ OLEObjCache()

OLEObjCache::OLEObjCache ( )

Definition at line 85 of file svdetc.cxx.

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

◆ ~OLEObjCache()

OLEObjCache::~OLEObjCache ( )

Definition at line 105 of file svdetc.cxx.

References pTimer.

Member Function Documentation

◆ DECL_LINK()

OLEObjCache::DECL_LINK ( UnloadCheckHdl  ,
Timer ,
void   
)
private

◆ InsertObj()

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().

◆ operator[]() [1/2]

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

Definition at line 208 of file svdetc.cxx.

References maObjs, and nPos.

◆ operator[]() [2/2]

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

Definition at line 213 of file svdetc.cxx.

References maObjs, and nPos.

◆ RemoveObj()

void OLEObjCache::RemoveObj ( SdrOle2Obj pObj)

Definition at line 194 of file svdetc.cxx.

References maObjs, and pTimer.

Referenced by SdrOle2Obj::Disconnect_Impl().

◆ size()

size_t OLEObjCache::size ( ) const

Definition at line 203 of file svdetc.cxx.

References maObjs.

◆ UnloadObj()

bool OLEObjCache::UnloadObj ( SdrOle2Obj rObj)
staticprivate

Member Data Documentation

◆ maObjs

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

Definition at line 160 of file svdetc.hxx.

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

◆ nSize

size_t OLEObjCache::nSize
private

Definition at line 162 of file svdetc.hxx.

Referenced by OLEObjCache().

◆ pTimer

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

Definition at line 163 of file svdetc.hxx.

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


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