TRequestStatus Class Reference

class TRequestStatus

Indicates the completion status of a request made to a service provider.

When a thread makes a request, it passes a request status as a parameter. On completion, the provider signals the requesting thread's request semaphore and stores a completion code in the request status. Typically, this is KErrNone or one of the other system-wide error codes.

This class is not intended for user derivation.

Constructor & Destructor Documentation

TRequestStatus()

TRequestStatus()[inline]

Default constructor.

TRequestStatus(TInt)

TRequestStatus(TIntaVal)[inline]

Constructs an asynchronous request status object and assigns a completion value to it.

Parameters

TInt aValThe completion value to be assigned to the constructed request status object.

Member Functions Documentation

Int()

TInt Int()const [inline]

Gets this request status object's completion code value.

The completion code.

operator!=(TInt)

TBool operator!=(TIntaVal)const [inline]

Tests whether the request status object's completion code is not equal to the specified value.

True, if the values are unequal; false otherwise.

Parameters

TInt aValThe value to be compared.

operator<(TInt)

TBool operator<(TIntaVal)const [inline]

Tests whether the request status object's completion code is less than the specified value.

True, if the request status object's value is less than the specified value; false, otherwise.

Parameters

TInt aValThe value to be compared.

operator<=(TInt)

TBool operator<=(TIntaVal)const [inline]

Tests whether the request status object's completion code is less than or equal to the specified value.

True, if the request status object's value is less than or equal to the specified value; false, otherwise.

Parameters

TInt aValThe value to be compared.

operator=(TInt)

TInt operator=(TIntaVal)[inline]

Assigns the specified completion code to the request status object.

The value assigned.

Parameters

TInt aValThe value to be assigned.

operator==(TInt)

TBool operator==(TIntaVal)const [inline]

Tests whether the request status object's completion code is the same as the specified value.

True, if the values are equal; false otherwise.

Parameters

TInt aValThe value to be compared.

operator>(TInt)

TBool operator>(TIntaVal)const [inline]

Tests whether the request status object's completion code is greater than the specified value.

True, if the request status object's value is greater than the specified value; false, otherwise.

Parameters

TInt aValThe value to be compared.

operator>=(TInt)

TBool operator>=(TIntaVal)const [inline]

Tests whether the request status object's completion code is greater than or equal to the specified value.

True, if the request status object's value is greater than or equal to the specified value; false, otherwise.

Parameters

TInt aValThe value to be compared.

Member Enumerations Documentation

Enum anonymous

Enumerators

EActive = 1
ERequestPending = 2

Member Data Documentation

TUint iFlags

TUint iFlags[private]

TInt iStatus

TInt iStatus[private]