RCseSchedulerService Class Reference

class RCseSchedulerService : public RCseSchedulerServiceBase

General client api that manages service functionality.

CseSchedulerClient.lib

Inherits from

Public Member Functions
RCseSchedulerService()
~RCseSchedulerService()
voidAddScheduleL(CCseScheduledProgram &)
voidGetOverlappingSchedulesL(CCseScheduledProgram &, RPointerArray< CCseScheduledProgram > &)
voidGetScheduleL(const TUint32, CCseScheduledProgram *)
voidGetSchedulesByPluginUidL(const TInt32, RPointerArray< CCseScheduledProgram > &)
voidGetSchedulesByTimeL(const TTime &, const TTime &, RPointerArray< CCseScheduledProgram > &)
voidGetSchedulesByTypeL(const TInt32, RPointerArray< CCseScheduledProgram > &)
voidGetSchedulesL(const TInt32, RPointerArray< CCseScheduledProgram > &)
voidRemoveScheduleL(const TUint32)
Inherited Functions
RCseSchedulerServiceBase::Close()
RCseSchedulerServiceBase::Open(RCseSchedulerClient &)
RCseSchedulerServiceBase::PanicClient(TInt)const
RCseSchedulerServiceBase::RCseSchedulerServiceBase()
RCseSchedulerServiceBase::SessionHandle()const
RCseSchedulerServiceBase::~RCseSchedulerServiceBase()
RSubSessionBase::CloseSubSession(TInt)
RSubSessionBase::CreateAutoCloseSubSession(RSessionBase &,TInt,const TIpcArgs &)
RSubSessionBase::CreateSubSession(const RSessionBase &,TInt)
RSubSessionBase::CreateSubSession(const RSessionBase &,TInt,const TIpcArgs &)
RSubSessionBase::RSubSessionBase()
RSubSessionBase::Send(TInt)const
RSubSessionBase::Send(TInt,const TIpcArgs &)const
RSubSessionBase::SendReceive(TInt)const
RSubSessionBase::SendReceive(TInt,TRequestStatus &)const
RSubSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSubSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSubSessionBase::Session()const
RSubSessionBase::SubSessionHandle()const

Constructor & Destructor Documentation

RCseSchedulerService()

RCseSchedulerService()

Constructor.

~RCseSchedulerService()

~RCseSchedulerService()[virtual]

Destructor.

Member Functions Documentation

AddScheduleL(CCseScheduledProgram &)

voidAddScheduleL(CCseScheduledProgram &aData)const

Adds given schedule to Common Scheduling Engine database. After the call is completed, the parameter contains the DB identifier of the schedule.

Parameters

CCseScheduledProgram & aDataSchedule to be added to database.

GetOverlappingSchedulesL(CCseScheduledProgram &, RPointerArray< CCseScheduledProgram > &)

voidGetOverlappingSchedulesL(CCseScheduledProgram &aProgram,
RPointerArray< CCseScheduledProgram > &aResultArray
)

Get overlapping schedule (if any) from the scheduling engine. Uses schedule type, start and end times to find overalapping schedules from the Commone Scheduling Engine database.

Parameters

CCseScheduledProgram & aProgramSchedule to used for finding overlapping schedules.
RPointerArray< CCseScheduledProgram > & aResultArrayOn return, contains array of overlapping schedules, empty if none found.

GetScheduleL(const TUint32, CCseScheduledProgram *)

voidGetScheduleL(const TUint32aDbIdentifier,
CCseScheduledProgram *aProg
)const

Gets schedule from database.

Parameters

const TUint32 aDbIdentifierDatabase identifier of the schedule that is wanted from the database
CCseScheduledProgram * aProgPointer where this scheduled program is get.

GetSchedulesByPluginUidL(const TInt32, RPointerArray< CCseScheduledProgram > &)

voidGetSchedulesByPluginUidL(const TInt32aPluginUid,
RPointerArray< CCseScheduledProgram > &aArray
)const

Get list of scheduled events from the scheduling engine based on given plugin UID.

Parameters

const TInt32 aPluginUidPlugin UID.
RPointerArray< CCseScheduledProgram > & aArrayOn return contains items from the database.

GetSchedulesByTimeL(const TTime &, const TTime &, RPointerArray< CCseScheduledProgram > &)

voidGetSchedulesByTimeL(const TTime &aBegining,
const TTime &aEnd,
RPointerArray< CCseScheduledProgram > &aArray
)const

Get list of scheduled events from the scheduling engine between given timeframe.

Parameters

const TTime & aBegining
const TTime & aEndEnd of the timeframe.
RPointerArray< CCseScheduledProgram > & aArrayOn return contains items from the database.

GetSchedulesByTypeL(const TInt32, RPointerArray< CCseScheduledProgram > &)

voidGetSchedulesByTypeL(const TInt32aType,
RPointerArray< CCseScheduledProgram > &aArray
)const

Get list of scheduled events from the scheduling engine based on given schedule type.

Parameters

const TInt32 aTypeSchedule type.
RPointerArray< CCseScheduledProgram > & aArrayOn return contains items from the database.

GetSchedulesL(const TInt32, RPointerArray< CCseScheduledProgram > &)

voidGetSchedulesL(const TInt32aAppUid,
RPointerArray< CCseScheduledProgram > &aArray
)const

Get list of scheduled events from the scheduling engine based on given UID.

Parameters

const TInt32 aAppUidApplication UID.
RPointerArray< CCseScheduledProgram > & aArrayOn return contains items from the database.

RemoveScheduleL(const TUint32)

voidRemoveScheduleL(const TUint32aDbIdentifier)const

Removes schedule from database.

Parameters

const TUint32 aDbIdentifierDatabase identifier of the schedule to be removed.