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.
Public Member Functions | |
---|---|
TRequestStatus () | |
TRequestStatus ( TInt ) | |
TInt | Int () |
TBool | operator!= ( TInt ) |
TBool | operator< ( TInt ) |
TBool | operator<= ( TInt ) |
TInt | operator= ( TInt ) |
TBool | operator== ( TInt ) |
TBool | operator> ( TInt ) |
TBool | operator>= ( TInt ) |
Private Member Enumerations | |
---|---|
enum | anonymous { EActive = 1, ERequestPending = 2 } |
Private Attributes | |
---|---|
TUint | iFlags |
TInt | iStatus |
TRequestStatus | ( | TInt | aVal | ) | [inline] |
Constructs an asynchronous request status object and assigns a completion value to it.
TInt aVal | The completion value to be assigned to the constructed request status object. |
TBool | operator!= | ( | TInt | aVal | ) | const [inline] |
Tests whether the request status object's completion code is not equal to the specified value.
TInt aVal | The value to be compared. |
TBool | operator< | ( | TInt | aVal | ) | const [inline] |
Tests whether the request status object's completion code is less than the specified value.
TInt aVal | The value to be compared. |
TBool | operator<= | ( | TInt | aVal | ) | const [inline] |
Tests whether the request status object's completion code is less than or equal to the specified value.
TInt aVal | The value to be compared. |
TInt | operator= | ( | TInt | aVal | ) | [inline] |
Assigns the specified completion code to the request status object.
TInt aVal | The value to be assigned. |
TBool | operator== | ( | TInt | aVal | ) | const [inline] |
Tests whether the request status object's completion code is the same as the specified value.
TInt aVal | The value to be compared. |
TBool | operator> | ( | TInt | aVal | ) | const [inline] |
Tests whether the request status object's completion code is greater than the specified value.
TInt aVal | The value to be compared. |
TBool | operator>= | ( | TInt | aVal | ) | const [inline] |
Tests whether the request status object's completion code is greater than or equal to the specified value.
TInt aVal | The value to be compared. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.