CLogViewEvent Class Reference

class CLogViewEvent : public CLogView

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.

CLogFilter CLogFilterList

Public Member Functions
~CLogViewEvent ()
IMPORT_C CLogViewEvent * NewL ( CLogClient &, TInt )
IMPORT_C CLogViewEvent * NewL ( CLogClient &, MLogViewChangeObserver &, TInt )
IMPORT_C TBool SetFilterL (const CLogFilterList &, TRequestStatus &)
IMPORT_C TBool SetFilterL (const CLogFilter &, TRequestStatus &)
IMPORT_C TBool SetFilterParseFilterByFilterL (const CLogFilterList &, TRequestStatus &)
Private Member Functions
CLogViewEvent ( CLogClient &, TInt )
void ConstructL ( MLogViewChangeObserver *)
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::RunError(TInt)
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CLogActive::CLogActive(TInt)
CLogActive::Complete(TInt)
CLogActive::Queue(TRequestStatus &)
CLogActive::~CLogActive()
CLogView::CLogView(CLogClient &,TInt)
CLogView::ConstructL(TInt,MLogViewChangeObserver *)
CLogView::CountL()
CLogView::DoCancel()
CLogView::Event()const
CLogView::FirstL(TRequestStatus &)
CLogView::IsValid()const
CLogView::LastL(TRequestStatus &)
CLogView::LogViewRecordCount()const
CLogView::NextL(TRequestStatus &)
CLogView::PreviousL(TRequestStatus &)
CLogView::ReadEventFromWindowL()
CLogView::ReawaitForChanges()
CLogView::SetFlagsL(TLogFlags)
CLogView::~CLogView()
Inherited Enumerations
CActive:TPriority
Inherited Attributes
CActive::iStatus
CLogView::iClient
CLogView::iData
CLogView::iMaintain
CLogView::iPackage
CLogView::iSpare2
CLogView::iValid
CLogView::iViewId
CLogView::iWindow

Constructor & Destructor Documentation

CLogViewEvent(CLogClient &, TInt)

CLogViewEvent ( CLogClient & aClient,
TInt aPriority
) [private]

Parameters

CLogClient & aClient
TInt aPriority

~CLogViewEvent()

IMPORT_C ~CLogViewEvent ( )

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

Member Functions Documentation

ConstructL(MLogViewChangeObserver *)

void ConstructL ( MLogViewChangeObserver * aObserver = NULL ) [private]

Parameters

MLogViewChangeObserver * aObserver = NULL

NewL(CLogClient &, TInt)

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

Parameters

CLogClient & aClient
TInt aPriority = CActive::EPriorityStandard

NewL(CLogClient &, MLogViewChangeObserver &, TInt)

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

Parameters

CLogClient & aClient
MLogViewChangeObserver & aObserver
TInt aPriority = CActive::EPriorityStandard

SetFilterL(const CLogFilterList &, TRequestStatus &)

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

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

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

capability
Note None required.

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.

SetFilterL(const CLogFilter &, TRequestStatus &)

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

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

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

capability
Note None required.

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.

SetFilterParseFilterByFilterL(const CLogFilterList &, TRequestStatus &)

IMPORT_C TBool SetFilterParseFilterByFilterL ( const CLogFilterList & aFilterList,
TRequestStatus & aStatus
)
capability
Note None required.

Parameters

const CLogFilterList & aFilterList
TRequestStatus & aStatus