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

Method GetState

src/runtime/core/executor/guard_thread_executor.h:58–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 size_t CurrentTaskNum() noexcept { return queue_task_num_.load(); }
57
58 State GetState() const { return state_.load(); }
59
60 void SetLogger(const std::shared_ptr<aimrt::common::util::LoggerWrapper>& logger_ptr) { logger_ptr_ = logger_ptr; }
61 const aimrt::common::util::LoggerWrapper& GetLogger() const { return *logger_ptr_; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected