|
|
|
Location:
smsuact.h
Link against: smsu.lib
class CSmsuActiveBase : public CActive
Supported from 7.0
Bae class for SMS active objects.
|
Defined in CSmsuActiveBase:
CSmsuActiveBase(), Complete(), CompleteMyself(), ConstructTimeoutL(), DoComplete(), DoRunL(), Queue(), RunError(), RunL(), TimedSetActive(), iReport, iSmsuTimeout, ~CSmsuActiveBase()
Inherited from CActive:
Cancel(),
Deque(),
DoCancel(),
EPriorityHigh,
EPriorityIdle,
EPriorityLow,
EPriorityStandard,
EPriorityUserInput,
IsActive(),
IsAdded(),
Priority(),
SetActive(),
SetPriority(),
TPriority,
iActive,
iLink,
iStatus
Inherited from CBase:
operator new()
protected: CSmsuActiveBase(TInt aPriority);
Constructor.
|
protected: virtual void Complete(TInt aStatus);
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.
|
protected: void CompleteMyself(TInt aStatus, TBool aSetActive=ETrue);
Signals this object.
|
protected: void TimedSetActive(const TTimeIntervalMicroSeconds32& aTimeIntervalMicroSeconds32);
Activates the object, and sets it to be completed after a specified time.
|
protected: void ConstructTimeoutL();
Constructs a timer.
This is required before use of TimedSetActive().
protected: void Queue(TRequestStatus& aStatus);
Sets an asynchronous observer to which to report completion of this object.
|
protected: TInt RunError(TInt aError);
Handles leaves occurring in the RunL() function.
It calls Complete().
|
|
protected: virtual void DoRunL()=0;
Implements derived-class specified RunL() behaviour.
This is called from RunL().
protected: inline virtual void DoComplete(TInt&);
Implements derived-class specified Complete() behaviour.
This is called from Complete().
|
protected: void RunL();
Handles the object’s request completion event.
If a timer has been set with TimedSetActive(), this is cancelled. DoRunL() is then called. If, after this, the object is not active, Complete() is called.