CResolver Class Reference
#include
<ecom/resolver.h>
class CResolver : public CBase |
Detailed Description
Abstract base class which is used to identify the correct interface implementation based on criteria supplied by the client. This base class can be used to write a client specific resolver, however this is not required as a default implementation is provided within ECom.
Member Attribute Documentation
iRegistry
A reference to the instantiated registry information
Constructor & Destructor Documentation
CResolver ( MPublicRegistry & )
Intended Usage : Standardized default c'tor Error Condition : None
- Since
- 7.0
- Post-condition
- CResolver is fully constructed
Member Function Documentation
IdentifyImplementationL ( TUid, const TEComResolverParams & )
Intended Usage : Request that the resolver identify the most appropriate interface implementation. Error Condition : Depends on implementation.
- Since
- 7.0
- Pre-condition
- This object is fully constructed.
Parameter | Description | aInterfaceUid | The interface for which an implementation is requested |
aAdditionalParameters | The parameters which must match for an implementation to be suitable |
Returns: The unique Id of the implementation which satisfies the specified parameters.
ListAllL ( TUid, const TEComResolverParams & )
Intended Usage : List all the implementations which satisfy the specified interface definition and the resolve parameters supplied. Error Condition : Depends on implementation.
- Since
- 7.0
- Pre-condition
- Object is fully constructed and initialized
- Post-condition
- Registry contents are not modified but registry keys may be updated
Parameter | Description | aInterfaceUid | The interface for which implementations are requested |
aAdditionalParameters | The parameters which must match for an implementation to be suitable |
Returns: Pointer to an array of suitable implementations. Ownership of this array is passed to the calling function.
ListAllL ( TUid )
Intended Usage : List all the implementations which satisfy the specified interface. Error Condition :
See also: CRegistryData::ListImplementationsL
- Since
- 7.0
- Pre-condition
- Object is fully constructed and initialized
- Post-condition
- Registry contents are not modified but registry keys may be updated
Parameter | Description | aInterfaceUid | The interface for which implementations are requested |
Returns: Array of suitable implementations