Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: e32std.h
Link against: Not applicable.

Class TRequestStatus

TRequestStatus

Support

Supported from 5.0

Description

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.

Defined in TRequestStatus:
Int(), TRequestStatus(), operator!=(), operator<(), operator<=(), operator=(), operator==(), operator>(), operator>=()

See also:


Construction and destruction


TRequestStatus()

TRequestStatus();
TRequestStatus(TInt aVal);

Description

Constructs an asynchronous request status object.

Parameters

TInt aVal

If specified, the completion value to be assigned to the constructed request status object.


operator=()

TInt operator=(TInt aVal);

Description

Assigns the specified completion code to the request status object.

Parameters

TInt aVal

The value to be assigned.

Return value

TInt

The value assigned.

[Top]


Comparison operators


operator==()

TInt operator==(TInt aVal) const;

Description

Compares the request status object’s completion code with the specified value for equality

Parameters

TInt aVal

The value to be compared.

Return value

TInt

True, if the values are equal; false otherwise.


operator!=()

TInt operator!=(TInt aVal) const;

Description

Compares the request status object’s completion code with the specified value for equality

Parameters

TInt aVal

The value to be compared.

Return value

TInt

True, if the values are unequal; false otherwise.


operator>=()

TInt operator>=(TInt aVal) const;

Description

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

Parameters

TInt aVal

The value to be compared.

Return value

TInt

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


operator<=()

TInt operator<=(TInt aVal) const;

Description

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

Parameters

TInt aVal

The value to be compared.

Return value

TInt

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


operator>()

TInt operator>(TInt aVal) const;

Description

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

Parameters

TInt aVal

The value to be compared.

Return value

TInt

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


operator<()

TInt operator<(TInt aVal) const;

Description

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

Parameters

TInt aVal

The value to be compared.

Return value

TInt

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


Int()

TInt Int() const;

Description

Returns this request status object’s completion code value.

Return value

TInt

The completion code.