Home | History | Annotate | Download | only in commands

Lines Matching refs:Command

28   for (const auto& command : map_)
29 callback.Run(command.second.get());
44 for (const auto& command : map_) {
45 if (command.second->GetState() == Command::State::kQueued &&
46 command.second->GetName() == command_name &&
47 command.second->GetComponent() == component_path) {
48 callback.Run(command.second);
59 for (const auto& command : map_) {
60 std::string key = GetCommandHandlerKey(command.second->GetComponent(),
61 command.second->GetName());
62 if (command.second->GetState() == Command::State::kQueued &&
64 callback.Run(command.second);
75 LOG_IF(FATAL, id.empty()) << "Command has no ID";
78 LOG_IF(FATAL, !pair.second) << "Command with ID '" << id
100 // The queue was empty, this is the first command to be removed, schedule