22 std::vector<ExecutionCommand> commands;
29 : context{other.context}
30 , commands(std::move(other.commands))
36 commands = std::move(other.commands);
39 void reserve(std::size_t sz)
noexcept { commands.reserve(sz); }
40 bool empty()
const noexcept {
return commands.empty(); }
42 void push_back(T&& t)
noexcept
44 commands.push_back(std::move(t));
50 [t = std::move(*
this)]()
mutable { t.run_all_in_exec(); });
53 void run_all_in_exec()
55 for(
auto& cmd : commands)
Definition ExecutionContext.hpp:76
ExecutionCommandQueue & executionQueue
Definition ExecutionContext.hpp:122