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

CFactoriesLibrary Class Reference

#include <hyp.com.factorieslibrary.h>

Inheritance diagram for CFactoriesLibrary::

IFactoriesLibrary List of all members.

Common Functions

See the Hyperion Pattern.

 CFactoriesLibrary (hyp_ker::IUnknown *)
virtual ~CFactoriesLibrary ()
virtual hyp_DECLARE_IUNKNOWN
hyp_ker::com_result 
NondelegatingQueryInterface (const hyp_ker::hypIID &,void **)
hyp_ker::com_result CreateInstance (hyp_ker::IUnknown *,hyp_ker::CUnknown **)

IFactoriesLibrary Implementation

virtual void CreateInstance (const hyp_ker::hypCLSID &, hyp_ker::IUnknown *, t_ulong, const hyp_ker::hypIID &, void **)
virtual void CreateInstance (const char *, hyp_ker::IUnknown *, t_ulong, const hyp_ker::hypIID &, void **)

Detailed Description

This is the default implementation of the interface s IFactoriesLibrary.
CLSID
Here are the Class Indetifiers (CLSID) supported by the class:
Supported Interfaces
Here is the interfaces which are supported by the component.

    hyp_ker::com_result CFactoriesLibrary::NondelegatingQueryInterface(const hyp_ker::hypIID& iid,void** ppv)
    {
            if(iid==IID_hypIFactoriesLibrary) {
                    return FinishQI(static_cast<IFactoriesLibrary*>(this),ppv);
            } else {
                    return CUnknown::NondelegatingQueryInterface(iid,ppv);
            }
    }
    //DOXYTAG
Implementation Details


Member Function Documentation

void CFactoriesLibrary::CreateInstance const char *   progid,
hyp_ker::IUnknown *   pIUnknownOuter,
t_ulong   clsctx,
const hyp_ker::hypIID &   iid,
void **   ppv
[virtual]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
FriendlyName   Friendly name of the component

Reimplemented from IFactoriesLibrary.

void CFactoriesLibrary::CreateInstance const hyp_ker::hypCLSID &   clsid,
hyp_ker::IUnknown *   pIUnknownOuter,
t_ulong   clsctx,
const hyp_ker::hypIID &   iid,
void **   ppv
[virtual]
 

Creates a new component. See the function hypker::CreateInstance for more information.

Parameters:
CLSID   CLSID of the new component

Reimplemented from IFactoriesLibrary.


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