CLogViewRecent Class Reference

class CLogViewRecent : public CLogView

A view on a recent event list.

Inherits from

Public Member Functions
~CLogViewRecent()
IMPORT_C voidClearDuplicatesL()
IMPORT_C TBoolDuplicatesL(CLogViewDuplicate &, TRequestStatus &)
IMPORT_C TBoolDuplicatesL(CLogViewDuplicate &, const CLogFilter &, TRequestStatus &)
IMPORT_C TBoolDuplicatesL(CLogViewDuplicate &, const CLogFilterList &, TRequestStatus &)
IMPORT_C CLogViewRecent *NewL(CLogClient &, TInt)
IMPORT_C CLogViewRecent *NewL(CLogClient &, MLogViewChangeObserver &, TInt)
TLogRecentList RecentList()
IMPORT_C voidRemoveL(TLogId)
IMPORT_C TBoolRemoveL(TRequestStatus &)
IMPORT_C TBoolSetRecentListL(TLogRecentList, TRequestStatus &)
IMPORT_C TBoolSetRecentListL(TLogRecentList, const CLogFilter &, TRequestStatus &)
IMPORT_C TBoolSetRecentListL(TLogRecentList, const CLogFilterList &, TRequestStatus &)
Private Member Functions
CLogViewRecent(CLogClient &, TInt)
voidConstructL(MLogViewChangeObserver *)
TBool DoRemoveL(TRequestStatus &)
voidDoRunL()
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
TLogRecentList iCurrentList
TPckgBuf< TLogRecentList >iCurrentListBuf
TLogRecentList iRecentList
CLogViewRemoveEventClientOp *iRemove
Inherited Attributes
CActive::iStatus
CLogView::iClient
CLogView::iData
CLogView::iMaintain
CLogView::iPackage
CLogView::iSpare2
CLogView::iValid
CLogView::iViewId
CLogView::iWindow

Constructor & Destructor Documentation

CLogViewRecent(CLogClient &, TInt)

CLogViewRecent(CLogClient &aClient,
TIntaPriority
)[private]

Parameters

CLogClient & aClient
TInt aPriority

~CLogViewRecent()

IMPORT_C~CLogViewRecent()

Frees resources owned by the object priot to its destruction.

Member Functions Documentation

ClearDuplicatesL()

IMPORT_C voidClearDuplicatesL()
capability
WriteDeviceData

ConstructL(MLogViewChangeObserver *)

voidConstructL(MLogViewChangeObserver *aObserver = NULL)[private]

Parameters

MLogViewChangeObserver * aObserver = NULL

DoRemoveL(TRequestStatus &)

TBool DoRemoveL(TRequestStatus &aStatus)[private]

Parameters

TRequestStatus & aStatus

DoRunL()

voidDoRunL()[private, virtual]

DuplicatesL(CLogViewDuplicate &, TRequestStatus &)

IMPORT_C TBoolDuplicatesL(CLogViewDuplicate &aView,
TRequestStatus &aStatus
)

Refreshes the specified duplicate event view with the duplicates of the current event in the recent event list view. This is an asynchronous request.

On successful completion, the view is positioned at the first, i.e. most recent, event within the view.

capability
Note None required.

Parameters

CLogViewDuplicate & aViewThe duplicates view to be refreshed.
TRequestStatus & aStatusThe request status. On request completion, contains:KErrNone, if the view has been successfully refreshed; otherwise, one of the other system wide error codes.

DuplicatesL(CLogViewDuplicate &, const CLogFilter &, TRequestStatus &)

IMPORT_C TBoolDuplicatesL(CLogViewDuplicate &aView,
const CLogFilter &aFilter,
TRequestStatus &aStatus
)

Refreshes the specified duplicate event view with the duplicates of the current event in the recent event list view and conforming to the specified filter. This is an asynchronous request.

On successful completion, the view is positioned at the first, i.e. most recent, event within the view.

capability
Note None required.

Parameters

CLogViewDuplicate & aViewThe duplicates view to be refreshed.
const CLogFilter & aFilterThe filter.
TRequestStatus & aStatusThe request status. On request completion, contains:KErrNone, if the view has been successfully refreshed; otherwise, one of the other system wide error codes.

DuplicatesL(CLogViewDuplicate &, const CLogFilterList &, TRequestStatus &)

