Epok Engine

EPOK RUNTIME

epok::bp::playback_observer

Variable

Variable

One runtime-owned observation pass over existing behaviour frames.

Belongs to
epok::bp
Header
playback_types.hpp

Declaration

Declaration
void (*playback_observer)()

One runtime-owned observation pass over existing behaviour frames.

Type
void (*)()
Storage
Namespace scope

Example

C++ example
#include "playback_types.hpp"

auto callback = epok::bp::playback_observer;

// Assign a function with the exact declared signature:
// epok::bp::playback_observer = &myCallback;

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/playback_types.hpp:19