CLogViewRecent Class Reference

#include <logview.h>

Link against: logcli.lib

class CLogViewRecent : public CLogView

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 &)
Inherited Attributes
CActive::iStatus
CLogView::iClient
CLogView::iData
CLogView::iMaintain
CLogView::iPackage
CLogView::iSpare2
CLogView::iValid
CLogView::iViewId
CLogView::iWindow
Inherited Enumerations
CActive:TPriority
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()

Detailed Description

A view on a recent event list.

Constructor & Destructor Documentation

~CLogViewRecent ( )

IMPORT_C~CLogViewRecent()

Frees resources owned by the object priot to its destruction.

Member Function Documentation

ClearDuplicatesL ( )

IMPORT_C voidClearDuplicatesL()
Capability
WriteDeviceData

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.

Parameters
aViewThe duplicates view to be refreshed.
aStatusThe request status. On request completion, contains:KErrNone, if the view has been successfully refreshed; otherwise, one of the other system wide error codes.
Return Value
ETrue, if the function has successfully issued the asynchronous request. EFalse, if there are no events in the view.
Capability
NoteNone required.

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.

Parameters
aViewThe duplicates view to be refreshed.
aFilterThe filter.
aStatusThe request status. On request completion, contains:KErrNone, if the view has been successfully refreshed; otherwise, one of the other system wide error codes.
Return Value
ETrue, if the function has successfully issued the asynchronous request. EFalse, if there are no events in the view.
Capability
NoteNone required.

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.

Parameters
aViewThe duplicates view to be refreshed.
aFilterListThe set of filters.
aStatusThe request status. On request completion, contains:KErrNone, if the view has been successfully refreshed; otherwise, one of the other system wide error codes.
Return Value
ETrue, if the function has successfully issued the asynchronous request. EFalse, if there are no events in the view.
Capability
NoteNone required.

NewL ( CLogClient &, TInt )

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

NewL ( CLogClient &, MLogViewChangeObserver &, TInt )

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

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.

Return Value
The recent event list number.

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.

Parameters
aIdThe unique event ID.
Capability
WriteDeviceData

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.

Parameters
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.
Return Value
ETrue, if the function has successfully issued the asynchronous request. EFalse, if there are no events in the view.
Capability
WriteDeviceData

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.

Parameters
aListThe recent event list specifier. A value of KLogNullRecentList indicates that the view is to include events from all of the recent event lists.
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.
Return Value
ETrue, if the function has successfully issued the asynchronous request. EFalse, if there are no events in the view.
Capability
NoteNone required.

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.

Parameters
aListThe recent event list specifier. A value of KLogNullRecentList indicates that the view is to include events from all of the recent event lists.
aFilterThe filter.
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.
Return Value
ETrue, if the function has successfully issued the asynchronous request. EFalse, if there are no events in the view.
Capability
NoteNone required.

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.

Parameters
aListThe recent event list specifier. A value of KLogNullRecentList indicates that the view is to include events from all of the recent event lists.
aFilterListThe set of filters.
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.
Return Value
ETrue, if the function has successfully issued the asynchronous request. EFalse, if there are no events in the view.
Capability
NoteNone required.