IMPORT_C TBoolDuplicatesL(CLogViewDuplicate &aView,
const CLogFilterList &aFilterList,
TRequestStatus &aStatus
)

Refreshes the specified duplicate event view with the duplicates of the current event in the recent event list view and conforming to the set of specified filters. This is an asynchronous request.

On successful completion, the view is positioned at the first, i.e. most recent, event within the view.

capability
Note None required.

Parameters

CLogViewDuplicate & aViewThe duplicates view to be refreshed.
const CLogFilterList & aFilterListThe set of filters.
TRequestStatus & aStatusThe request status. On request completion, contains:KErrNone, if the view has been successfully refreshed; otherwise, one of the other system wide error codes.

NewL(CLogClient &, TInt)

IMPORT_C CLogViewRecent *NewL(CLogClient &aClient,
TIntaPriority = CActive::EPriorityStandard
)[static]

Parameters

CLogClient & aClient
TInt aPriority = CActive::EPriorityStandard

NewL(CLogClient &, MLogViewChangeObserver &, TInt)

IMPORT_C CLogViewRecent *NewL(CLogClient &aClient,
MLogViewChangeObserver &aObserver,
TIntaPriority = CActive::EPriorityStandard
)[static]

Parameters

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

RecentList()

TLogRecentList RecentList()const [inline]

Gets the recent event list number that identifies the recent event list to which the current entry belongs. This is an asynchronous request.

Note that this function is only useful if KLogNullRecentList is passed to the SetRecentListL() functions.

RemoveL(TLogId)

IMPORT_C voidRemoveL(TLogIdaId)

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 aIdThe unique event ID.

RemoveL(TRequestStatus &)

IMPORT_C TBoolRemoveL(TRequestStatus &aStatus)

Removes the current event from its recent event 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.

Note that removing a recent event from a recent event list also removes all of its duplicates.

capability
WriteDeviceData

Parameters

TRequestStatus & aStatusThe 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.

SetRecentListL(TLogRecentList, TRequestStatus &)

IMPORT_C TBoolSetRecentListL(TLogRecentListaList,
TRequestStatus &aStatus
)

Initialises or refreshes the view for the specified recent event list. This is an asynchronous request.

On successful completion, the view is positioned at the first, i.e. most recent, event within the recent event list.

capability
Note None required.

Parameters

TLogRecentList aListThe recent event list specifier. A value of KLogNullRecentList indicates that the view is to include events from all of the recent event lists.
TRequestStatus & aStatusThe 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.

SetRecentListL(TLogRecentList, const CLogFilter &, TRequestStatus &)

IMPORT_C TBoolSetRecentListL(TLogRecentListaList,
const CLogFilter &aFilter,
TRequestStatus &aStatus
)

Initialises or refreshes the view for the specified recent event list, conforming to the specified filter. This is an asynchronous request.

On successful completion, the view is positioned at the first, i.e. most recent, event in the recent event list.

capability
Note None required.

Parameters

TLogRecentList aListThe recent event list specifier. A value of KLogNullRecentList indicates that the view is to include events from all of the recent event lists.
const CLogFilter & aFilterThe filter.
TRequestStatus & aStatusThe 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.

SetRecentListL(TLogRecentList, const CLogFilterList &, TRequestStatus &)

IMPORT_C TBoolSetRecentListL(TLogRecentListaList,
const CLogFilterList &aFilterList,
TRequestStatus &aStatus
)

Initialises or refreshes the view for the specified recent event list, conforming to the set of specified filters. This is an asynchronous request.

On successful completion, the view is positioned at the first, i.e. most recent, event in the recent event list.

capability
Note None required.

Parameters

TLogRecentList aListThe recent event list specifier. A value of KLogNullRecentList indicates that the view is to include events from all of the recent event lists.
const CLogFilterList & aFilterListThe set of filters.
TRequestStatus & aStatusThe 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.

Member Data Documentation

TLogRecentList iCurrentList

TLogRecentList iCurrentList[private]

TPckgBuf< TLogRecentList > iCurrentListBuf

TPckgBuf< TLogRecentList >iCurrentListBuf[private]

TLogRecentList iRecentList

TLogRecentList iRecentList[private]

CLogViewRemoveEventClientOp * iRemove

CLogViewRemoveEventClientOp *iRemove[private]