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 ()
void InsertObj (SdrOle2Obj *pObj)
void RemoveObj (SdrOle2Obj *pObj)
SVX_DLLPUBLIC size_t size () const
SVX_DLLPUBLIC SdrOle2Objoperator[] (size_t nPos)
SVX_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 105 of file svdetc.cxx.

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

OLEObjCache::~OLEObjCache ( )

Definition at line 117 of file svdetc.cxx.

References pTimer.

Member Function Documentation

OLEObjCache::DECL_LINK ( UnloadCheckHdl  ,
Timer ,
void OLEObjCache::InsertObj ( SdrOle2Obj pObj)
SdrOle2Obj * OLEObjCache::operator[] ( size_t  nPos)

Definition at line 212 of file svdetc.cxx.

References maObjs.

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

Definition at line 217 of file svdetc.cxx.

References maObjs.

void OLEObjCache::RemoveObj ( SdrOle2Obj pObj)
size_t OLEObjCache::size ( ) const

Definition at line 207 of file svdetc.cxx.

References maObjs.

Referenced by SdrLightEmbeddedClient_Impl::activatingUI().

bool OLEObjCache::UnloadObj ( SdrOle2Obj pObj)

Member Data Documentation

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

Definition at line 161 of file svdetc.hxx.

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

size_t OLEObjCache::nSize

Definition at line 163 of file svdetc.hxx.

Referenced by OLEObjCache().

std::unique_ptr<AutoTimer> OLEObjCache::pTimer

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: