#include <remcon/remconinterfacebase.h>
Link against: remconinterfacebase.lib
| class CRemConInterfaceBase : public CBase |
| Public Member Functions | |
|---|---|
| ~CRemConInterfaceBase() | |
| TBool | Bulk() |
| IMPORT_C TInt | Cancel() |
| pure virtual 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() |
Base class for outer layer APIs.
| IMPORT_C | CRemConInterfaceBase | ( | TUid | aInterfaceUid, |
| TUint | aMaxLength, | |||
| CRemConInterfaceSelector & | aInterfaceSelector, | |||
| TRemConClientType | aType | |||
| ) | [protected] | |||
Constructor.
| Parameters | |
|---|---|
| aInterfaceUid | The UID of the interface. |
| aMaxLength | The maximum length of any operation-specific data in the interface being registered. |
| aInterfaceSelector | The interface selector. |
| 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.
| Parameters | |
|---|---|
| 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.
| Parameters | |
|---|---|
| aRemConInterfaceFeatures | Features associated with the interface |
| 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.
| IMPORT_C TInt | Cancel | ( | ) |
Cancels the currently outstanding asynchronous send request.
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.
| IMPORT_C CRemConInterfaceSelector & | InterfaceSelector | ( | ) | [protected] |
Accessor for the interface selector.
| TUint | MaxLength | ( | ) | const |
Accessor for the maximum length of operation-specific data in this interface.
| TBool | Target | ( | TRemConClientType | aType | ) | [static] |
Determine whether this is a target or controller interface.
| TRemConClientType | Type | ( | ) | const |
Accessor for the type of the interface.