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

Method Start

src/examples/cpp/parameter/module/parameter_module/parameter_module.cc:34–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34bool ParameterModule::Start() {
35 try {
36 work_executor_.Execute(std::bind(&ParameterModule::SetParameterLoop, this));
37 work_executor_.Execute(std::bind(&ParameterModule::GetParameterLoop, this));
38 } catch (const std::exception& e) {
39 AIMRT_ERROR("Start failed, {}", e.what());
40 return false;
41 }
42
43 AIMRT_INFO("Start succeeded.");
44 return true;
45}
46
47void ParameterModule::Shutdown() {
48 try {

Callers

nothing calls this directly

Calls 2

whatMethod · 0.80
ExecuteMethod · 0.45

Tested by

no test coverage detected