All Frameworks Class Hierarchy This Framework Previous Next Indexes
System.IUnknown | +---System.IDispatch | +---System.CATBaseUnknown | +---CATIDelegateInstanciation
Usage: you can reimplement this interface by deriving the supplied CATDelegateInstanciationAdapter adapter class.
interface CATIDelegateInstanciation
CATIDelegateInstanciation allows several types to use the
same instanciation function: The CATIType created by
CATITypeDictionary can specify the name of a class which
implements CATIDelegateInstanciation.
It will adhere to
CATIInstanciation and delegate the instanciate method
to an object implementing CATIDelegateInstanciation
which will have been created through cATCoCreateInstance
called with the name given duting the CATIType declaration.
BOA information: this interface CAN be implemented using the BOA (Basic Object Adapter). To know more about the BOA, refer to the CAA Encyclopedia home page. Click Middleware at the bottom left, then click the Object Modeler tab page. Several articles deal with the BOA.
public virtual HRESULT Instanciate( | const CATIInstance_var& | iOwner, |
const CATUnicodeString& | iKey, | |
const CATUnicodeString& | typeName, | |
CATIInstance_var& | oInstanciated, | |
const CATInstanciationContext* | iContext)= 0 |
Copyright © 2003, Dassault Systèmes. All rights reserved.