CatapultServer  v0.5.0.1 (Elephant)
catapult::thread::Task Struct Reference

A task that can be dispatched to the scheduler. More...

Collaboration diagram for catapult::thread::Task:

Public Attributes

utils::TimeSpan StartDelay
 Delay until the first execution of the task. More...
 
DelayGenerator NextDelay
 Generates the delay until the next execution of the task. More...
 
TaskCallback Callback
 Callback associated with the task. More...
 
std::string Name
 Friendly name of the task (optional). More...
 

Detailed Description

A task that can be dispatched to the scheduler.

Member Data Documentation

◆ Callback

TaskCallback catapult::thread::Task::Callback

Callback associated with the task.

◆ Name

std::string catapult::thread::Task::Name

Friendly name of the task (optional).

◆ NextDelay

DelayGenerator catapult::thread::Task::NextDelay

Generates the delay until the next execution of the task.

◆ StartDelay

utils::TimeSpan catapult::thread::Task::StartDelay

Delay until the first execution of the task.


The documentation for this struct was generated from the following file: