Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
TRequestStatus Class Reference

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

#include <e32cmn.h>

Public Member Functions

 TRequestStatus ()
 Default constructor.
 
 TRequestStatus (TInt aVal)
 Constructs an asynchronous request status object and assigns a completion value to it.
 
TInt operator= (TInt aVal)
 Assigns the specified completion code to the request status object.
 
TBool operator== (TInt aVal) const
 Tests whether the request status object's completion code is the same as the specified value.
 
TBool operator!= (TInt aVal) const
 Tests whether the request status object's completion code is not equal to the specified value.
 
TBool operator>= (TInt aVal) const
 Tests whether the request status object's completion code is greater than or equal to the specified value.
 
TBool operator<= (TInt aVal) const
 Tests whether the request status object's completion code is less than or equal to the specified value.
 
TBool operator> (TInt aVal) const
 Tests whether the request status object's completion code is greater than the specified value.
 
TBool operator< (TInt aVal) const
 Tests whether the request status object's completion code is less than the specified value.
 
TInt Int () const
 Gets this request status object's completion code value.
 

Friends

class CActive
 
class CActiveScheduler
 
class CServer2
 

Detailed 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.

API status
Published to all clients. Released API.

Definition at line 2242 of file e32cmn.h.

Constructor & Destructor Documentation

◆ TRequestStatus() [1/2]

TRequestStatus::TRequestStatus ( )
inline

Default constructor.

(generated from Symbian Developer Library)

◆ TRequestStatus() [2/2]

TRequestStatus::TRequestStatus ( TInt  aVal)
inline

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

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

(generated from Symbian Developer Library)

Member Function Documentation

◆ Int()

TInt TRequestStatus::Int ( ) const
inline

Gets this request status object's completion code value.

(generated from Symbian Developer Library)

◆ operator!=()

TBool TRequestStatus::operator!= ( TInt  aVal) const
inline

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

Parameters
aValThe value to be compared.

(generated from Symbian Developer Library)

◆ operator<()

TBool TRequestStatus::operator< ( TInt  aVal) const
inline

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

Parameters
aValThe value to be compared.

(generated from Symbian Developer Library)

◆ operator<=()

TBool TRequestStatus::operator<= ( TInt  aVal) const
inline

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

Parameters
aValThe value to be compared.

(generated from Symbian Developer Library)

◆ operator=()

TInt TRequestStatus::operator= ( TInt  aVal)
inline

Assigns the specified completion code to the request status object.

Parameters
aValThe value to be assigned.

(generated from Symbian Developer Library)

◆ operator==()

TBool TRequestStatus::operator== ( TInt  aVal) const
inline

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

Parameters
aValThe value to be compared.

(generated from Symbian Developer Library)

◆ operator>()

TBool TRequestStatus::operator> ( TInt  aVal) const
inline

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

Parameters
aValThe value to be compared.

(generated from Symbian Developer Library)

◆ operator>=()

TBool TRequestStatus::operator>= ( TInt  aVal) const
inline

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

Parameters
aValThe value to be compared.

(generated from Symbian Developer Library)

Friends And Related Symbol Documentation

◆ CActive

friend class CActive
friend

Definition at line 2263 of file e32cmn.h.

◆ CActiveScheduler

friend class CActiveScheduler
friend

Definition at line 2264 of file e32cmn.h.

◆ CServer2

friend class CServer2
friend

Definition at line 2265 of file e32cmn.h.


The documentation for this class was generated from the following files: