#include <LOGVIEW.H>
Link against:
logcli.lib
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
CBase -
Base class for all classes to be instantiated on the heap.
CActive -
The core class of the active object abstraction.
CLogView - Navigates a view on the log database.
CLogViewEvent - A view on the event log.
Members
Defined in CLogViewEvent:
Inherited from CActive:
CActive(TInt)Constructs the active object with the specified priority.
Cancel()Cancels the wait for completion of an outstanding request.
Deque()Removes the active object from the active scheduler's list of active objects.
EPriorityHighA priority higher than EPriorityUserInput.
EPriorityIdleA low priority, useful for active objects representing background processing.
EPriorityLowA priority higher than EPriorityIdle but lower than EPriorityStandard.
EPriorityStandardMost active objects will have this priority.
EPriorityUserInputA priority higher than EPriorityStandard; useful for active objects handling use...
Extension_(TUint,TAny *&,TAny *)Extension function
IsActive()constDetermines whether the active object has a request outstanding.
IsAdded()constDetermines whether the active object has been added to the active scheduler's li...
Priority()constGets the priority of the active object.
RunError(TInt)Handles a leave occurring in the request completion event handler CActive::RunL(...
RunL()Handles an active object's request completion event.
SetActive()Indicates that the active object has issued a request and that it is now outstan...
SetPriority(TInt)Sets the priority of the active object.
TPriorityDefines standard priorities for active objects.
iStatusThe request status associated with an asynchronous request.
Inherited from CBase:
Inherited from CLogActive:
Inherited from CLogView:
See also:
CLogFilterSpecifies the conditions that events must satisfy to appear in a view.
CLogFilterListA set of event view filters.
Construction and destruction
IMPORT_C static CLogViewEvent* NewL(CLogClient &aClient, TInt aPriority=CActive::EPriorityStandard);
Description
Parameters
Return value
NewL(CLogClient &,MLogViewChangeObserver &,TInt)
IMPORT_C static CLogViewEvent* NewL(CLogClient &aClient, MLogViewChangeObserver &aObserver, TInt aPriority=CActive::EPriorityStandard);
Description
Parameters
Return value
IMPORT_C ~CLogViewEvent();
Description
Frees all resources owned by the object prior to its destruction. In particular, any outstanding asynchronous request is cancelled
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
Return value