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

#include <spsuppClassFactory.hpp>

Inheritance diagram for ClassFactory:
[legend]
Collaboration diagram for ClassFactory:
[legend]

Public Member Functions

 ClassFactory ()
 
virtual ~ClassFactory () override
 
HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, void **ppvObject) override
 
HRESULT STDMETHODCALLTYPE CreateInstance (IUnknown *pUnkOuter, REFIID riid, void **ppvObject) override
 
HRESULT STDMETHODCALLTYPE LockServer (BOOL fLock) override
 
- Public Member Functions inherited from COMRefCounted< IClassFactory >
virtual ~COMRefCounted ()
 
ULONG STDMETHODCALLTYPE AddRef () override
 
ULONG STDMETHODCALLTYPE Release () override
 

Static Public Member Functions

static LONG GetObjectCount ()
 
static LONG GetLockCount ()
 

Static Private Attributes

static LONG m_nObjCount = 0
 
static LONG m_nLockCount = 0
 

Detailed Description

Definition at line 15 of file spsuppClassFactory.hpp.

Constructor & Destructor Documentation

◆ ClassFactory()

ClassFactory::ClassFactory ( )

Definition at line 16 of file spsuppClassFactory.cxx.

References m_nObjCount.

◆ ~ClassFactory()

ClassFactory::~ClassFactory ( )
overridevirtual

Definition at line 21 of file spsuppClassFactory.cxx.

References m_nObjCount.

Member Function Documentation

◆ CreateInstance()

STDMETHODIMP ClassFactory::CreateInstance ( IUnknown *  pUnkOuter,
REFIID  riid,
void **  ppvObject 
)
override

◆ GetLockCount()

static LONG ClassFactory::GetLockCount ( )
inlinestatic

Definition at line 40 of file spsuppClassFactory.hpp.

References LONG, and m_nLockCount.

Referenced by DllCanUnloadNow().

◆ GetObjectCount()

static LONG ClassFactory::GetObjectCount ( )
inlinestatic

Definition at line 39 of file spsuppClassFactory.hpp.

References LONG, and m_nObjCount.

Referenced by DllCanUnloadNow().

◆ LockServer()

STDMETHODIMP ClassFactory::LockServer ( BOOL  fLock)
override

Definition at line 72 of file spsuppClassFactory.cxx.

References m_nLockCount.

◆ QueryInterface()

STDMETHODIMP ClassFactory::QueryInterface ( REFIID  riid,
void **  ppvObject 
)
override

Definition at line 28 of file spsuppClassFactory.cxx.

References COMRefCounted< IClassFactory >::AddRef().

Referenced by DllGetClassObject().

Member Data Documentation

◆ m_nLockCount

LONG ClassFactory::m_nLockCount = 0
staticprivate

Definition at line 44 of file spsuppClassFactory.hpp.

Referenced by GetLockCount(), and LockServer().

◆ m_nObjCount

LONG ClassFactory::m_nObjCount = 0
staticprivate

Definition at line 43 of file spsuppClassFactory.hpp.

Referenced by ClassFactory(), GetObjectCount(), and ~ClassFactory().


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