Epok Engine

EPOK RUNTIME

epok::retained_stats

Variable

Variable

Exposes `retained_stats` on the `epok` namespace for the retained module.

Belongs to
epok
Header
retained.hpp

Declaration

Declaration
RetainedStats retained_stats

Exposes `retained_stats` on the `epok` namespace for the retained module.

Type
RetainedStats
Storage
Namespace scope

Example

C++ example
#include "retained.hpp"

auto value = epok::retained_stats;

When it helps

Use this member when you need direct access to the state represented by its declared type.

Trade-offs and warnings

Direct field access has no validation step. Keep the owning object alive, respect units and ranges, and do not mutate state while hardware or another subsystem is consuming it.

Declared in runtime/retained.hpp:44