| 64 | } |
| 65 | |
| 66 | void LaunchWorker::ForEachCommand(std::function<bool (std::shared_ptr<HwCommand>)> func) |
| 67 | { |
| 68 | std::unique_lock<MutexLock> lock(*mtx_); |
| 69 | for (auto hw_cmd : cmd_log_) { |
| 70 | if (!func(hw_cmd)) break; |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | void LaunchWorker::SyncAll() |
| 75 | { |
nothing calls this directly
no outgoing calls
no test coverage detected