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

Method CurrentTaskNum

src/runtime/core/executor/executor_base.h:85–85  ·  view source on GitHub ↗

* @brief Get current number of tasks in the executor * @note * 1. This method will only be called after 'Initialize' and before 'Shutdown'. * 2. Executor should return the number of unexecuted tasks. * 3. This is an optional interface that may return 0 when the executor does not implement it. * * @return size_t */

Source from the content-addressed store, hash-verified

83 * @return size_t
84 */
85 virtual size_t CurrentTaskNum() noexcept { return 0; }
86};
87
88} // namespace aimrt::runtime::core::executor

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected