CatapultServer
v0.5.0.1 (Elephant)
|
Tasks configuration settings. More...
Classes | |
struct | TaskConfiguration |
Task configuration that is a union of all supported task configurations. More... | |
Public Types | |
enum | TaskType { TaskType::Uniform, TaskType::Decelerating } |
Supported task types. More... | |
Static Public Member Functions | |
static TasksConfiguration | Uninitialized () |
Creates an uninitialized tasks configuration. More... | |
static TasksConfiguration | LoadFromBag (const utils::ConfigurationBag &bag) |
Loads a tasks configuration from bag. More... | |
static TasksConfiguration | LoadFromPath (const boost::filesystem::path &resourcesPath) |
Loads a tasks configuration from resourcesPath. More... | |
Public Attributes | |
std::unordered_map< std::string, TaskConfiguration > | Tasks |
A map of task names to task configurations. More... | |
Private Member Functions | |
TasksConfiguration ()=default | |
Tasks configuration settings.
|
strong |
|
privatedefault |
|
static |
Loads a tasks configuration from bag.
|
static |
Loads a tasks configuration from resourcesPath.
|
static |
Creates an uninitialized tasks configuration.
std::unordered_map<std::string, TaskConfiguration> catapult::sync::TasksConfiguration::Tasks |
A map of task names to task configurations.