CContextSnapshotItem Class Reference

class CContextSnapshotItem : public CBase

A simple storage class used to store queued context observers and their objects.

Inherits from

Constructor & Destructor Documentation

CContextSnapshotItem()

CContextSnapshotItem ( ) [private, inline]

Default constructor

~CContextSnapshotItem()

~CContextSnapshotItem ( ) [inline, virtual]

Destructor

Member Functions Documentation

GetItem()

CHarvesterData * GetItem ( ) [inline]

Gets item pointer for this item

GetItemArray()

RPointerArray < CHarvesterData > * GetItemArray ( ) [inline]

Gets item array pointer for this item

GetObserver()

MContextSnapshotObserver * GetObserver ( ) [inline]

Gets observer from this item

NewL(MContextSnapshotObserver *, CHarvesterData *)

CContextSnapshotItem * NewL ( MContextSnapshotObserver * aObserver,
CHarvesterData * aHD
) [static, inline]

NewL for creating new initialized CContextSnapshotItem .

Parameters

MContextSnapshotObserver * aObserver
CHarvesterData * aHD

NewL(MContextSnapshotObserver *, RPointerArray< CHarvesterData > *)

CContextSnapshotItem * NewL ( MContextSnapshotObserver * aObserver,
RPointerArray < CHarvesterData > * aObjects
) [static, inline]

NewL for creating new initialized CContextSnapshotItem for multiple items.

Parameters

MContextSnapshotObserver * aObserver
RPointerArray < CHarvesterData > * aObjects

SetItem(CHarvesterData *)

void SetItem ( CHarvesterData * aHD ) [inline]

Sets item pointer for this item

Parameters

CHarvesterData * aHD

SetItemArray(RPointerArray< CHarvesterData > *)

void SetItemArray ( RPointerArray < CHarvesterData > * aObjects ) [inline]

Sets item array pointer for this item

Parameters

RPointerArray < CHarvesterData > * aObjects

SetObserver(MContextSnapshotObserver *)

void SetObserver ( MContextSnapshotObserver * aObserver ) [inline]

Sets observer for this item

Parameters

MContextSnapshotObserver * aObserver

Member Data Documentation

CHarvesterData * iHD

CHarvesterData * iHD [private]

RPointerArray< CHarvesterData > * iHDArray

RPointerArray < CHarvesterData > * iHDArray [private]

MContextSnapshotObserver * iObserver

MContextSnapshotObserver * iObserver [private]