#include <mw/cbioasyncwaiter.h>
class CBioAsyncWaiter : public CActive |
Public Member Functions | |
---|---|
~CBioAsyncWaiter() | |
IMPORT_C CBioAsyncWaiter * | NewLC() |
IMPORT_C TInt | Result() |
IMPORT_C void | StartAndWait() |
Inherited Attributes | |
---|---|
CActive::iStatus |
Inherited Enumerations | |
---|---|
CActive:TPriority |
Utility class for waiting for asychronous requests.
This class allows asynchronous requests to be made from synchronous objects. This object is used by passing its iStatus to an asynchronous request and then calling Start(). The result of the request can be obtained by calling the Result() method.
IMPORT_C CBioAsyncWaiter * | NewLC | ( | ) | [static] |
Standard 2-phase contruction.
Allocates and initialises the object.
Returns: A pointer to the created object.
IMPORT_C TInt | Result | ( | ) | const |
Obtains the result of the asynchronous request.
Returns the error code of the last asynchronous request that was made.
Returns: KErrNone is request was successful, otherwise the error code that the request completed with.