CLogView Class Reference
class CLogView : public CLogActive |
Navigates a view on the log database.
The class provides functions for navigating through a set of events and a function to retrieve the event at the current position within the view.
The class cannot be instantiated. Further classes are derived from this class to define and construct views on the log database.
The set of events in a view are always ordered so that the first event in a view is the most recent.
Constructor & Destructor Documentation
CLogView(CLogClient &, TInt)
CLogView | ( | CLogClient & | aClient, |
| TInt | aPriority = CActive::EPriorityStandard |
| ) | [protected] |
~CLogView()
Frees all resources owned by this object prior to its destruction. In particular, any outstanding asynchronous request is cancelled.
Member Functions Documentation
ConstructL(TInt, MLogViewChangeObserver *)
CountL()
Gets the number of events in the view.
DoCancel()
void | DoCancel | ( | ) | [protected, virtual] |
Implements cancellation of an outstanding request.
This function is called as part of the active object's Cancel().
It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.
DoCancel() must not wait for event completion; this is handled by Cancel().
CActive::Cancel
DoRunL()
void | DoRunL | ( | ) | [private, virtual] |
Event()
Returns details of the log event at the current position within the view.
FirstL(TRequestStatus &)
Moves the current position in the view to the first event. The first event is the most recent event.
This is an asynchronous request.
Parameters
TRequestStatus & aStatus | The request status. On request completion, contains:KErrNone, if the position in the view has been successfully moved; otherwise, one of the other system wide error codes. |
IsValid()
TBool
| IsValid | ( | ) | const [protected, inline] |
LastL(TRequestStatus &)
Moves the current position in the view to the last event. The last event is the oldest event.
This is an asynchronous request.
Parameters
TRequestStatus & aStatus | The request status. On request completion, contains:KErrNone, if the position in the view has been successfully moved; otherwise, one of the other system wide error codes. |
LogViewRecordCount()
TInt
| LogViewRecordCount | ( | ) | const [protected] |
NavigateL(TInt, TRequestStatus &)
NextL(TRequestStatus &)
Moves the current position in the view to the next event. The next event is always older than the current event, i.e. next implies movement in the first to last direction.
Parameters
TRequestStatus & aStatus | The request status. On request completion, contains:KErrNone, if the position in the view has been successfully moved; otherwise, one of the other system wide error codes. |
NotifyLogServerTerminatedL()
void | NotifyLogServerTerminatedL | ( | ) | [private] |
PrepareViewChildrenL()
void | PrepareViewChildrenL | ( | ) | [private] |
PreviousL(TRequestStatus &)
Moves the current position in the view to the previous event. The previous event is always more recent than the current event, i.e. previous implies movement in the last to first direction.
Parameters
TRequestStatus & aStatus | The request status. On request completion, contains:KErrNone, if the position in the view has been successfully moved; otherwise, one of the other system wide error codes. |
ReadEventFromWindowL()
void | ReadEventFromWindowL | ( | ) | [protected] |
ReawaitForChanges()
void | ReawaitForChanges | ( | ) | [protected] |
SetFlagsL(TLogFlags)
-
capability
- Note For built-in event types, the required capability level is defined in the event type's write access policy.
Member Data Documentation
MLogViewChangeObserver * iLogViewChangeObserver
CLogViewObserver * iLogViewObserver
CLogViewObserver * | iLogViewObserver | [private] |
CLogMaintainClientOp * iMaintain
CLogMaintainClientOp * | iMaintain | [protected] |
CLogViewWindow * iWindow
CLogViewWindow * | iWindow | [protected] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.