10#ifndef RT_TASKS_HELPERS
11#define RT_TASKS_HELPERS
19using namespace RSI::RapidCode::RealTimeTasks;
26#if defined(WIN32) && defined(NDEBUG)
33 parameters.RTTaskDirectory,
37 parameters.Platform = PlatformType::INtime;
52 parameters.RTTaskDirectory,
68 void InitializeRTTaskObjects(std::unique_ptr<RTTaskManager>& manager)
70 std::cout <<
"Running initialization task..." << std::endl;
73 std::unique_ptr<RTTask> task(manager->TaskSubmit(initParams));
74 constexpr int timeoutMs = 5000;
75 task->ExecutionCountAbsoluteWait(1, timeoutMs);
RTTaskCreationParameters specifies all the information required to create and configure a real-time t...
static constexpr int32_t RepeatNone
Special value to indicate the task should not repeat.
RTTaskManagerCreationParameters specifies all the information required to create and configure an RTT...
static constexpr int32_t DirectoryLengthMaximum
Maximum length of the directory path.
static constexpr int32_t NameLengthMaximum
Maximum length of name fields (node name, user label).