Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

CFactory Class Reference

Inheritance diagram for CFactory:

IClassFactory IUnknown List of all members.

Public Methods

 CFactory (const CFactoryData *)
 ~CFactory ()
virtual com_result CreateInstance (IUnknown *, const hypIID &iid, void **)
virtual com_result LockServer (bool)
virtual com_result QueryInterface (const hypIID &, void **)
virtual t_ulong AddRef ()
virtual t_ulong Release ()

Static Public Methods

com_result GetClassObject (const hypCLSID &,const hypIID &, void **)
bool IsLocked ()
com_result RegisterAll ()
com_result UnregisterAll ()
com_result CanUnloadNow ()
void InitStaticMembers (const CFactoryData *, int, const std::string &)

Detailed Description

Implements the Factory used by the component server. So this class can manage the creation of all the components located in the same server.


Member Function Documentation

com_result CFactory::CanUnloadNow ( ) [static]
 

Helps to implement hypDllCanUnloadNow Checks if the factory is free or no, so if the component server can be unloaded.

com_result CFactory::GetClassObject ( const hypCLSID & clsid,
const hypIID & iid,
void ** ppv ) [static]
 

Helps to implement hypDllGetClassObject

com_result CFactory::RegisterAll ( ) [static]
 

Helps to implement hypDllRegisterAll.

com_result CFactory::UnregisterAll ( ) [static]
 

Helps to implement hypDllUnregisterAll.


The documentation for this class was generated from the following files:
Top of Page
written by Pierre Rebours © 2000-2001. Terms of Use.