Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: logview.h
Link against: logcli.lib

Class CLogViewDuplicate

CLogViewDuplicate

Support

Supported from 6.0

Description

A view of events that are duplicates of an event in a view of recent events.

The view is populated through a call to CLogViewRecent::DuplicatesL().

Derivation

CActiveThe core class of the active object abstraction
CBaseBase class for all classes to be instantiated on the heap
CLogActiveCommon active object behaviour
CLogViewNavigates a view on the log database
CLogViewDuplicateA view of events that are duplicates of an event in a view of recent events

Defined in CLogViewDuplicate:
NewL(), RemoveL(), Source()

Inherited from CActive:
Cancel(), Deque(), DoCancel(), EPriorityHigh, EPriorityIdle, EPriorityLow, EPriorityStandard, EPriorityUserInput, IsActive(), IsAdded(), Priority(), RunError(), RunL(), SetActive(), SetPriority(), TPriority, iStatus

Inherited from CBase:
operator new()

Inherited from CLogView:
CountL(), Event(), FirstL(), LastL(), NextL(), PreviousL()

See also:


Construction and initialisation


NewL()

static CLogViewDuplicate* NewL(CLogClient& aClient, TInt aPriority = CActive::EPriorityStandard);

Description

Creates a new duplicate event view.

Parameters

CLogClient& aClient

The Log Engine. Gives access to the log database for which the view is constructed.

TInt aPriority = CActive::EPriorityStandard

The priority of this active object. By default, this is the standard active object priority.

Return value

CLogViewDuplicate*

A pointer to the new duplicate event view object.

[Top]


Event list handling


Source()

TLogId Source() const;

Description

Returns the unique ID of the event for which all the events in this view are duplicates.

Return value

TLogId

The unique event ID.


RemoveL()

void RemoveL(TLogId aId);

Description

Removes the event with the specified unique event ID from the view. This does not delete the event from the main event log.

Parameters

TLogId aId

The unique event ID.


RemoveL()

TBool RemoveL(TRequestStatus& aStatus);

Description

Removes the current event from the duplicate list. This is an asynchronous request.

This does not delete the event from the main event log.

The function moves the current position in the view to the first, i.e. most recent, event.

Parameters

TRequestStatus& aStatus

The request status. On request completion, contains: KErrNone, if the view has been successfully initialised or refreshed; otherwise, one of the other system wide error codes.

Return value

TBool

True, if the function has successfully issued the asynchronous request. False, if there are no events in the view.