| class CRemConInterfaceBase : public CBase |
Base class for outer layer APIs.
| Public Member Functions | |
|---|---|
| ~CRemConInterfaceBase() | |
| TBool | Bulk() |
| IMPORT_C TInt | Cancel() |
| TAny * | GetInterfaceIf(TUid) |
| TUid | InterfaceUid() |
| TUint | MaxLength() |
| TBool | Target(TRemConClientType) |
| TRemConClientType | Type() |
| Protected Member Functions | |
|---|---|
| CRemConInterfaceBase(TUid, TUint, CRemConInterfaceSelector &, TRemConClientType) | |
| IMPORT_C void | BaseConstructL() |
| IMPORT_C void | BaseConstructL(RRemConInterfaceFeatures &) |
| IMPORT_C void | BaseConstructL(RRemConInterfaceFeatures &, TBool) |
| IMPORT_C CRemConInterfaceSelector & | InterfaceSelector() |
| Private Attributes | |
|---|---|
| CRemConInterfaceBaseExtension * | iExtension |
| CRemConInterfaceSelector & | iInterfaceSelector |
| TUid | iInterfaceUid |
| TUint | iMaxLength |
| const TRemConClientType | iType |
| IMPORT_C | CRemConInterfaceBase | ( | TUid | aInterfaceUid, |
| TUint | aMaxLength, | |||
| CRemConInterfaceSelector & | aInterfaceSelector, | |||
| TRemConClientType | aType | |||
| ) | [protected] | |||
Constructor.
| TUid aInterfaceUid | The UID of the interface. |
| TUint aMaxLength | The maximum length of any operation-specific data in the interface being registered. |
| CRemConInterfaceSelector & aInterfaceSelector | The interface selector. |
| TRemConClientType aType |
| IMPORT_C void | BaseConstructL | ( | ) | [protected] |
Must be called by concrete types at construction time. Registers the interface with the interface selector.
| IMPORT_C void | BaseConstructL | ( | RRemConInterfaceFeatures & | aRemConInterfaceFeatures | ) | [protected] |
Must be called by concrete types at construction time. Registers the interface with the interface selector.
| RRemConInterfaceFeatures & aRemConInterfaceFeatures | Features associocated with the interface |
| IMPORT_C void | BaseConstructL | ( | RRemConInterfaceFeatures & | aRemConInterfaceFeatures, |
| TBool | aBulkInterface | |||
| ) | [protected] | |||
Must be called by concrete types at construction time. Registers the interface with the interface selector.
| RRemConInterfaceFeatures & aRemConInterfaceFeatures | Features associated with the interface |
| TBool aBulkInterface | Specifies whether this interface is a control or bulk interface Only available for use by Outer Layer interfaces. |
| TBool | Bulk | ( | ) | const |
Determine whether this is a bulk or control interface. ETrue if this interface is a bulk interface EFalse if this interface is a control interface
| IMPORT_C TInt | Cancel | ( | ) |
Cancels the currently outstanding asynchronous send request. KErrNone.
| TAny * | GetInterfaceIf | ( | TUid | aUid | ) | [pure virtual] |
Called by the interface selector to get a pointer to an object which implements the interface API with UID aUid. This is a mechanism for allowing future change to the interface API without breaking BC in existing (non-updated) interfaces.
| TUid aUid |
| IMPORT_C CRemConInterfaceSelector & | InterfaceSelector | ( | ) | [protected] |
Accessor for the interface selector. The interface selector.
| TUint | MaxLength | ( | ) | const |
Accessor for the maximum length of operation-specific data in this interface. The size in bytes of a buffer needed to hold the largest single payload of operation-associated data in this interface.
| TBool | Target | ( | TRemConClientType | aType | ) | [static] |
Determine whether this is a target or controller interface. ETrue if this interface is a target interface EFalse if this interface is a controller interface
| TRemConClientType aType |
| CRemConInterfaceBaseExtension * | iExtension | [private] |
Extension instance for RemCon Interface Base.
| const TRemConClientType | iType | [private] |
The type of the interface- controller or target.