ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation::dgp::portal::detail::portal_create_txn Class Reference

CRTP transaction that tracks the multi-step portal creation. More...

Inheritance diagram for zxfoundation::dgp::portal::detail::portal_create_txn:
[legend]
Collaboration diagram for zxfoundation::dgp::portal::detail::portal_create_txn:
[legend]

Public Member Functions

auto record_ale (u32 alet) noexcept -> void
auto record_ar (zxfoundation::dgp::domain::domain &source) noexcept -> void
auto record_aste (u32 idx) noexcept -> void
auto record_desc (portal_desc &desc) noexcept -> void
auto record_slot (u32 id) noexcept -> void
Public Member Functions inherited from zxfoundation::base::transaction< portal_create_txn >
auto commit () noexcept -> void
 Commit — disarms the automatic rollback on destruction.
auto committed () const noexcept -> bool
 Return true if commit() has been called.
auto mark_rolled_back () noexcept -> void
 Explicitly mark as rolled back (for derived classes that do custom rollback before destruction).
auto operator= (const transaction &)=delete
auto rolled_back () const noexcept -> bool
 Return true if rollback has been executed.

Friends

class zxfoundation::base::transaction< portal_create_txn >

Additional Inherited Members

Protected Member Functions inherited from zxfoundation::base::transaction< portal_create_txn >
 ~transaction () noexcept
 Destructor: fires on_rollback() if commit() was never called.

Detailed Description

CRTP transaction that tracks the multi-step portal creation.


The documentation for this class was generated from the following file:
  • zxfoundation/dgp/portal.zcomponent/core.cxx