adapnex::core::Application::CreateCyclicTaskGroup

Creates a new cyclic task group. The task group will be executed cyclically according to the given interval making it suitable for scheduling real‐time control tasks. Use TaskGroup::CreateTask to add tasks to the task group.

Synopses

Declared in <adapnex/core/application.h>

Creates a new cyclic task group. The task group will be executed cyclically according to the given interval making it suitable for scheduling real‐time control tasks. Use TaskGroup::CreateTask to add tasks to the task group.

static
std::shared_ptr<TaskGroup>
CreateCyclicTaskGroup(CyclicTaskGroupConfig const& config);

Creates a new cyclic task group. The task group will be executed cyclically according to the given interval making it suitable for scheduling real‐time control tasks. Use TaskGroup::CreateTask to add tasks to the task group.

[[deprecated("Use CreateCyclicTaskGroup(const CyclicTaskGroupConfig &) instead")]]
static
std::shared_ptr<TaskGroup>
CreateCyclicTaskGroup(
    Duration period,
    unsigned int priority);

Return Value

Returns a shared pointer to the task group instance.

Parameters

Name

Description

config

The scheduling parameters of the task group.

period

The cycle period (time).

priority

The task group priority.

Created with MrDocs