CRemConInterfaceBase Class Reference

class CRemConInterfaceBase : public CBase

Base class for outer layer APIs.

Inherits from

Constructor & Destructor Documentation

CRemConInterfaceBase(TUid, TUint, CRemConInterfaceSelector &, TRemConClientType)

IMPORT_C CRemConInterfaceBase ( TUid aInterfaceUid,
TUint aMaxLength,
CRemConInterfaceSelector & aInterfaceSelector,
TRemConClientType aType
) [protected]

Constructor.

Parameters

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

~CRemConInterfaceBase()

IMPORT_C ~CRemConInterfaceBase ( )

Destructor

Member Functions Documentation

BaseConstructL()

IMPORT_C void BaseConstructL ( ) [protected]

Must be called by concrete types at construction time. Registers the interface with the interface selector.

BaseConstructL(RRemConInterfaceFeatures &)

IMPORT_C void BaseConstructL ( RRemConInterfaceFeatures & aRemConInterfaceFeatures ) [protected]

Must be called by concrete types at construction time. Registers the interface with the interface selector.

Parameters

RRemConInterfaceFeatures & aRemConInterfaceFeatures Features associocated with the interface

BaseConstructL(RRemConInterfaceFeatures &, TBool)

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

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.

Bulk()

TBool Bulk ( ) const

Determine whether this is a bulk or control interface.

Cancel()

IMPORT_C TInt Cancel ( )

Cancels the currently outstanding asynchronous send request.

GetInterfaceIf(TUid)

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.

Parameters

TUid aUid

InterfaceSelector()

IMPORT_C CRemConInterfaceSelector & InterfaceSelector ( ) [protected]

Accessor for the interface selector.

InterfaceUid()

TUid InterfaceUid ( ) const

Accessor for the interface's UID.

MaxLength()

TUint MaxLength ( ) const

Accessor for the maximum length of operation-specific data in this interface.

Target(TRemConClientType)

TBool Target ( TRemConClientType aType ) [static]

Determine whether this is a target or controller interface.

Parameters

TRemConClientType aType

Type()

TRemConClientType Type ( ) const

Accessor for the type of the interface.

Member Data Documentation

CRemConInterfaceBaseExtension * iExtension

CRemConInterfaceBaseExtension * iExtension [private]

Extension instance for RemCon Interface Base.

CRemConInterfaceSelector & iInterfaceSelector

CRemConInterfaceSelector & iInterfaceSelector [private]

TUid iInterfaceUid

TUid iInterfaceUid [private]

The UID of the concrete (derived) interface.

TUint iMaxLength

TUint iMaxLength [private]

Max length of operation-specific data in this interface.

const TRemConClientType iType

const TRemConClientType iType [private]

The type of the interface- controller or target.