Donner 0.8.0-pre
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
NodeLifetimeComponent.h File Reference
#include <atomic>
#include <cstdint>
#include <memory>
#include "donner/base/EcsRegistry.h"
Include dependency graph for NodeLifetimeComponent.h:

Classes

struct  donner::svg::components::NodeExternalRefState
 Shared control block retained by public SVG DOM element wrappers. More...
struct  donner::svg::components::NodeLifetimeComponent
 Tracks whether an SVG DOM node is attached to the document tree or currently detached. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
namespace  donner::svg
 Donner SVG library, which can load, manipulate and render SVG files.
namespace  donner::svg::components
 Contains the implementation of the Donner ECS,.

Functions

bool donner::svg::components::IsEntityAttachedToDocument (const Registry &registry, Entity entity)
 Returns true when an entity is currently part of the live document tree.

Class Documentation

◆ donner::svg::components::NodeExternalRefState

struct donner::svg::components::NodeExternalRefState

Shared control block retained by public SVG DOM element wrappers.

Collaboration diagram for donner::svg::components::NodeExternalRefState:
[legend]
Class Members
atomic< bool > isDetached = true Fast release-path hint for collection.