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

IFactoriesLibrary Struct Reference

#include <hyp.fem.interfaces.h>

Inheritance diagram for IFactoriesLibrary::

CFactoriesLibrary List of all members.

Public Methods

virtual void CreateInstance (const hyp_ker::hypCLSID &CLSID, hyp_ker::IUnknown *pIUnknownOuter, t_ulong, const hyp_ker::hypIID &, void **)=0
virtual void CreateInstance (const char *FriendlyName, hyp_ker::IUnknown *, t_ulong, const hyp_ker::hypIID &, void **)=0

Detailed Description

The creation of a component is slightly longer than a direct call to the new operator for instance. To avoid this problem, one of the solutions is to keep a reference to the factory which has created the component. IFactoriesLibrary is an interface which allows to manage a huge bulk of factories.
Invariants
Here are the listing of the invariants. The implementation have to follow these invariant.
Key words
See also the following key words:
IID
Here is the Interface Identifier (IID) of the interface:


Member Function Documentation

virtual void IFactoriesLibrary::CreateInstance const char *   progid,
hyp_ker::IUnknown *   pIUnknownOuter,
t_ulong   clsctx,
const hyp_ker::hypIID &   iid,
void **   ppv
[pure 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 in CFactoriesLibrary.

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

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

Parameters:
CLSID   CLSID of the new component

Reimplemented in CFactoriesLibrary.


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