![]() |
fpmas 1.6
|
#include <scheduler.h>
api::scheduler::Scheduler implementation.
|
overridevirtual |
Schedule a Job to be executed at the given Date.
date | date when the job must be executed |
job | job to execute |
Implements fpmas::api::scheduler::Scheduler.
|
overridevirtual |
Schedule a Job to be executed at the given Period, starting from the given Date.
In other terms, the job will be executed at date
, date+period
and date+n*period
for any integer n
.
date | date when the job must be executed at first |
period | period at which the job must be executed |
job | job to execute |
Implements fpmas::api::scheduler::Scheduler.
|
overridevirtual |
Schedules a Job to be executed at the given Period, starting from the given Date, until the end Date.
In other terms, the job will be executed at date
, date+period
and date+n*period
for any integer n
such that date+n*period < end
.
date | date when the job must be executed at first |
end | date until when the job must be executed |
period | period at which the job must be executed |
job | job to execute |
Implements fpmas::api::scheduler::Scheduler.
|
overridevirtual |
Schedules a Job list to be executed sequentially at the given Date.
date | date when the job must be executed |
job | job to execute |
Implements fpmas::api::scheduler::Scheduler.
|
overridevirtual |
Schedules a Job list to be executed sequentially at the given Period, starting from the given Date.
In other terms, the job will be executed at date
, date+period
and date+n*period
for any integer n
.
date | date when the job must be executed at first |
period | period at which the job must be executed |
job | job to execute |
Implements fpmas::api::scheduler::Scheduler.
|
overridevirtual |
Schedules a Job list to be executed sequentially at the given Period, starting from the given Date, until the end Date.
In other terms, the job will be executed at date
, date+period
and date+n*period
for any integer n
such that date+n*period < end
.
date | date when the job must be executed at first |
end | date until when the job must be executed |
period | period at which the job must be executed |
job | job to execute |
Implements fpmas::api::scheduler::Scheduler.
|
overridevirtual |
Builds an Epoch that correspond to the specified date.
All jobs currently scheduled at the specified time step, according to the rules of the schedule() functions, will be submitted to the given epoch. Jobs are ordered by Date within the built epoch. If jobs are submitted with the same Date, the execution order is undefined.
step | time step to build |
epoch | output epoch |
Implements fpmas::api::scheduler::Scheduler.