DataCommonProtocolExt Interface CATIProviderManager

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIProviderManager

Interface to manage provider declaration.
Role:This interface used in the init of an applicative container enable you to declare a list of providers. Each provider is a component implementing a specific interfaces:

The retrieval of a CATIProviderManager interface pointer is depending on the modeler.


Method Index


o AddProvider(CLSID&,CATBaseUnknown*)
Adds a new provider.
o ListProviders(CLSID&,CATLISTP(CATBaseUnknown)**)
Lists the providers.
o RemoveProvider(CLSID&,CATBaseUnknown*)
Removes a provider.

Methods


o AddProvider
public virtual AddProvider( const clsid,
iProvider)
Adds a new provider.
Parameters:
clsid
Provider interface name.
iProvider
The provider object.
o ListProviders
public virtual ListProviders( const clsid,
oListProviders)
Lists the providers.
Parameters:
clsid
Provider interface name.
oListProviders
The list of the provider objects declared for the given interface.
Lifecycle rules deviation: No AddRef is performed on the objects contained in the list. They must not be destroyed or released. The returned list has to be destroyed by the caller.
o RemoveProvider
public virtual RemoveProvider( const clsid,
iProvider)
Removes a provider.
Parameters:
clsid
Provider interface name.
iProvider
The provider object.

This object is included in the file: CATIProviderManager.h
If needed, your Imakefile.mk should include the module: DataCommonProtocolExt

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.