Location:
smsuact.h
Link against: smsu.lib
class CSmsuActiveBase : public CActive;
Base class for SMS active objects.
CBase
- Base class for all classes to be instantiated on the heap
CActive
- The core class of the active object abstraction
CSmsuActiveBase
- Base 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
,
Extension_()
,
IsActive()
,
IsAdded()
,
Priority()
,
SetActive()
,
SetPriority()
,
TPriority
,
iStatus
Inherited from CBase
:
Delete()
,
operator new()
Capability: | Illegal |
protected: IMPORT_C CSmsuActiveBase(TInt aPriority);
Constructor.
|
Capability: | Illegal |
protected: virtual IMPORT_C 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.
|
Capability: | Illegal |
protected: IMPORT_C void CompleteMyself(TInt aStatus, TBool aSetActive=ETrue);
Signals this object.
|
Capability: | Illegal |
protected: IMPORT_C void TimedSetActive(const TTimeIntervalMicroSeconds32 &aTimeIntervalMicroSeconds32);
Activates the object, and sets it to be completed after a specified time.
|
Capability: | Illegal |
protected: IMPORT_C void ConstructTimeoutL();
Constructs a timer.
This is required before use of TimedSetActive()
.
Capability: | Illegal |
protected: IMPORT_C void Queue(TRequestStatus &aStatus);
Sets an asynchronous observer to which to report completion of this object.
|
Capability: | Illegal |
protected: virtual IMPORT_C TInt RunError(TInt aError);
Calls complete.
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()
.
|
Capability: | Illegal |
protected: virtual IMPORT_C 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.