Deferred and periodic job scheduling primitives.
| Name | Description |
|---|---|
Scheduler | The Scheduler manages and runs tasks that need to be executed at specific times. |
Task | Scheduled task with an attached trigger and scheduler association. |
TaskFactory | The TaskFactory can dynamically instantiate registered sched::Task and sched::Trigger classes from named strings. |
DailyTrigger | Trigger that fires once per day at a configured time, with optional day-of-week exclusions. |
IntervalTrigger | Trigger that fires repeatedly at a fixed time interval. |
OnceOnlyTrigger | Trigger that fires exactly once at the scheduled time and then expires. |
Trigger | Base class for scheduled task triggers that determine when a task should run. |
| Name | Description |
|---|---|
DaysOfTheWeek | Days of the week. |
MonthOfTheYeay | Months of the year. |
enum DaysOfTheWeekDays of the week.
| Value | Description |
|---|---|
Sunday | |
Monday | |
Tuesday | |
Wednesday | |
Thursday | |
Friday | |
Saturday |
enum MonthOfTheYeayMonths of the year.
| Value | Description |
|---|---|
January | |
February | |
March | |
April | |
May | |
June | |
July | |
August | |
September | |
October | |
November | |
December |
| Return | Name | Description |
|---|---|---|
std::vector< sched::Task * > | TaskList | Ordered list of task pointers used by the scheduler. |
std::vector< sched::Task * > TaskList()Ordered list of task pointers used by the scheduler.
| Return | Name | Description |
|---|---|---|
std::unique_ptr< sched::Task > | instantiateTask | Instantiate a registered Task subtype using its default constructor. |
std::unique_ptr< sched::Trigger > | instantiateTrigger | Instantiate a registered Trigger subtype using its default constructor. |
template<typename T> std::unique_ptr< sched::Task > instantiateTask()Instantiate a registered Task subtype using its default constructor.
template<typename T> std::unique_ptr< sched::Trigger > instantiateTrigger()Instantiate a registered Trigger subtype using its default constructor.