| 7 | namespace aimrt::examples::cpp::context::logger_module { |
| 8 | |
| 9 | bool LoggerModule::Initialize(aimrt::CoreRef core) { |
| 10 | ctx_ptr_ = std::make_shared<aimrt::context::Context>(core); |
| 11 | ctx_ptr_->LetMe(); |
| 12 | |
| 13 | // Get executor handle |
| 14 | executor_ = ctx_ptr_->CreateExecutor("work_executor"); |
| 15 | |
| 16 | return true; |
| 17 | } |
| 18 | |
| 19 | bool LoggerModule::Start() { |
| 20 | executor_.Execute([this]() { |
nothing calls this directly
no test coverage detected