Epok Engine

EPOK RUNTIME

epok::timeline::Event::invoke

Field

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Field

Exposes `invoke` on `epok::timeline::Event` for fixed-step simulation time and frame timing.

Belongs to
epok::timeline::Event
Header
timeline_runtime.hpp

Declaration

Declaration
bool (*invoke)(BoundTarget, const BoundTarget *, const Argument *)

Exposes `invoke` on `epok::timeline::Event` for fixed-step simulation time and frame timing.

Type
bool (*)(BoundTarget, const BoundTarget *, const Argument *)
Storage
Per instance

Example sketch

C++ example
#include "timeline_runtime.hpp"
epok::timeline::Event& object = /* obtain a valid instance */;

auto callback = object.invoke;

// Assign a function with the exact declared signature:
// object.invoke = &myCallback;

Trade-offs and warnings

Consult the linked header for the meaning, lifetime and permitted use of this declaration.

Declared in runtime/timeline_runtime.hpp:58