Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

Inherited from CActive:

Inherited from CBase:

Inherited from CLogActive:

Inherited from CLogView:

See also:


Construction and destruction


NewL(CLogClient &,TInt)

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

Description

Parameters

CLogClient &aClient

TInt aPriority

Return value

CLogViewEvent *


NewL(CLogClient &,MLogViewChangeObserver &,TInt)

IMPORT_C static 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(const CLogFilterList &,TRequestStatus &)

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(const CLogFilter &,TRequestStatus &)

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(const CLogFilterList &,TRequestStatus &)

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