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.

Synopsis

Declared in <adapnex/core/application.h>

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

Description

This method must only be called during the setup phase of the application.

Unless a watchdog handler is set, the execution watchdog terminates the application immediately when it trips. Task teardown does not run, so outputs are left at the values last written by the drivers.

Return Value

Returns a shared pointer to the task group instance.

Parameters

Name

Description

config

The scheduling parameters of the task group.

Created with MrDocs