adapnex::core::TaskGroup
TaskGroup provides the interface used to schedule multiple tasks together on the same thread. This allows, for example, drivers to be scheduled together with the tasks reading or writing from their inputs or outputs. This approach allows the driver to synchronise updates with task execution so that the tasks observe a consistent view of the inputs and outputs each cycle.
Synopsis
Declared in <adapnex/core/task_group.h>
class TaskGroup
: public Task
Description
|
TaskGroup objects are not instantiated directly. Instead, use Application::CreateCyclicTaskGroup() or Application::CreateFreewheelingTaskGroup() to instantiate the task group and add it to the scheduler. |
Base Classes
| Name | Description |
|---|---|
Task represents a base class to implement schedulable application components. Tasks are combined via TaskGroup and executed by the scheduler according to the given scheduling parameters. See Application::CreateCyclicTaskGroup() and Application::CreateFreewheelingTaskGroup(). |
Member Functions
Name |
Description |
|
Default constructor |
CreateTask instantiates a task and adds it to the task group for scheduling. |
Protected Member Functions
Name |
Description |
|
Construct from |
|
|
|
|
|
|
|
Friends
| Name | Description |
|---|---|
|
Created with MrDocs