LibreOffice Module embedserv (master) 1
Public Member Functions | Protected Attributes | List of all members
EmbedProviderFactory_Impl Class Reference

#include <servprov.hxx>

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

Public Member Functions

 EmbedProviderFactory_Impl (const css::uno::Reference< css::lang::XMultiServiceFactory > &xFactory, const GUID *pGuid)
 
virtual ~EmbedProviderFactory_Impl ()
 
bool registerClass ()
 
bool deregisterClass ()
 
STDMETHOD() QueryInterface (REFIID riid, LPVOID *ppvObj) override
 
 STDMETHOD_ (ULONG, AddRef)() override
 
 STDMETHOD_ (ULONG, Release)() override
 
STDMETHOD() CreateInstance (IUnknown *punkOuter, REFIID riid, void **ppv) override
 
STDMETHOD() LockServer (int fLock) override
 

Protected Attributes

oslInterlockedCount m_refCount
 
GUID m_guid
 
DWORD m_factoryHandle
 
css::uno::Reference< css::lang::XMultiServiceFactory > m_xFactory
 

Detailed Description

Definition at line 51 of file servprov.hxx.

Constructor & Destructor Documentation

◆ EmbedProviderFactory_Impl()

EmbedProviderFactory_Impl::EmbedProviderFactory_Impl ( const css::uno::Reference< css::lang::XMultiServiceFactory > &  xFactory,
const GUID *  pGuid 
)

Definition at line 101 of file servprov.cxx.

References xFactory.

◆ ~EmbedProviderFactory_Impl()

EmbedProviderFactory_Impl::~EmbedProviderFactory_Impl ( )
virtual

Definition at line 108 of file servprov.cxx.

Member Function Documentation

◆ CreateInstance()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedProviderFactory_Impl::CreateInstance ( IUnknown *  punkOuter,
REFIID  riid,
void **  ppv 
)
override

Definition at line 171 of file servprov.cxx.

References m_guid, and m_xFactory.

◆ deregisterClass()

bool EmbedProviderFactory_Impl::deregisterClass ( )

Definition at line 128 of file servprov.cxx.

References m_factoryHandle.

◆ LockServer()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedProviderFactory_Impl::LockServer ( int  fLock)
override

Definition at line 179 of file servprov.cxx.

◆ QueryInterface()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedProviderFactory_Impl::QueryInterface ( REFIID  riid,
LPVOID *  ppvObj 
)
override

Definition at line 135 of file servprov.cxx.

◆ registerClass()

bool EmbedProviderFactory_Impl::registerClass ( )

Definition at line 112 of file servprov.cxx.

References m_factoryHandle, m_guid, and o2u_attachCurrentThread().

◆ STDMETHOD_() [1/2]

EmbedProviderFactory_Impl::STDMETHOD_ ( ULONG  ,
AddRef   
)
override

◆ STDMETHOD_() [2/2]

EmbedProviderFactory_Impl::STDMETHOD_ ( ULONG  ,
Release   
)
override

Member Data Documentation

◆ m_factoryHandle

DWORD EmbedProviderFactory_Impl::m_factoryHandle
protected

Definition at line 74 of file servprov.hxx.

Referenced by deregisterClass(), and registerClass().

◆ m_guid

GUID EmbedProviderFactory_Impl::m_guid
protected

Definition at line 73 of file servprov.hxx.

Referenced by CreateInstance(), and registerClass().

◆ m_refCount

oslInterlockedCount EmbedProviderFactory_Impl::m_refCount
protected

Definition at line 72 of file servprov.hxx.

Referenced by STDMETHODIMP_().

◆ m_xFactory

css::uno::Reference< css::lang::XMultiServiceFactory > EmbedProviderFactory_Impl::m_xFactory
protected

Definition at line 76 of file servprov.hxx.

Referenced by CreateInstance().


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