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)

voidHandleLogViewChangeEventAddedL(TLogIdaId,
TIntaViewIndex,
TIntaChangeIndex,
TIntaTotalChangeCount
)[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 aIdThe id of the log event which has been added to the view.
TInt aViewIndexThe position within the view at which the event has been added.
TInt aChangeIndexIn 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 aTotalChangeCountThis is the total count of all changes which will be processed in this batch.

HandleLogViewChangeEventChangedL(TLogId, TInt, TInt, TInt)

voidHandleLogViewChangeEventChangedL(TLogIdaId,
TIntaViewIndex,
TIntaChangeIndex,
TIntaTotalChangeCount
)[pure virtual]

Handle a change corresponding to a view change

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

Parameters

TLogId aIdThe id of the log event which has changed within the view.
TInt aViewIndexThe position within the view where the change occurred.
TInt aChangeIndexIn 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 aTotalChangeCountThis is the total count of all changes which will be processed in this batch.

HandleLogViewChangeEventDeletedL(TLogId, TInt, TInt, TInt)

voidHandleLogViewChangeEventDeletedL(TLogIdaId,
TIntaViewIndex,
TIntaChangeIndex,
TIntaTotalChangeCount
)[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 aIdThe id of the log event which has been removed from the view
TInt aViewIndexThe position within the view which the event previously held.
TInt aChangeIndexIn 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 aTotalChangeCountThis is the total count of all changes which will be processed in this batch