Epok Engine

EPOK RUNTIME

epok::memory_card

Variable

Variable

Exposes `memory_card` on the `epok` namespace for asynchronous Memory Card access and files.

Belongs to
epok
Header
memory_card.hpp

Declaration

Declaration
MemoryCardService memory_card

Exposes `memory_card` on the `epok` namespace for asynchronous Memory Card access and files.

Type
MemoryCardService
Storage
Namespace scope

Example

C++ example
#include "memory_card.hpp"

auto value = epok::memory_card;

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/memory_card.hpp:161