CImDataCache Class Reference

class CImDataCache : public CBase

PSC Im Data Cache implementation.

Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CImDataCache(MXIMPHost &)

CImDataCache ( MXIMPHost & aHost ) [private]

Parameters

MXIMPHost & aHost

~CImDataCache()

~CImDataCache ( ) [virtual]

Destruction

Member Functions Documentation

AddEventL(CXIMPApiEventBase &, MXIMPPscContext *)

void AddEventL ( CXIMPApiEventBase & aEvent,
MXIMPPscContext * aContext
) [private]

Parameters

CXIMPApiEventBase & aEvent
MXIMPPscContext * aContext

CleanExpired()

IMPORT_C void CleanExpired ( )

CleanResources(MXIMPPscContext &)

IMPORT_C void CleanResources ( MXIMPPscContext & aContext )

Clean resources concerning context.

Parameters

MXIMPPscContext & aContext

ConstructL()

void ConstructL ( ) [private]

ConversationSubscriptionItemLC()

IMPORT_C CConversationSubscriptionItem & ConversationSubscriptionItemLC ( )

GetInterface(TInt)

TAny * GetInterface ( TInt aInterfaceId ) [private]

Parameters

TInt aInterfaceId

ItemLC(Type *&)

Type & ItemLC ( Type *& aItem ) [private]

Templated item instance creation. If item is not found it is created.

Parameters

Type *& aItem Reference to pointer where new item should be saved.

NewL(MXIMPHost &)

IMPORT_C CImDataCache * NewL ( MXIMPHost & aHost ) [static]

Construction

Parameters

MXIMPHost & aHost

RegisterExpiringItemL(CXIMPSubscriptionItemBase *)

void RegisterExpiringItemL ( CXIMPSubscriptionItemBase * aExpireItem ) [private]

Parameters

CXIMPSubscriptionItemBase * aExpireItem

RemoveMe(CConversationSubscriptionItem *)

void RemoveMe ( CConversationSubscriptionItem * aChild ) [private]

RemoveMe(Type *&, Type *)

IMPORT_C void RemoveMe ( Type *& aItem,
Type * aChild
) [private, static]

Template method for removeMe when one subscription item is target.

Parameters

Type *& aItem Reference to subscription item pointer to remove.
Type * aChild

UnregisterExpiringItem(CXIMPSubscriptionItemBase *)

void UnregisterExpiringItem ( CXIMPSubscriptionItemBase * aExpireItem ) [private]

Parameters

CXIMPSubscriptionItemBase * aExpireItem

Member Data Documentation

CConversationSubscriptionItem * iConversationSubscriptionItem

CConversationSubscriptionItem * iConversationSubscriptionItem [private]

Does not own. Removed when RemoveMe called.

MXIMPHost & iHost

MXIMPHost & iHost [private]

Access to host.