MLogViewChangeObserver Class Reference

class MLogViewChangeObserver

This class allows a client of the log engine to observe specific change events within a given view.

Member Functions Documentation

HandleLogViewChangeEventAddedL(TLogId, TInt, TInt, TInt)

void HandleLogViewChangeEventAddedL ( TLogId aId,
TInt aViewIndex,
TInt aChangeIndex,
TInt aTotalChangeCount
) [pure virtual]

Handle a change corresponding to a view addition

This method is called when a log event is added to a view. The event maybe recently added, or have existed for some time but only now meet the criteria of this view (i.e satisfy the filter) due to some other change.

Parameters

TLogId aId The id of the log event which has been added to the view.
TInt aViewIndex The position within the view at which the event has been added.
TInt aChangeIndex In a series of changes, this is the index of the currently processing change. The change index will be greater than (or equal to) 0, and less than the total change count.
TInt aTotalChangeCount This is the total count of all changes which will be processed in this batch.

HandleLogViewChangeEventChangedL(TLogId, TInt, TInt, TInt)

void HandleLogViewChangeEventChangedL ( TLogId aId,
TInt aViewIndex,
TInt aChangeIndex,
TInt aTotalChangeCount
) [pure virtual]

Handle a change corresponding to a view change

This method is called when a log event changes within a view.

Parameters

TLogId aId The id of the log event which has changed within the view.
TInt aViewIndex The position within the view where the change occurred.
TInt aChangeIndex In a series of changes, this is the index of the currently processing change. The change index will be greater than (or equal to) 0, and less than the total change count.
TInt aTotalChangeCount This is the total count of all changes which will be processed in this batch.

HandleLogViewChangeEventDeletedL(TLogId, TInt, TInt, TInt)

void HandleLogViewChangeEventDeletedL ( TLogId aId,
TInt aViewIndex,
TInt aChangeIndex,
TInt aTotalChangeCount
) [pure virtual]

Handle a change corresponding to a view deletion

This method is called when a log event is removed from a view.

Parameters

TLogId aId The id of the log event which has been removed from the view
TInt aViewIndex The position within the view which the event previously held.
TInt aChangeIndex In a series of changes, this is the index of the currently processing change. The change index will be greater than (or equal to) 0, and less than the total change count.
TInt aTotalChangeCount This is the total count of all changes which will be processed in this batch