|
|
Donner 0.8.0-pre
Embeddable browser-grade SVG2 engine
|
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. | |
| DetachedNodeCollectionDeferral & | operator= (const DetachedNodeCollectionDeferral &other)=delete |
| Copying deferral guards is not allowed. | |
| DetachedNodeCollectionDeferral & | operator= (DetachedNodeCollectionDeferral &&other) noexcept=delete |
| Moving deferral guards by assignment is not needed by callers. | |
| std::uint64_t | epoch () const |
| Epoch assigned to this deferral. | |
Scoped deferral for detached-node collection during snapshot or observer epochs.
|
inlineexplicit |
Start a detached-node collection deferral.
| documentState | Document state whose detached nodes should be retained. |