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

Finite runner and component policies; one owner services all I/O. More...

#include <application.hpp>

Public Attributes

SchedulerOptions scheduler {}
 Bounded existing scheduler queues and optional diagnostics.
TerminalOptions terminal {}
 Native terminal batch and wait limits.
NativeScreenMode nativeScreen
 Preserve the caller's main screen in native run.
bool nativeMouseReporting {true}
 Manage POSIX mouse reporting in the native run overload.
InputOptions input {}
 POSIX streaming decoder limits.
FrameWriterLimits writer {}
 Output encoding and owned-frame limits.
RenderLimits render {}
 Paint command and full-frame limits.
WidthPolicy widthPolicy {}
 Shared text/canvas/frame width policy.
std::uint32_t framesPerSecond {30}
 Positive cap, at most 1000; no catch-up frames.
std::size_t inputBudget {64}
 Positive maximum decoder/native event pulls per iteration.
std::chrono::milliseconds inputSlice {10}
 Positive future read deadline; never read(now).
std::chrono::milliseconds outputSlice {2000}
 Positive flush budget; Windows timeout can be uncertain.
ApplicationObserver observer {}
 Optional borrowed measurement callback.
std::size_t maxPreparationPasses {3}
 Positive layout/view preparation budget for opt-in scenes per frame.
BackgroundExecutor * backgroundExecutor {}
 Optional borrowed host executor; must outlive session cleanup.
BackgroundOptions background {}
 Default synchronous-session worker limits; used only by opt-in scenes.
NativePointerOptions nativePointer {}
 Advanced AUTO/OFF and declared host-ordering contract; defaults to cell fallback.

Detailed Description

Finite runner and component policies; one owner services all I/O.

Member Data Documentation

◆ nativeScreen

NativeScreenMode portals::ApplicationOptions::nativeScreen
Initial value:
{
@ ALTERNATE_SCREEN
Own an alternate screen and return to the caller's main screen on close.
Definition application.hpp:72

Preserve the caller's main screen in native run.


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