Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
SubDocumentAdmission.h File Reference
#include <memory>
#include <utility>
#include <vector>
#include "donner/svg/components/DocumentResourceFamilyBudget.h"
#include "donner/svg/components/resources/SubDocumentCache.h"
Include dependency graph for SubDocumentAdmission.h:

Classes

class  donner::svg::components::SubDocumentAdmission
 Internal count admission for retained SVG resource graphs. Resource graphs must be idle/serialized during traversal; the mutex protects metadata only. More...
struct  donner::svg::components::SubDocumentAdmission::Stats
 Family-wide admission observations; entity/payload charges are high-water snapshots. More...
class  donner::svg::components::SubDocumentAdmission::Reservation
 Provisional document slots. Destruction refunds slots but not parse attempts. 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,.

Class Documentation

◆ donner::svg::components::SubDocumentAdmission::Stats

struct donner::svg::components::SubDocumentAdmission::Stats

Family-wide admission observations; entity/payload charges are high-water snapshots.

Class Members
size_t documents = 0 Retained documents, excluding the original root.
size_t entities = 0 Admitted root and descendant entity snapshots.
size_t parseAttempts = 0 Parser calls, including failed calls; never refunded.
size_t payloadBytes = 0 Admitted parsed-payload snapshots.
size_t pending = 0 Document slots reserved before parser callbacks.
size_t rejections = 0 Refused admission operations.