Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: LOGVIEW.H
Link against: logcli.lib

Class CLogViewEvent

class CLogViewEvent : public CLogView;

Description

A view on the event log.

The events included in the view are defined using a filter that specifies the constraints that all events in the view must satisfy. Filters are specified using one or more CLogFilter objects.

Derivation

Members

Defined in CLogViewEvent:
NewL(), NewL(), SetFilterL(), SetFilterL(), SetFilterParseFilterByFilterL(), ~CLogViewEvent()

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

Inherited from CBase:
Delete(), operator new()

Inherited from CLogActive:
Complete(), DoComplete(), Queue(), RunL()

Inherited from CLogView:
CountL(), DoCancel(), DoRunL(), Event(), FirstL(), IsValid(), LastL(), NextL(), PreviousL(), SetFlagsL(), iClient, iData, iMaintain, iPackage, iSpare2, iValid, iViewId, iWindow

See also:


Construction and destruction


NewL()

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

Description

Parameters

CLogClient &aClient

TInt aPriority

Return value

CLogViewEvent *


NewL()

static IMPORT_C CLogViewEvent *NewL(CLogClient &aClient, MLogViewChangeObserver &aObserver, TInt aPriority=CActive::EPriorityStandard);

Description

Parameters

CLogClient &aClient

MLogViewChangeObserver &aObserver

TInt aPriority

Return value

CLogViewEvent *


~CLogViewEvent()

IMPORT_C ~CLogViewEvent();

Description

Frees all resources owned by the object prior to its destruction. In particular, any outstanding asynchronous request is cancelled

[Top]


Member functions


SetFilterL()

Capability: Security policy note: None required.

IMPORT_C TBool SetFilterL(const CLogFilterList &aFilterList, TRequestStatus &aStatus);

Description

Initialises or refreshes the event view defined by the set of specified filters.

The view can only be used after the request completes successfully.

Parameters

const CLogFilterList &aFilterList

The set of filters.

TRequestStatus &aStatus

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

Return value

TBool

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


SetFilterL()

Capability: Security policy note: None required.

IMPORT_C TBool SetFilterL(const CLogFilter &aFilter, TRequestStatus &aStatus);

Description

Initialises or refreshes the event view defined by the specified filter.

The view can only be used after the request completes successfully.

Parameters

const CLogFilter &aFilter

The filter.

TRequestStatus &aStatus

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

Return value

TBool

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


SetFilterParseFilterByFilterL()

Capability: Security policy note: None required.

IMPORT_C TBool SetFilterParseFilterByFilterL(const CLogFilterList &aFilterList, TRequestStatus &aStatus);

Description

Parameters

const CLogFilterList &aFilterList

TRequestStatus &aStatus

Return value

TBool