#include <smsuact.h>
Link against: smsu.lib
class CSmsuActiveBase : public CActive, public CActive |
Protected Attributes | |
---|---|
TRequestStatus * | iReport |
CSmsuTimeout * | iSmsuTimeout |
Public Member Functions | |
---|---|
~CSmsuActiveBase() |
Protected Member Functions | |
---|---|
CSmsuActiveBase(TInt) | |
virtual IMPORT_C void | Complete(TInt) |
IMPORT_C void | CompleteMyself(TInt, TBool) |
IMPORT_C void | CompleteMyselfAfterTimeout(TInt) |
IMPORT_C void | ConstructTimeoutL() |
virtual void | DoComplete(TInt &) |
pure virtual void | DoRunL() |
IMPORT_C void | Queue(TRequestStatus &) |
virtual IMPORT_C TInt | RunError(TInt) |
virtual IMPORT_C void | RunL() |
IMPORT_C TBool | TimedOut() |
IMPORT_C void | TimedSetActive(const TTimeIntervalMicroSeconds32 &) |
IMPORT_C void | TimedSetActiveCancel() |
Inherited Attributes | |
---|---|
CActive::iStatus |
Inherited Enumerations | |
---|---|
CActive:TPriority |
Base class for SMS active objects.
IMPORT_C | CSmsuActiveBase | ( | TInt | aPriority | ) | [protected] |
Constructor.
Parameters | |
---|---|
aPriority | Active object priority |
Capability | |
---|---|
None |
IMPORT_C void | Complete | ( | TInt | aStatus | ) | [protected, virtual] |
Object use complete.
This is called at the end of the RunL(), if the RunL() has not reset the object to be active.
If an observer has been set (see Queue()), DoComplete() is called, and that observer is signalled with the object status.
Parameters | |
---|---|
aStatus | Active object status word |
Capability | |
---|---|
None |
IMPORT_C void | CompleteMyselfAfterTimeout | ( | TInt | aStatus | ) | [protected] |
This function is used to request that the active object is completed after the current timeout is handled. When a timeout occurs, the active object is cancelled which requires DoCancel() to be called. However the object is active until after the DoCancel() meaning it is not possible to make a new request. This function requests a second call to Complete() (via RunL etc.) which is done without the object being active.
This function can only be called when a timeout occurs, otherwise it would not get actioned.
Parameters | |
---|---|
aStatus | Status code with which to signal the object |
Capability | |
---|---|
None |
IMPORT_C void | ConstructTimeoutL | ( | ) | [protected] |
Constructs a timer.
Capability | |
---|---|
None |
void | DoComplete | ( | TInt & | ) | [protected, inline, virtual] |
IMPORT_C void | Queue | ( | TRequestStatus & | aStatus | ) | [protected] |
Sets an asynchronous observer to which to report completion of this object.
Parameters | |
---|---|
aStatus | Asynchronous status word of the observer |
Capability | |
---|---|
None |
Reimplemented from CActive::RunError(TInt)
Parameters | |
---|---|
aError | RunL() leave code |
Capability | |
---|---|
None |
IMPORT_C void | RunL | ( | ) | [protected, virtual] |
Reimplemented from CActive::RunL()
Handles the object's request completion event.
Capability | |
---|---|
None |
IMPORT_C void | TimedSetActive | ( | const TTimeIntervalMicroSeconds32 & | aTimeIntervalMicroSeconds32 | ) | [protected] |
Activates the object, and sets it to be completed after a specified time.
Parameters | |
---|---|
aTimeIntervalMicroSeconds32 | Time after which to complete the object |
Capability | |
---|---|
None |