When it helps
Use this member when you need direct access to the state represented by its declared type.
EPOK RUNTIME
Variable
---- service quarantine ------------------------------------------------------------ Some services retain the address of a component's storage across asynchronous callbacks.
bool (*audio_source_retained)(const AudioSource *)---- service quarantine ------------------------------------------------------------ Some services retain the address of a component's storage across asynchronous callbacks.
#include "object_model.hpp"
auto callback = epok::audio_source_retained;
// Assign a function with the exact declared signature:
// epok::audio_source_retained = &myCallback;Use this member when you need direct access to the state represented by its declared type.
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/object_model.hpp:249