class CResolver : public CBase |
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.
Public Member Functions | |
---|---|
TUid | IdentifyImplementationL(TUid, const TEComResolverParams &) |
RImplInfoArray * | ListAllL(TUid, const TEComResolverParams &) |
RImplInfoArray & | ListAllL(TUid) |
Protected Member Functions | |
---|---|
CResolver(MPublicRegistry &) |
Protected Attributes | |
---|---|
const MPublicRegistry & | iRegistry |
CResolver | ( | MPublicRegistry & | aRegistry | ) | [protected, inline, explicit] |
Intended Usage : Standardized default c'tor Error Condition : None 7.0
CResolver is fully constructed
MPublicRegistry & aRegistry |
TUid | IdentifyImplementationL | ( | TUid | aInterfaceUid, |
const TEComResolverParams & | aAdditionalParameters | |||
) | const [pure virtual] |
Intended Usage : Request that the resolver identify the most appropriate interface implementation. Error Condition : Depends on implementation. 7.0
The unique Id of the implementation which satisfies the specified parameters.
This object is fully constructed.
TUid aInterfaceUid | The interface for which an implementation is requested |
const TEComResolverParams & aAdditionalParameters | The parameters which must match for an implementation to be suitable |
RImplInfoArray * | ListAllL | ( | TUid | aInterfaceUid, |
const TEComResolverParams & | aAdditionalParameters | |||
) | const [pure virtual] |
Intended Usage : List all the implementations which satisfy the specified interface definition and the resolve parameters supplied. Error Condition : Depends on implementation. 7.0
Pointer to an array of suitable implementations. Ownership of this array is passed to the calling function.
Object is fully constructed and initialized
Registry contents are not modified but registry keys may be updated
TUid aInterfaceUid | The interface for which implementations are requested |
const TEComResolverParams & aAdditionalParameters | The parameters which must match for an implementation to be suitable |
RImplInfoArray & | ListAllL | ( | TUid | aInterfaceUid | ) | const [inline] |
Intended Usage : List all the implementations which satisfy the specified interface. Error Condition : CRegistryData::ListImplementationsL
7.0
Array of suitable implementations
Object is fully constructed and initialized
Registry contents are not modified but registry keys may be updated
TUid aInterfaceUid | The interface for which implementations are requested |
const MPublicRegistry & | iRegistry | [protected] |
A reference to the instantiated registry information