COM Library
Public Member Functions | Private Attributes
COM::ClassFactory Class Reference

The singleton coclass factory. More...

#include <ClassFactory.hpp>

Inheritance diagram for COM::ClassFactory:
COM::ObjectBase< IClassFactory >

List of all members.

Public Member Functions

 ClassFactory (const CLSID &rCLSID)
 Construction from a CLSID.
 ~ClassFactory ()
 Destructor.
virtual HRESULT COMCALL CreateInstance (IUnknown *pOuter, const IID &rIID, void **ppInterface)
 Create an instance object of the class.
virtual HRESULT COMCALL LockServer (BOOL fLock)
 Lock the COM server.

Private Attributes

CLSID m_oCLSID
 The CLSID to manufacture objects of.

Detailed Description

The singleton coclass factory.


Constructor & Destructor Documentation

COM::ClassFactory::ClassFactory ( const CLSID &  rCLSID)

Construction from a CLSID.

Destructor.


Member Function Documentation

HRESULT COMCALL COM::ClassFactory::CreateInstance ( IUnknown *  pOuter,
const IID &  rIID,
void **  ppInterface 
) [virtual]

Create an instance object of the class.

HRESULT COMCALL COM::ClassFactory::LockServer ( BOOL  fLock) [virtual]

Lock the COM server.


Member Data Documentation

CLSID COM::ClassFactory::m_oCLSID [private]

The CLSID to manufacture objects of.


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