Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ManagedOptions Struct Reference

Finite managed bookkeeping budgets, independent of the existing tree/queue limits. More...

#include <managed.hpp>

Public Attributes

std::size_t maxNodes {4096}
 Maximum retained entries, including removals pending next preparation.
std::size_t maxStates
 Maximum scene-owned properties; retired row scopes and private text adapters release their slots.
std::size_t maxModels {64}
 Maximum scene-owned models; retired row scopes release their slots.
ManagedDiagnosticOptions diagnostics {}
 Positive limits for error history and owning causal traces.
std::size_t maxKeyHandlers {64}
 Positive maximum owning onKey registrations; onInput resets the count.
std::size_t maxClickHandlers {256}
 Positive maximum retained pipe click callbacks across the scene.
std::size_t maxClickHandlersPerNode {64}
 Positive maximum pipe click callbacks for one button.
SchedulerTime keySequenceTimeout {1000}
 Positive inactivity timeout between sequence strokes, in milliseconds.
std::size_t maxLayoutHandlers {256}
 Positive maximum scene-owned geometry observers; scheduler limits apply too.
std::size_t maxLayoutPublicationRetries
 Positive queue-full attempt cap before one typed rejection and cancellation.
std::size_t maxObservers {256}
 Positive scene-owned state observer limit.
std::size_t maxObserversPerNode {64}
 Positive state observer limit per receiving node.
std::size_t maxObserverRecoveryPasses {16}
 Positive dirty-prepare convergence bound.
std::size_t maxMessageRequests {32}
 Positive cap including reservations and retired undelivered requests.
std::size_t maxKeyLabelBytes {512}
 Positive input and resolved label byte cap.
std::size_t maxKeyDescriptionBytes {2048}
 Positive input and resolved description byte cap.
std::size_t maxKeyProjectionBytes {1048576}
 Positive aggregate logical projection payload budget.
KeyCapabilities keyCapabilities {}
 Explicit native phase knowledge; UNKNOWN remains routable.
std::size_t maxEditingHandlers {256}
 Positive maximum retained callbacks across both editor event kinds.
std::size_t maxEditingHandlersPerNode {64}
 Positive combined callback maximum for one editor.
std::size_t maxChangeHandlers {256}
 Positive maximum retained checkbox change callbacks.
std::size_t maxChangeHandlersPerNode {64}
 Positive maximum change callbacks for one checkbox.

Detailed Description

Finite managed bookkeeping budgets, independent of the existing tree/queue limits.

Member Data Documentation

◆ maxLayoutPublicationRetries

std::size_t portals::ManagedOptions::maxLayoutPublicationRetries
Initial value:
{
3}

Positive queue-full attempt cap before one typed rejection and cancellation.

◆ maxStates

std::size_t portals::ManagedOptions::maxStates
Initial value:
{
256}

Maximum scene-owned properties; retired row scopes and private text adapters release their slots.


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