TEvent Class Reference

class TEvent : public TEventIf

Inherits from

Constructor & Destructor Documentation

TEvent(TThreadId)

TEvent(TThreadIdaThreadId)

C++ default constructor.

Parameters

TThreadId aThreadId

~TEvent()

~TEvent()

C++ destructor.

Member Functions Documentation

CompletePendingWait(TInt)

voidCompletePendingWait(TIntaError)

Complete pending wait.

Parameters

TInt aError

EventPending()

TBool EventPending()

Check event status.

Release()

voidRelease()

Release event. Completes conceivably pending unset.

RequestStatus()

const TRequestStatus *RequestStatus()const [inline]

Get TRequestStatus of the event.

Set(TEventType)

voidSet(TEventTypeaEventType)

Set event.

Parameters

TEventType aEventType

SetWaitPending(TRequestStatus *)

TInt SetWaitPending(TRequestStatus *aStatus = NULL)

First phase of waiting.

Parameters

TRequestStatus * aStatus = NULL

Unset(const RMessage2 &, CTestExecution *)

TInt Unset(const RMessage2 &aMessage,
CTestExecution *aExecution
)

Unset event. Unset blocks until Release is called (i.e. iUnsetMessage is compeled from release).

Parameters

const RMessage2 & aMessage
CTestExecution * aExecution

Wait()

voidWait()

Wait event.

WaitEventPending()

TBool WaitEventPending()

Check waiting status.

Member Data Documentation

TBool iEventPending

TBool iEventPending[private]

Flag for state event status.

CTestExecution * iExecution

CTestExecution *iExecution[private]

Execution object. Is non-NULL if unset is pending.

TBool iOwnReq

TBool iOwnReq[private]

Flag for indicating that iReq is owned by us.

TRequestStatus * iReq

TRequestStatus *iReq[private]

Request status.

TRequestStatus iRequestStatus

TRequestStatus iRequestStatus[private]

TThreadId iThread

TThreadId iThread[private]

Thread id.

RMessage2 iUnsetMessage

RMessage2 iUnsetMessage[private]

Unset message.