Donner 0.8.0-pre
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::svg::DetachedNodeCollectionDeferral Class Reference

Scoped deferral for detached-node collection during snapshot or observer epochs. More...

#include "donner/svg/DocumentState.h"

Public Member Functions

 DetachedNodeCollectionDeferral (DocumentState &documentState)
 Start a detached-node collection deferral.
 DetachedNodeCollectionDeferral (const DetachedNodeCollectionDeferral &other)=delete
 Copying deferral guards is not allowed.
 DetachedNodeCollectionDeferral (DetachedNodeCollectionDeferral &&other) noexcept
 Moving deferral guards transfers the held deferral.
 ~DetachedNodeCollectionDeferral ()
 Destructor, ending the deferral if this guard still owns it.
DetachedNodeCollectionDeferraloperator= (const DetachedNodeCollectionDeferral &other)=delete
 Copying deferral guards is not allowed.
DetachedNodeCollectionDeferraloperator= (DetachedNodeCollectionDeferral &&other) noexcept=delete
 Moving deferral guards by assignment is not needed by callers.
std::uint64_t epoch () const
 Epoch assigned to this deferral.

Detailed Description

Scoped deferral for detached-node collection during snapshot or observer epochs.

Constructor & Destructor Documentation

◆ DetachedNodeCollectionDeferral()

donner::svg::DetachedNodeCollectionDeferral::DetachedNodeCollectionDeferral ( DocumentState & documentState)
inlineexplicit

Start a detached-node collection deferral.

Parameters
documentStateDocument state whose detached nodes should be retained.

The documentation for this class was generated from the following file: