Epok Engine

EPOK RUNTIME

epok::active_object_registry

Variable

Variable

Registry bound by the active Level.

Belongs to
epok
Header
object_model.hpp

Declaration

Declaration
ObjectRegistry * active_object_registry

Registry bound by the active Level.

Type
ObjectRegistry *
Storage
Namespace scope

Example

C++ example
#include "object_model.hpp"

auto value = epok::active_object_registry;

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/object_model.hpp:385