1#include <pqxx/internal/callgate.hxx>
3#include "pqxx/transaction_base.hxx"
5namespace pqxx::internal::gate
7class PQXX_PRIVATE transaction_transaction_focus : callgate<transaction_base>
11 transaction_transaction_focus(reference x) : super(x) {}
13 void register_focus(transaction_focus *focus)
15 home().register_focus(focus);
17 void unregister_focus(transaction_focus *focus)
noexcept
19 home().unregister_focus(focus);
21 void register_pending_error(zview error)
23 home().register_pending_error(error);
25 void register_pending_error(std::string &&error)
27 home().register_pending_error(std::move(error));
Base class for things that monopolise a transaction's attention.
Definition transaction_focus.hxx:29