adapnex::core::Application::CreateFreewheelingTaskGroup

Creates a freewheeling task group. The returned task group has no cyclic execution interval. Tasks are called repeatedly as quickly as possible. Freewheeling task groups are suitable for background tasks or for handling blocking operations outside the main control logic.

Synopsis

Declared in <adapnex/core/application.h>

static
std::shared_ptr<TaskGroup>
CreateFreewheelingTaskGroup(unsigned int priority);

Description

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

Return Value

Returns a shared pointer to the task group instance.

Parameters

Name Description

priority

The task group priority.

Created with MrDocs