MCPcopy Create free account
hub / github.com/AimRT/AimRT / ExecuteTask

Method ExecuteTask

src/interface/aimrt_module_cpp_interface/executor/timer.h:72–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 }
71
72 void ExecuteTask() override {
73 if constexpr (std::is_invocable_v<TaskType>) {
74 task_();
75 } else {
76 task_(*this);
77 }
78 }
79
80 [[nodiscard]] const TaskType& Task() const { return task_; }
81

Callers 1

ExecuteLoopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected