20 std::vector<ExecutionCommand> commands;
27 : context{other.context}
28 , commands(std::move(other.commands))
34 commands = std::move(other.commands);
37 void reserve(std::size_t sz)
noexcept { commands.reserve(sz); }
38 bool empty()
const noexcept {
return commands.empty(); }
40 void push_back(T&& t)
noexcept
42 commands.push_back(std::move(t));
48 [t = std::move(*
this)]()
mutable { t.run_all_in_exec(); });
51 void run_all_in_exec()
53 for(
auto& cmd : commands)
Definition ExecutionContext.hpp:76
ExecutionCommandQueue & executionQueue
Definition ExecutionContext.hpp:91