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.
Public Member Functions | |
---|---|
~CLogView() | |
IMPORT_C TInt | CountL() |
const CLogEvent & | Event() |
IMPORT_C TBool | FirstL(TRequestStatus &) |
IMPORT_C TBool | LastL(TRequestStatus &) |
IMPORT_C TBool | NextL(TRequestStatus &) |
IMPORT_C TBool | PreviousL(TRequestStatus &) |
IMPORT_C void | SetFlagsL(TLogFlags) |
Protected Member Functions | |
---|---|
CLogView(CLogClient &, TInt) | |
void | ConstructL(TInt, MLogViewChangeObserver *) |
void | DoCancel() |
TBool | IsValid() |
TInt | LogViewRecordCount() |
void | ReadEventFromWindowL() |
void | ReawaitForChanges() |
Private Member Functions | |
---|---|
void | DoRunL() |
TBool | NavigateL(TInt, TRequestStatus &) |
void | NotifyLogServerTerminatedL() |
void | PrepareViewChildrenL() |
Inherited Enumerations | |
---|---|
CActive:TPriority |
Protected Attributes | |
---|---|
CLogClient & | iClient |
TDes8 * | iData |
CLogMaintainClientOp * | iMaintain |
CLogPackage * | iPackage |
TAny * | iSpare2 |
TBool | iValid |
TLogViewId | iViewId |
CLogViewWindow * | iWindow |
Private Attributes | |
---|---|
CLogEvent * | iEvent |
MLogViewChangeObserver * | iLogViewChangeObserver |
CLogViewObserver * | iLogViewObserver |
TAny * | iSpare1 |
TInt | iType |
Inherited Attributes | |
---|---|
CActive::iStatus |
CLogView | ( | CLogClient & | aClient, |
TInt | aPriority = CActive::EPriorityStandard | ||
) | [protected] |
CLogClient & aClient | |
TInt aPriority = CActive::EPriorityStandard |
void | ConstructL | ( | TInt | aType, |
MLogViewChangeObserver * | aObserver = NULL | |||
) | [protected] |
TInt aType | |
MLogViewChangeObserver * aObserver = NULL |
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().
const CLogEvent & | Event | ( | ) | const [inline] |
Returns details of the log event at the current position within the view.
A reference to the log event details object. If a view does not contain any events, then the content of this object is undefined.
IMPORT_C TBool | FirstL | ( | TRequestStatus & | aStatus | ) |
TRequestStatus & aStatus |
IMPORT_C TBool | LastL | ( | TRequestStatus & | aStatus | ) |
TRequestStatus & aStatus |
TBool | NavigateL | ( | TInt | aPosition, |
TRequestStatus & | aStatus | |||
) | [private] |
TInt aPosition | |
TRequestStatus & aStatus |
IMPORT_C TBool | NextL | ( | TRequestStatus & | aStatus | ) |
TRequestStatus & aStatus |
IMPORT_C TBool | PreviousL | ( | TRequestStatus & | aStatus | ) |
TRequestStatus & aStatus |
MLogViewChangeObserver * | iLogViewChangeObserver | [private] |