undoStudio
The IDE of the undoRT ecosystem
Loading...
Searching...
No Matches
undoStudio::core::TaskConfig Struct Reference

Configuration for a single undoTask. More...

#include <ProjectManager.hpp>

Collaboration diagram for undoStudio::core::TaskConfig:
Collaboration graph

Public Attributes

std::string name
 Task name (e.g., "FastTask")
 
std::string plc
 Associated PLC name.
 
int cycle_ms = 1
 Cycle time in milliseconds.
 
int priority = 80
 RT thread priority (1-99)
 
int cpu_affinity = -1
 CPU pin (-1 = any core)
 
std::vector< std::string > programs
 Ordered PROGRAM execution list.
 

Detailed Description

Configuration for a single undoTask.

Each task maps to one undoPLC and carries a list of PROGRAM POUs that are executed in the given order at each cycle.

Member Data Documentation

◆ cpu_affinity

int undoStudio::core::TaskConfig::cpu_affinity = -1

CPU pin (-1 = any core)

◆ cycle_ms

int undoStudio::core::TaskConfig::cycle_ms = 1

Cycle time in milliseconds.

◆ name

std::string undoStudio::core::TaskConfig::name

Task name (e.g., "FastTask")

◆ plc

std::string undoStudio::core::TaskConfig::plc

Associated PLC name.

◆ priority

int undoStudio::core::TaskConfig::priority = 80

RT thread priority (1-99)

◆ programs

std::vector<std::string> undoStudio::core::TaskConfig::programs

Ordered PROGRAM execution list.


The documentation for this struct was generated from the following file: