|
||
class CScheduledTask : public CBase;
The representation of a scheduled task that is passed to registered programs.
When tasks are due, the Task Scheduler encapsulates task information within CScheduledTask objects, and externalises them to a direct file store.
The root stream of the direct file store contains a 32 bit value, followed by the external representations of one or more CScheduledTask objects. The 32 bit value is interpreted as a TInt32 and contains the number of CScheduledTask objects that follow in the stream.
The registered program can create successive CScheduledTask objects from this stream using the static CScheduledTask::NewLC(RReadStream &)
function.
CBase
-
Base class for all classes to be instantiated on the heap.
CScheduledTask
- The representation of a scheduled task that is passed to registered programs.
Defined in CScheduledTask
:
Data()const
Gets a reference to the data to be passed to the program on execution.Info()const
Gets the detailed information for the task.NewLC(RReadStream &)
Creates the object from the specified stream.ScheduleType()const
Gets the schedules type. SecurityInfo()const
Gets the security information for this scheduled task. This information is the s...ValidUntil()const
Gets the time when the task stops being valid.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...TScheduledTaskFile
Class used by registered programs to access the scheduled task file store.IMPORT_C static CScheduledTask* NewLC(RReadStream &aStream);
Creates the object from the specified stream.
|
|
IMPORT_C const TTaskInfo& Info() const;
Gets the detailed information for the task.
|
IMPORT_C const HBufC& Data() const;
Gets a reference to the data to be passed to the program on execution.
|
IMPORT_C const TTsTime& ValidUntil() const;
Gets the time when the task stops being valid.
If the executing program determines that this time is in the past, then it should not run the task.
|
IMPORT_C TScheduleType ScheduleType() const;
Gets the schedules type.
|
IMPORT_C const TSecurityInfo& SecurityInfo() const;
Gets the security information for this scheduled task. This information is the securityID, VenforID and capabilities of the client who created the schedule responsible for invoking this task.
|