CLogViewDuplicate Class Reference

class CLogViewDuplicate : public CLogView

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() .

CLogViewRecent::DuplicatesL() CLogViewRecent

Inherits from

Public Member Functions
~CLogViewDuplicate ()
IMPORT_C CLogViewDuplicate * NewL ( CLogClient &, TInt )
IMPORT_C CLogViewDuplicate * NewL ( CLogClient &, MLogViewChangeObserver &, TInt )
IMPORT_C void RemoveL ( TLogId )
IMPORT_C TBool RemoveL ( TRequestStatus &)
TBool SetEventL ( TLogId , TRequestStatus &)
TBool SetEventL ( TLogId , const CLogFilter &, TRequestStatus &)
TBool SetEventL ( TLogId , const CLogFilterList &, TRequestStatus &)
TLogId Source ()
Private Member Functions
CLogViewDuplicate ( CLogClient &, TInt )
void ConstructL ( MLogViewChangeObserver *)
TBool DoRemoveL ( TRequestStatus &)
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::RunError(TInt)
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CLogActive::CLogActive(TInt)
CLogActive::Complete(TInt)
CLogActive::Queue(TRequestStatus &)
CLogActive::~CLogActive()
CLogView::CLogView(CLogClient &,TInt)
CLogView::ConstructL(TInt,MLogViewChangeObserver *)
CLogView::CountL()
CLogView::DoCancel()
CLogView::Event()const
CLogView::FirstL(TRequestStatus &)
CLogView::IsValid()const
CLogView::LastL(TRequestStatus &)
CLogView::LogViewRecordCount()const
CLogView::NextL(TRequestStatus &)
CLogView::PreviousL(TRequestStatus &)
CLogView::ReadEventFromWindowL()
CLogView::ReawaitForChanges()
CLogView::SetFlagsL(TLogFlags)
CLogView::~CLogView()
Inherited Enumerations
CActive:TPriority
Private Attributes
CLogViewRemoveEventClientOp * iRemove
TLogId iSourceId
Inherited Attributes
CActive::iStatus
CLogView::iClient
CLogView::iData
CLogView::iMaintain
CLogView::iPackage
CLogView::iSpare2
CLogView::iValid
CLogView::iViewId
CLogView::iWindow

Constructor & Destructor Documentation

CLogViewDuplicate(CLogClient &, TInt)

CLogViewDuplicate ( CLogClient & aClient,
TInt aPriority
) [private]

Parameters

CLogClient & aClient
TInt aPriority

~CLogViewDuplicate()

IMPORT_C ~CLogViewDuplicate ( )

Member Functions Documentation

ConstructL(MLogViewChangeObserver *)

void ConstructL ( MLogViewChangeObserver * aObserver = NULL ) [private]

Parameters

MLogViewChangeObserver * aObserver = NULL

DoRemoveL(TRequestStatus &)

TBool DoRemoveL ( TRequestStatus & aStatus ) [private]

Parameters

TRequestStatus & aStatus

NewL(CLogClient &, TInt)

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

Parameters

CLogClient & aClient
TInt aPriority = CActive::EPriorityStandard

NewL(CLogClient &, MLogViewChangeObserver &, TInt)

IMPORT_C CLogViewDuplicate * NewL ( CLogClient & aClient,
MLogViewChangeObserver & aObserver,
TInt aPriority = CActive::EPriorityStandard
) [static]

Parameters

CLogClient & aClient
MLogViewChangeObserver & aObserver
TInt aPriority = CActive::EPriorityStandard

RemoveL(TLogId)

IMPORT_C void RemoveL ( TLogId aId )

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

capability
WriteDeviceData

Parameters

TLogId aId The unique event ID.

RemoveL(TRequestStatus &)

IMPORT_C TBool RemoveL ( TRequestStatus & aStatus )

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.

capability
WriteDeviceData

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.

SetEventL(TLogId, TRequestStatus &)

TBool SetEventL ( TLogId aId,
TRequestStatus & aStatus
)

Parameters

TLogId aId
TRequestStatus & aStatus

SetEventL(TLogId, const CLogFilter &, TRequestStatus &)

TBool SetEventL ( TLogId aId,
const CLogFilter & aFilter,
TRequestStatus & aStatus
)

Parameters

TLogId aId
const CLogFilter & aFilter
TRequestStatus & aStatus

SetEventL(TLogId, const CLogFilterList &, TRequestStatus &)

TBool SetEventL ( TLogId aId,
const CLogFilterList & aFilterList,
TRequestStatus & aStatus
)

Parameters

TLogId aId
const CLogFilterList & aFilterList
TRequestStatus & aStatus

Source()

TLogId Source ( ) const [inline]

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

Member Data Documentation

CLogViewRemoveEventClientOp * iRemove

CLogViewRemoveEventClientOp * iRemove [private]

TLogId iSourceId

TLogId iSourceId [private]