| 84 | } |
| 85 | |
| 86 | void Start() { |
| 87 | AIMRT_CHECK_ERROR_THROW( |
| 88 | std::atomic_exchange(&state_, State::kStart) == State::kInit, |
| 89 | "Method can only be called when state is 'Init'."); |
| 90 | } |
| 91 | |
| 92 | void Shutdown() { |
| 93 | if (std::atomic_exchange(&state_, State::kShutdown) == State::kShutdown) |
no outgoing calls
no test coverage detected